Subscribe to support and grow the project.
Natal charts, synastry, transits, moon phases, SVG charts, and AI-ready context via REST. Arcsecond precision, any stack, no Python backend required.
Built on Kerykeion · Trusted by 2,800+ subscribers on RapidAPI
From birth charts to AI-powered interpretations, one API key unlocks every endpoint.
SVG + JSON data for 63 celestial points, 22 house systems, 48 sidereal modes.
Try it →Relationship compatibility, composite midpoint charts, Ciro Discepolo scoring.
Try it →Transit overlay charts + solar/lunar returns with relocation support.
Try it →Current phase, illumination %, phase ranges, and next-phase lookup.
Try it →Structured output ready for GPT/Claude prompts. Unique on the market.
Try it →Ciro Discepolo scoring algorithm for relationship compatibility analysis.
Try it →One POST request to get a natal chart with SVG and full calculation data.
curl -X POST "https://astrologer.p.rapidapi.com/api/v5/birth-chart" \
-H "Content-Type: application/json" \
-H "X-RapidAPI-Key: YOUR_KEY" \
-H "X-RapidAPI-Host: astrologer.p.rapidapi.com" \
-d '{
"subject": {
"year": 1990, "month": 1, "day": 15,
"hour": 14, "minute": 30,
"city": "New York", "nation": "US",
"name": "John Doe"
}
}'Professional-grade astronomical calculations. Accurate to arcseconds for all 63 celestial points.
Python, JavaScript, Go, Rust, Swift, Kotlin — any language that speaks HTTP.
Start building in 2 minutes. No credit card required for the free plan.
Western and Vedic astrology. Placidus, Whole Sign, Koch, Lahiri, and more.
Structured astrological data for Claude, GPT, and any LLM. No parsing needed.
Scalable, accessible, CSS-stylable charts in 10+ languages.
Build Claude/GPT wrappers that reason about natal charts. AI Context XML built-in.
Start Building →Add astrology to iOS/Android via REST. No Python dependency, no infrastructure.
Start Building →Commercial use allowed. Predictable pricing on RapidAPI. No AGPL concerns.
Start Building →Moon phases + transits + planetary positions for automated content generation.
Start Building →| Criteria | Kerykeion Library | Astrologer API |
|---|---|---|
| Language | Python only | Any (HTTP) |
| License | AGPL-3.0 (copyleft) | Commercial-friendly |
| Closed-source use | ⚠️ Restricted | ✓ Allowed |
| Setup | Install + maintain | Zero setup |
| AI Context | Build your own | ✓ Built-in XML |
| Source Code | ✓ Open source | ✓ Open source |
| Cost | Free | Free tier + paid |
Start free, scale as you grow. All plans include every endpoint.
$9/mo
5,000 requests/month
$18/mo
50,000 requests/month
$40/mo
1M requests/month
Two paths: install the skill for agents that support it, or drop a single-line prompt into any other coding agent. Both give the agent everything it needs.
Claude Code, Cursor, Windsurf, Cline, Gemini, Copilot, Goose, OpenCode, Roo.
Via skills.sh:
npx skills add g-battaglia/Astrologer-API
Or direct curl (Claude Code):
curl -fsSL https://raw.githubusercontent.com/g-battaglia/Astrologer-API/main/skills/astrologer-api/SKILL.md \ -o ~/.claude/skills/astrologer-api.mdFull install guide
Lovable, Bolt, v0, Replit Agent, ChatGPT, Gemini — paste this in the chat and the agent fetches the full docs itself.
Use the Astrologer API to build [feature]. Full docs: https://kerykeion.net/astrologer-api/llms-full.txt Fetch that file first, then implement.
Step-by-step tutorials for every integration pattern.
Astrologer API is fully open source. Read the code, audit the calculations, contribute improvements, or fork it. Powered by the Kerykeion Python library — also open source, used in production by apps worldwide.
No lock-in. Transparent math. Community-driven.
FastAPI backend, tests, docs generation.
Core astrology engine. AGPL-3.0.
Planets, houses, aspects — fully auditable.
SVG templates, themes, translations.
Astrologer API is an astrology API — a REST service for astrological calculations including natal charts, synastry, transits, moon phases, SVG chart rendering, and AI-powered interpretations. Built on the Kerykeion library with arcsecond precision.
Yes. This astrology API offers a free tier on RapidAPI for testing and prototyping. Paid plans are available for production use.
Any language that can make HTTP requests — Python, JavaScript/TypeScript, Go, Rust, Swift, Kotlin, Ruby, Java, C#, and more. The API uses standard REST with JSON.
Yes. The Astrologer API is consumed as an external service rather than importing the AGPL library directly, so it can be used in closed-source and commercial applications via RapidAPI.
Kerykeion is a Python library (AGPL-3.0) you install and run locally. The Astrologer API is a hosted astrology API built on Kerykeion — your app consumes it as an external service rather than importing the AGPL library directly. No Python required, no infrastructure to manage, and commercial-friendly licensing.
Astrologer API delivers professional-grade calculations accurate to arcseconds for all 63 celestial points, with 22 house systems and 48 sidereal modes.
Yes. This astrology API provides AI Context XML endpoints that output structured astrological data ready for LLM prompts. Feed the response directly into Claude, GPT, or any LLM.
Yes. This astrology API supports 48 sidereal ayanamsa modes including Lahiri, Fagan-Bradley, Krishnamurti, and a custom USER mode for arbitrary offsets, alongside 22 house systems.
Join developers building astrology apps with the Astrologer API — the astrology API designed for production.
Get Your API Key