LifeAstroAPILifeAstroAPI

Kundli API

A Kundli (Vedic birth chart) API: planet positions, lagna, houses, divisional charts D1–D60, Vimshottari, Yogini, Char and Ashtottari dashas, arudha padas, Upapada and argala, Ashtakavarga, Shadbala, yogas, KP sub-lords and significators, transits and Sade Sati from a birth date, time and place.

Make your first request

GET /v1/chart/planets

curl -H "Authorization: Bearer $LIFEASTRO_API_KEY" \
  "https://api.lifeastroapi.com/v1/chart/planets?date=1990-01-15&time=10:30&tz=Asia/Kolkata&lat=19.076&lon=72.8777"

Sample response excerpt

{
  "date": "1990-01-15",
  "time": "10:30",
  "tz": "Asia/Kolkata",
  "ayanamsa": "lahiri",
  "planets": [
    {
      "id": "sun",
      "name": "Sun",
      "sidereal_lon": 271.063319,
      "sign_index": 9,
      "deg_in_sign": 1.063319,
      "dms_in_sign": "01°03'47\"",
      "house": 12,
      "nakshatra_idx": 20,
      "pada": 2,
      "nak_lord": "Sun",
      "speed": 1.018256,
      "is_retro": false,
      "ecl_lat": -0.000088
    }
  ]
}

Endpoints for your integration

Draw a birth chart

Get the Lagna, planet placements and birth details in one response.

/v1/chart/astro-details

30 credits per call

Show the current dasha

Get the active Vimshottari periods and their dates.

/v1/dasha/vimshottari/current

10 credits per call

Offer a white-label Kundli PDF

Fetch report JSON and render it with your logo and colours in the Node SDK.

/v1/reports/kundli/detailed

4,000 credits per call

Why developers choose it

  • Swiss Ephemeris positions with Lahiri ayanamsa by default and other ayanamsas on request.
  • Divisional charts D1 to D60 and a five-level Vimshottari drill-down.
  • Chart symbols for every planet in every varga: retrograde, combust, vargottama, exalted and debilitated (/v1/chart/divisional/{varga}), the same chart drawn from the Moon, the Sun or the Karakamsha (reference=moon, sun or karakamsha; D9 with karakamsha is the Swamsha chart), and the strength of each planet's aspect in degrees and virupas (planet_aspects in /v1/chart/aspects).
  • Ashtottari dasha (/v1/dasha/ashtottari) with its balance at birth and the classical applicability conditions; it defaults to the Brihat Parashara Hora Shastra count with Abhijit (scheme=28) and offers scheme=27.
  • Arudha padas A1 to A12 with the working, Upapada Lagna with its lord, occupants and aspects, and argala with virodha argala on every house (/v1/chart/arudha-padas, /v1/chart/upapada, /v1/chart/argala).
  • KP (Krishnamurti Paddhati): star, sub and sub-sub lords for every planet and Placidus cusp, house and planet significators, the 4-step chain and ruling planets (/v1/chart/kp-sublord, /v1/chart/kp-house-significator), and KP horary for numbers 1–249 (/v1/prashna/kp-horary).
  • PDF kundli reports and narratives in 10 languages on the same API key.

What you can build

Kundli and horoscope appsAstrologer consultation toolsDasha and transit alertsAnnual Varshaphal reports

65 endpoints in 5 families

Learn more

Frequently asked questions

Which Kundli endpoint should I call first?

Start with /v1/chart/planets for the nine grahas with rāshi, house, nakshatra and pada. Use /v1/chart/ascendant when you also need the Lagna, or /v1/chart/astro-details for a combined birth chart snapshot.

Is there a free tier?

Yes. Every new account gets 7,500 welcome credits (valid 30 days) plus 1,500 free credits a month with no card required. Paid plans start at ₹999 / $29 a month, and pay-as-you-go is available.

Can AI assistants such as Claude or Cursor call it directly?

Yes. The open-source LifeAstro MCP server exposes every endpoint as a tool for Claude Desktop, Cursor, Codex and other MCP clients that run local servers, using your existing API key.

Which ephemeris and ayanamsa does it use?

Planet positions come from the Swiss Ephemeris. Vedic calculations use the Lahiri (Chitrapaksha) ayanamsa by default; other ayanamsas can be selected per request.