LifeAstroAPILifeAstroAPI
New: our raw numbers next to NASA JPL's. Download and check them.

Astrology API for websites, apps and software

Integrate Kundli, Panchang, Western birth charts and Hindu festival calendars into your product. Festival dates are checked against printed panchangs of 14 cities, entry by entry. You get 333 REST endpoints on one key, and your users can read in English, Hindi and 8 other Indian languages.

No card needed · 7,500 welcome credits + 1,500 free every month

Build your first Kundli
GET /v1/panchang/tithi200 OK · server 1 ms
$ curl "https://api.lifeastroapi.com/v1/panchang/tithi?date=2027-01-15&tz=Asia/Kolkata&lat=28.6139&lon=77.209" \
-H "Authorization: Bearer $API_KEY"
 
{
"date": "2027-01-15",
"tz": "Asia/Kolkata",
"name": "Saptami",
"paksha": "Shukla",
"tithi_in_paksha": 7,
"deity": "Surya",
"end_local": "2027-01-15 14:13:59"
}
Festival dates verified for 14 cities333 endpointsHindi + 8 regional languages332-tool open MCP server99.5% uptime SLA on paid plans
333
API endpoints
14
cities verified
10
Languages
332
MCP tools
24 ms
median response
99.5%+
uptime SLA, paid plans

Explore all APIs

Vedic charts, Western charts, written readings, PDF reports, compatibility scores — all from one integration.

Diwali on the right day, wherever your user lives.

Festival dates, vrat lists and the daily panchang for the user's own location and timezone. The same engine powers our free festival calendar, city calendars and monthly panchang.

  • Any city, any timezone

    lat, lon + IANA tz; sunrise, moonrise and tithi computed for that place, DST included.

  • Thousands of locations, free

    /v1/geo/search returns lat, lon and timezone for any town, so you don’t need your own geocoder.

  • Verified against printed panchangs

    4,427 of 4,427 festival entries match the calendars of 14 cities on four continents.

  • The small vrats too

    ~720 observances a year, Ekadashi parana, Pradosh, Sankranti, eclipses; Hindi + 8 regional languages.

Docs: festivals · panchang · geo · TypeScript guide · accuracy

Real output · 2027
Same festival, different local date
verified
FestivalNew DelhiAsia/KolkataDubaiAsia/DubaiLondonEurope/LondonNew YorkAmerica/New_YorkSydneyAustralia/Sydney
HoliMon 22 MarMon 22 MarMon 22 MarMon 22 MarTue 23 Mar
Raksha BandhanTue 17 AugTue 17 AugMon 16 AugMon 16 AugTue 17 Aug
Ganesh ChaturthiSat 4 SepFri 3 SepFri 3 SepFri 3 SepSat 4 Sep
Karwa ChauthMon 18 OctMon 18 OctMon 18 OctMon 18 OctTue 19 Oct
DiwaliFri 29 OctThu 28 OctThu 28 OctThu 28 OctFri 29 Oct
Highlighted dates differ from New Delhi: the tithi falls on a different local day there.GET /v1/geo/search?q=city → GET /v1/festivals/month?lat&lon&tz
Western · natal chart
One call, 23 house systems
GET /v1/western/natal/chart?date=1990-01-15&time=10:30
    &tz=Asia/Kolkata&lat=19.076&lon=72.8777&house_system=placidus

{
  "house_system": "placidus",
  "ascendant": { "sign": "Pisces", "dms_in_sign": "20°06'34\"", "ruler": "Neptune" },
  "mc":        { "sign": "Sagittarius", "dms_in_sign": "22°54'00\"" },
  "planets": [
    { "name": "Sun", "sign": "Capricorn", "dms_in_sign": "24°46'52\"",
      "house": 11, "retrograde": false, "speed": 1.018 },
    …
  ],
  "houses":  [ { "house": 1, "sign": "Pisces", "longitude": 350.11 }, … ],
  "aspects": [ { "planet_a": "Sun", "planet_b": "Moon", "kind": "sextile",
                 "orb_abs": 1.6, "applying": true }, … ]
}

We take Western astrology just as seriously.

