AMAstroMool DEVELOPERS
Dashboard

Vedic Astrology API

The astrology engine developers build on

Kundli, 16 divisional charts, dasha, panchang, kundli matching, KP, transits, numerology and full PDF reports in English and Hindi - as clean JSON, computed from the Swiss Ephemeris. The same results astromool.com shows its own users.

118 operations 90 calculators EN + HI reports 0 birth details stored 99.5% SLA
118operations in one OpenAPI document
90calculators, same output as astromool.com
16divisional charts, D1 to D60
0.0000005°degrees: worst planet difference vs the Swiss Ephemeris in our tests
0birth details stored

Live, no sign-up

Try the API right here

Real answers from the real engine. Change the inputs, press Run, and copy the same request in your language.

Runs on the playground's own key: 30 calls an hour for each visitor. What you type is used for that one answer and not kept; only the examples it opens with are cached for the day. For your own app, create a free test key.

POST /v1/vedic/chart

Press Run request to see the real answer.

Answer details appear here: HTTP status, time taken, units and request id.

Everything in one API

What you can build

Browse all 118 operations

Kundli and chart images

Ascendant, the nine grahas with sign, house, nakshatra and pada, the twelve houses; North or South Indian chart images, SVG or PNG.

/v1/vedic/chart/v1/chart/image

All 16 divisional charts

D1 to D60 in one call or one at a time, vargottama grahas and varga strength; ashtakavarga, shadbala, bhava chalit.

/v1/vedic/divisional/v1/vedic/shadbala

Dasha

Vimshottari: the nine mahadashas, the running one and its antardashas; Yogini dasha; readings for each.

/v1/dasha/vimshottari/v1/dasha/yogini

Panchang

Five limbs at sunrise, sun times, Rahu Kaal, Abhijit, choghadiya, hora, ekadashi, sankranti, panchak - DST-correct for any place.

/v1/panchang/v1/panchang/choghadiya

Muhurat and festivals

Vivah, griha pravesh, mundan, namkaran and vehicle dates, a personal muhurat finder; Diwali, Chhath, Karwa Chauth times.

/v1/muhurat/finder/v1/festivals/diwali

Kundli matching

Ashtakoot guna milan (36 points) with every koot, bhakoot and nadi; manglik, nakshatra, love and name matching.

/v1/match/ashtakoot/v1/match/manglik

Dosha and remedies

All nine dosha checks for one unit, or one at a time; gemstone, rudraksha, Lal Kitab and lucky factors.

/v1/dosha/summary/v1/remedies/{name}

Yogas and predictions

Raj, santan, videsh and love-marriage yogas; career, marriage timing and Saturn's effects.

/v1/yogas/raj/v1/predictions/career

KP astrology

Placidus cusps, star, sub and sub-sub lords, house significators, ruling planets, the 249 sub-divisions, KP horary.

/v1/kp/chart/v1/kp/ruling-planets

Transits

Where the grahas are now; gochar over the birth chart, sade sati, retrogrades, combustion, eclipses, tarabala.

/v1/transit/positions/v1/transit/sade-sati

Western astrology

Tropical natal charts with Chiron and four asteroids, seven house systems, aspects; synastry, composite, progressions.

/v1/western/natal/v1/western/synastry

Numerology and names

Mulank, bhagyank, name numbers, Lo Shu grid, personal year; mobile, business and baby-name numbers; baby names by nakshatra.

/v1/numerology/v1/names/baby

Varshphal and Jaimini

Tajik varshphal (annual horoscope), atmakaraka and the Jaimini karakas, birth-time rectification from life events.

/v1/tajik/varshphal/v1/kundli/rectification

PDF reports

The 100+ page reports astromool.com sells, in English, Hindi or both - built in the background, white-label if you like.

/v1/reports/{slug}

90 calculators and batch

Every astromool.com calculator by slug, same answer as the site; up to 20 calls in one /v1/batch request.

/v1/calculators/{slug}/v1/batch

Places and time zones

Birth-place search with IANA time zones, and the UTC offset that was in force at a place on a date and time.

/v1/geo/search/v1/geo/timezone

Developer experience

Made to be a pleasure to integrate

Everything you expect from a modern API platform, and the boring parts done properly.

OpenAPI 3.1, one document

All 118 operations with real example answers; import it into Postman, Insomnia or your code generator.

SDKs for JS, Python, PHP

Retries that honour Retry-After, idempotent report orders, typed errors and webhook checks. Tested against the real answers.

Errors that tell you the fix

RFC 9457 problem answers with a stable code, a detail that says how to fix it and a request_id; every code has an entry on /errors.

Three kinds of keys

am_test_ keys are free and never use units; am_live_ keys run on your server; am_pub_ widget keys work only on your domains.

