LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Dasha

GET
10 credits

/v1/dasha/ashtottari/current

Ashtottari mahadasha and antardasha running at a given moment (now by default).

Try it in the Playground

What this tells you

The Ashtottari mahadasha and antardasha running at the moment `at` (now when left out), from the same tree as /v1/dasha/ashtottari with the same scheme and antar_start options.

A moment outside the 108 years of the chart's cycle returns 400 invalid_param; the cycle is not repeated. scheme=28 (default) is the Brihat Parashara Hora Shastra count with Abhijit; scheme=27 is also offered.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.lifeastroapi.com/v1/dasha/ashtottari/current?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&time=10%3A30&at=2027-01-15T00%3A00%3A00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
dateyes1990-01-15Birth date (YYYY-MM-DD).
tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
latyes19.076Birth place latitude in decimal degrees.
lonyes72.8777Birth place longitude in decimal degrees.
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.
atno2027-01-15T00:00:00ZUTC moment to find the running dasha for (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now.
schemeno—How the nakshatras of Saturn's group are counted. `28` (default): the Brihat Parashara Hora Shastra count with Abhijit, where Saturn owns four nakshatras of 2.5 years each. `27`: 27 nakshatras, Saturn owns Purva Ashadha, Uttara Ashadha and Shravana and its balance is linear over the 40° arc. The two give the same result unless the birth Moon is between 253°20' and 293°20' sidereal.
antar_startno—Lord of the first sub-period. `maha_lord` (default): the sub-periods start with the lord of the parent period (BPHS ch. 51 v. 2). `next_lord`: they start with the lord after it and end with the parent lord.
langno—Language of names, labels and readings in the response: `en` (default), `hi`, `mr`, `gu`, `bn`, `te`, `ta`, `kn`, `ml`, `pa`. `locale` is accepted as an alias.

Response (200 OK)

The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.

200 response
{
  "birth_date": "1990-01-15",
  "birth_time": "10:30",
  "location": {
    "lat": 19.076,
    "lon": 72.8777,
    "alt": 0
  },
  "tz": "Asia/Kolkata",
  "ayanamsa": "lahiri",
  "ayanamsa_value": 23.71795,
  "system": "ashtottari",
  "options": {
    "scheme": 28,
    "antar_start": "maha_lord"
  },
  "at_jd": 2461420.5,
  "at_local": "2027-01-15 05:30:00",
  "maha": {
    "lord": "Saturn",
    "lord_id": "saturn",
    "start_jd": 2459759.89866,
    "end_jd": 2463412.39866,
    "start_local": "2022-06-29 15:04:04",
    "end_local": "2032-06-29 03:04:04"
  },
  "antar": {
    "lord": "Venus",
    "lord_id": "venus",
    "start_jd": 2461146.49588,
    "end_jd": 2461856.70421,
    "start_local": "2026-04-16 05:24:04",
    "end_local": "2028-03-26 10:24:04"
  },
  "source": "Brihat Parashara Hora Shastra ch. 46 v. 17-23 (lords, years, nakshatra groups, balance at birth, conditions of applicability) and ch. 51 v. 1-2 (sub-periods)"
}

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "unknown or revoked API key",
    "request_id": "52a520f261d3db37"
  }
}

402 Payment Required

{
  "error": {
    "code": "daily_cap_exceeded",
    "message": "free-plan daily limit reached — try again tomorrow or upgrade to a paid plan",
    "request_id": "52a520f261d3db37"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded — retry after 12 seconds",
    "request_id": "52a520f261d3db37"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 7,500 welcome credits plus 1,500 free credits a month. Sign up.