Tropical natal charts, synastry and forecasting on the same key and the same credits as the Vedic side: Swiss Ephemeris positions, nothing locked behind a bigger plan.

  • Natal charts in 23 house systems
  • Tropical or sidereal zodiac
  • Aspects, transits, progressions
  • Synastry & composite
  • Hellenistic Lots & midpoints
  • Astrocartography lines
  • Chiron, asteroids, Lilith
  • Solar & lunar returns

One request. Today's panchang.

Copy the request in your language. On the right is what comes back, and how it can look in your app.

GET /v1/panchang/summary
curl https://api.lifeastroapi.com/v1/panchang/summary \
  -H "Authorization: Bearer dv_live_YOUR_KEY" \
  --data-urlencode "date=2026-05-23" \
  --data-urlencode "time=06:30" \
  --data-urlencode "tz=+05:30" \
  --data-urlencode "lat=28.61" \
  --data-urlencode "lon=77.21" -G
Sample response · Delhi · 23 May 2026
Tithi
Shukla Saptami
शुक्ल सप्तमी
Nakshatra
Pushya
पुष्य
Yoga
Siddhi
सिद्धि
Karana
Vanij
वणिज
Sunrise · Sunset
05:24 · 19:08
Rahu Kaal
07:08 – 08:51

Our numbers, right next to NASA's.

We publish the raw JSON our API returned for 28 birth charts and 336 panchang days, next to what NASA JPL Horizons gives for the same moments and places. Every comparison is there, line by line, with the script that produced it. Rerun it with your own key, or offline from the download.

  • 224 / 224 in the same pada

    Grahas and lagna of 28 birth charts in 14 metro cities: same sign, nakshatra and pada as NASA JPL.

  • Lagna within 0.6 s of birth time

    Computed from the sidereal time JPL gives for each birth place, DST and historic offsets included.

  • End-times within 0.8 s

    Every tithi, karana, nakshatra and yoga end-time checked against the JPL Sun and Moon.

  • 1,008 / 1,008 at sunrise

    336 panchang days of 2027: the tithi, nakshatra and yoga at sunrise are the ones JPL gives.

Real output · Mumbai, 1990-01-15 10:30
Our birth chart vs NASA JPL
same pada
GrahaLifeAstroAPINASA JPLDiff.
SunCapricorn1°03′47.95″1°03′47.91″0.04″
MoonLeo20°07′38.24″20°07′38.35″0.11″
MarsScorpio25°59′00.67″25°59′00.63″0.04″
MercurySagittarius17°50′35.67″17°50′35.61″0.06″
JupiterGemini9°40′56.65″9°40′56.60″0.05″
VenusCapricorn7°08′25.73″7°08′25.67″0.06″
SaturnSagittarius23°33′43.79″23°33′43.74″0.05″
LagnaAquarius26°23′30.00″26°23′35.72″5.72″
Sidereal, Lahiri. A pada is 12,000″ wide; 1″ is 1/3600 of a degree.GET /v1/chart/planets · /v1/chart/ascendant

The boring parts, done properly

Right numbers, quick answers, readable text. That is most of the job, so that is where we put the work.

The numbers hold up

Our planet positions are a median 0.05 arc-seconds from NASA JPL's. Sunrise and moonrise land within 10 seconds. Festival dates match the printed panchangs of 14 cities, and we re-run those tests before a release.

It answers quickly

The middle call takes 24 ms on our server. 83% of endpoints have a median under 20 ms, and 81% of all calls finish within 100 ms (last 30 days of production traffic). Paid plans come with a 99.5%+ uptime SLA, 99.9% on Business and above.

Your users read their own language

English, Hindi, Marathi, Gujarati, Bengali, Telugu, Tamil, Kannada, Malayalam and Punjabi. Full readings, each in its own script, at no extra charge.

Built on LifeAstroAPI.

“The API responses are well structured and easy to work with. We built our astrology features without any extra complexity.”
Rohan Mittal, Indore, India
“Very developer-friendly. Adding astrology features was easy, so we could focus on our app instead of the calculations.”
Ankit Jain, Indore, India
“Many astrology features in one API, with clean data and support for many languages. That makes it easy to build for different markets.”
Yogesh Bagdarekar, Kolkata, India
“A practical choice for astrology products. Everything we need is on one platform, which keeps development simple and ready to scale.”
Manish Singhal, Jaipur, India

Don't take our word for it.

