More Than Chat. Build AI Astrology Agents
The only OpenAI-compatible agentic platform for astrology.
40 server-side tools, BYOK model choice, SSE streaming with automatic retry, multi-subject sessions. One API call, full agent loop.
Build an astrology chat widget using the OpenAI SDK. Use base URL https://api.astrology-api.io/api/v3/chat and read the API docs at https://api.astrology-api.io/md/chat-completions for the full request schema. The widget should have: a birth data form (date, time, city), a streaming chat interface with message bubbles, and display tool call events (like 'Calculating natal chart...') as the agent works. Use the astrology namespace for subjects and enabled_tools as documented.
Build Your Complete Astrology Stack
The Chat API orchestrates these endpoints automatically, but you can also use them directly:
- Natal Chart API raw chart calculations behind the chat
- Transit API current planetary influences for prompt context
- Traditional Astrology API Hellenistic depth โ matches the 'traditional' preset
- Timing API electional timing and forecast queries
- Horary API AI horary endpoint โ pairs with the chat agent
- Synastry API relationship and compatibility analysis
- PDF Report API professional multi-page documents
- MCP Astrology Server Claude Desktop integration