Keys you can lock down

IP allowlists, domain-locked widget keys, a 24-hour overlap when you rotate; a revoked key stops working within 30 seconds.

Signed webhooks

Report webhooks carry an HMAC-SHA256 signature with a timestamp, tried up to 3 times; the SDKs check it for you.

Limits you can read

X-RateLimit-Limit, -Remaining and -Reset on every keyed answer, X-Units-Remaining for live keys, Retry-After on a 429.

Safe retries

Send an Idempotency-Key with a report order and a retry never orders twice. ETags on reference data answer 304.

Ready for AI agents

An MCP server at /v1/mcp gives AI agents 19 tools - Claude and ChatGPT connect by signing in; llms.txt gives language models a map of the docs.

Ready for AI agents

Your AI assistant can read a kundli

AstroMool runs a Model Context Protocol server. In Claude or ChatGPT, add it as a custom connector and sign in with your AstroMool account - no key to paste. Claude Code, Cursor, VS Code and other MCP clients sign in the same way or send your key. The agent gets 19 tools - birth chart, divisional charts, dasha, panchang, matching, dosha, transits, KP, western, numerology, the 90 calculators and place search. Each tool call is a normal, metered API call with the limits of the key you chose.

Private by design

Birth details are computed in memory and never written to disk. Report inputs wait at most an hour in a queue; a finished PDF is deleted after 7 days.

Secure keys

Only a fingerprint of each key is stored. Live keys are refused when sent from a web page; widget keys work only on your domains.

Measured uptime

A probe calls the API every minute through DNS, Cloudflare and nginx. Every day of the last 90 is on the status page.

Use cases

Built for your product

Pricing

Simple plans, in rupees

Free

₹0 forever
  • 5,000 calls a month
  • 10 requests a minute
  • Summary results
  • Free test keys
Start free

Starter

₹499 / 30 days
  • 50,000 calls a month
  • 60 requests a minute
  • Summary results
  • 10 PDF reports included a month
Choose Starter

Growth

₹1,499 / 30 days
  • 3,00,000 calls a month
  • 200 requests a minute
  • Full calculator text
  • 50 PDF reports included a month
Choose Growth

Pro

₹3,999 / 30 days
  • 15,00,000 calls a month
  • 500 requests a minute
  • Full calculator text
  • 200 PDF reports included a month
  • Priority WhatsApp support
Choose Pro

Business

₹9,999 / 30 days
  • 50,00,000 calls a month
  • 1,500 requests a minute
  • Full calculator text
  • 800 PDF reports included a month
  • A direct line to us
Choose Business

Prepaid for 30 days, or automatic payment every 30 days that you can cancel any time. PDF reports beyond the included ones: ₹15 (AstroMool brand) or ₹35 (your brand); both languages in one PDF ₹25 / ₹55. Test keys are free.

FAQ

Questions developers ask

Is the API free to try?

Yes. Test keys (am_test_) are free and never use units. The playground on this page needs no key at all.

How accurate is it?

Planet positions come from the Swiss Ephemeris; in our test suite the worst planet difference against the reference is 0.0000005°. The 90 calculators give the same result as astromool.com - a regression suite compares both on every deploy. Every answer states its ayanamsa, UTC offset and engine version in meta.

Which ayanamsas and house systems?

The kundli engine uses Lahiri, the mean node and whole-sign houses, like astromool.com. /v1/vedic/planets, /v1/transit/positions and /v1/kp/chart let you choose the ayanamsa (listed at /v1/meta/ayanamsas) and node; KP uses Placidus cusps; western charts offer seven house systems.

Which dates can I use?

Any date from 1200 to 2400 AD (the Swiss Ephemeris data files). Historical time zones are applied for the place, and meta.warnings flags times that did not exist because of a clock change.

Do you store birth details?

No. They are used to compute the answer and are never stored or logged. Usage records hold only the key, endpoint, status, latency and units.

How do I pay?

Prepaid 30-day plans in rupees through Razorpay, or automatic payment every 30 days. Reports beyond your plan's included ones are paid from a wallet you top up.

What languages do reports come in?

English, Hindi, or both in one PDF - with your brand on them if you like (white-label).

Can AI agents use it?

Yes. In Claude or ChatGPT, add https://api.astromool.com/v1/mcp as a custom connector and sign in with your AstroMool account - no key to paste. Claude Code, Cursor, VS Code and other MCP clients can sign in too, or send your key. Each tool call is a normal, metered API call.

What is the uptime commitment?

99.5% a month, measured every minute from outside through DNS, Cloudflare and nginx - see the status page and the SLA.

Start now

Build with AstroMool

Create a free test key in the dashboard and make your first call in a minute.

Private beta: new accounts by invite until the public launch - write to [email protected].