Log inGet a key

Astrology & calendars

Astrology API

Full Vedic birth-chart computation from birth time and place — graha, bhava, lagna, all 16 varga charts, dasha and ashtakavarga.

/astrofree allowance included
api.apimitra.in /astro
am@mitra ~ %$curl "https://api.apimitra.in/astro?lat=28.61&lon=77.21&year=1990&month=8&day=15&hour=10&min=30"
{
"chart": {
"user": {
"datetime": "1990-08-15 10:30",

"timezone": "+05:30"

},

"lagna": {
"Lg": {
"longitude": 200.42,

"rashi": "Tula"

}

}

},

"vimshottari_dasha": {
"mahadashas": [
{
"mahadasha": "Jupiter",

"lord": "Guru",

"start": "1990-08-15",

"current": true

}

]

}

}

16

varga D-charts

D1 → D60

divisional charts

30 days

response cache

toon

3–5× smaller format

About the API

What this endpoint does.

Astrology products in India usually embed a JavaScript library that does the heavy computation client-side. This endpoint moves it server-side — give it a birth time and place, and it returns the computed chart: planetary longitudes and rashis, house cusps, the ascendant, and every divisional (varga) chart from D1 to D60.

Long-running dashas come next — vimshottari mahadashas with nested antardashas — plus upagrahas and ashtakavarga bindus. Everything is cached for 30 days, so repeat requests cost near nothing.

Who builds on this

Built for the teams shipping real products.

  1. 01

    Astrology apps & sites

    Deliver birth-chart and dasha reports without shipping heavy JS to the user’s phone.

  2. 02

    Panchang & muhurat products

    Compute lagna and panchanga server-side for matchmaking or event features.

  3. 03

    LLM chat experiences

    The compact "toon" format feeds chart data to an AI assistant 3–5× more cheaply than JSON.

Under the hood

What you send. What comes back.

Request

Inputs you send

  • lat + lonrequired

    birth place coordinates (latitude north +).

  • year · month · dayrequired

    birth date components.

  • hour · minrequired

    birth time (0–23, 0–59).

  • needsoptional

    comma-separated modules: graha, bhava, lagna, dasha… Omitted → full.

  • formatoptional

    json (default) or toon.

Response

JSON you get back

  • graha

    per-planet longitude and rashi.

  • bhava

    house cusp longitudes.

  • lagna

    ascendant with nakshatra.

  • varga

    all requested D-charts.

  • vimshottari_dasha

    mahadashas with antardashas and current markers.

  • ashtakavarga

    total bindus plus sarvashtakavarga.

Try it

One call, real data.

Try it in the playground
/astro?lat=28.61&lon=77.21&year=1990&month=8&day=15&hour=10&min=30
am@mitra ~ %$curl "https://api.apimitra.in/astro?lat=28.61&lon=77.21&year=1990&month=8&day=15&hour=10&min=30"
{
"chart": {
"user": {
"datetime": "1990-08-15 10:30",

"timezone": "+05:30"

},

"lagna": {
"Lg": {
"longitude": 200.42,

"rashi": "Tula"

}

}

},

"vimshottari_dasha": {
"mahadashas": [
{
"mahadasha": "Jupiter",

"lord": "Guru",

"start": "1990-08-15",

"current": true

}

]

}

}

Chart sections are trimmed — pass needs=… to request only the modules you render.

Free tier

Ship on this API free, then pay only when your calls outgrow it.

  • A free monthly request allowance on your first key — enough to build and test.
  • The same key works across every endpoint, so you can switch APIs as you grow.
  • When the free requests end, upgrade to paid — your code and endpoints don’t change.

Every endpoint includes a free monthly request allowance — the size differs from API to API. When your free requests run out, you move to a paid plan with the same key. No card needed to start.

Start with Astrology, free.

Create an account and we’ll issue your free API key in minutes — this endpoint included.

© 2026 API Mitra. All rights reserved.

service statusMade in India