We could tell you it's good, but you'd expect us to say that. Give it ten minutes and see for yourself.

Check our maths.

We put our planet positions next to NASA JPL's and published the lot, script included. The median gap is 0.05 arc-seconds. Run it yourself.

See the comparison

Try a date you already know.

Look up last Diwali or the next Ekadashi, then open the panchang you use at home. We did the same with printed panchangs from 14 cities, one festival at a time.

Look up a date

Read it in your language.

Pick Hindi, Tamil, Bengali or any of our 10 languages and read a full paragraph. If you wouldn't show it to your own family, don't show it to your users.

Read a sample

Put your name on it.

Make a kundli PDF on your own server with your logo, your colours and your footer line. Your customer came to you, so the report should look like yours.

Pick an SDK

Pay only for what you use

Start free with 7,500 welcome credits, then 1,500 credits / month. Everything is priced in credits. A basic API call is 10 credits. Top up when you run low, that's all there is to it.

  • No monthly commitment
  • ₹0.012 a credit, however much you use
  • All 333 endpoints on every plan
  • Cancel any time
Estimated monthly billPay-as-you-go
₹362/ month
Credits / month30,171≈ 3,017 basic calls
1K10K100K1M5M

Frequently asked questions

How is the pricing structured?
Everything is billed in one unit: credits. A basic API call costs 10 credits, compute-heavy calls 20–30, and composed reports 30–8,000. Every paid plan is a fixed monthly credit quota at a published price. If you need more in a month, you add wallet credits with a top-up at the pay-as-you-go rate (₹0.012 or $0.0015 a credit). Higher plans include more credits at a lower price per credit. We don't sell an "unlimited" plan with a fair-use limit in the small print. You know the bill before it comes.
How is accuracy guaranteed?
We use the Swiss Ephemeris, and we keep reference charts that the code must reproduce. Planet positions match NASA JPL Horizons to a median 0.05 arc-seconds, sunrise, sunset and moonrise land within 10 seconds, and festival dates match the printed panchangs of 14 cities (lifeastroapi.com/accuracy/).
Do I get all features on every paid plan?
Yes. Every paid plan, even Pro at ₹999, includes all 333 endpoints (full Vedic with Lal Kitab, Numerology, Small Panoti + Western with Hellenistic Lots, Cosmobiology midpoints, astrocartography, asteroids, 23 house systems), 12 composed JSON report endpoints (Brihad Kundli, Match Making, Sade Sati, Dasha Analysis and 8 more), the 332-tool MCP server for Claude Desktop / Cursor / Codex CLI, the full set of readings, all 10 languages, and the 99.5% uptime SLA (99.9% on Business and above). Plans differ only on call volume, rate limit, and support response time. Our open-source SDKs (Node.js, React Native, PHP, Flutter, Python, Java and .NET) turn the same report data into PDFs on your side.
What is the MCP server and do I need to pay extra for it?
The MCP (Model Context Protocol) server is a small Go binary that adds 332 Vedic + Western astrology tools to Claude Desktop, Cursor, Continue.dev, Codex CLI, and any MCP-aware AI assistant. Your AI calls panchang, kundli, dasha, match-making, muhurta, eclipses, synastry, progressions and more directly when you ask in plain words. It runs on your laptop, uses your existing dv_live_… key, and every tool call counts as a normal API call (no MCP surcharge, no extra AI key needed). Free to install from Homebrew, GitHub Releases, or `go install`. Source is open on github.com/ayanshulife/lifeastroapi-mcp (MIT). See /mcp for the full setup guide.
How does the free plan work?
Every new account gets 7,500 welcome credits (valid 30 days, up to 1,000 a day), then 1,500 free credits every month (up to 500 a day). No card is required. The rate limit is 30 requests a minute. All 333 endpoints, including the 12 JSON report endpoints, and the MCP server can be called on the free plan: the welcome credits cover a Lite or a Detailed kundli report, for example. Welcome credits stay usable after a top-up or a plan purchase and are spent first. The free plan is for trying things out. When real users arrive, pick a paid plan.

Make your first call today

You get 7,500 welcome credits, then 1,500 free credits / month. All 333 endpoints, the 12 reports and the MCP server are open to you. If it doesn't suit your app, you've lost ten minutes.

No credit card required · Cancel any time