Astrologer API Documentation
58 endpoint references with request/response examples.
Quick Start
Base URL:
https://astrologer.p.rapidapi.com/api/v5
Auth: X-RapidAPI-Key: YOUR_KEY
Host:
X-RapidAPI-Host: astrologer.p.rapidapi.com
Endpoint Categories
Data Endpoints
Planetary positions, house cusps, aspects, and compatibility scores as JSON.
Chart Endpoints
Natal, synastry, composite, transit, and return charts as SVG.
Moon Phase Endpoints
Current phase, phase ranges, and next phase lookup.
AI Context Endpoints
Structured XML output ready for LLM prompt injection.
Examples
Code examples in Python and JavaScript for common use cases.
MCP Integration
Model Context Protocol endpoint for AI agent tool use.
For Agentic AI Coders
Using Claude Code, Cursor, or similar? Install the Astrologer API skill — your agent auto-learns endpoints, schemas, and integration patterns.
curl -fsSL https://raw.githubusercontent.com/g-battaglia/Astrologer-API/main/skills/astrologer-api/SKILL.md \ -o ~/.claude/skills/astrologer-api.md
Interactive API Explorer
Try endpoints directly in your browser with Swagger UI or browse with ReDoc.