LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Dasha

GET
10 credits

/v1/dasha/ashtottari

Ashtottari dasha: the 108-year cycle of 8 lords from the Moon's nakshatra, with the balance at birth, the classical applicability conditions and sub-periods to depth 3. scheme=28 (default) is the Brihat Parashara Hora Shastra count with Abhijit; scheme=27 is also offered.

Try it in the Playground

What this tells you

Ashtottari is a 108-year dasha of 8 lords: Sun 6, Moon 15, Mars 8, Mercury 17, Saturn 10, Jupiter 19, Rahu 12 and Venus 21 years; Ketu has no period. It is anchored at the Moon's nakshatra at birth and counted from Ardra. maha_dasha lists the 8 periods (the first starts before birth by the part already elapsed); depth=2 adds antardashas and depth=3 pratyantardashas as sub_periods. balance gives the lord running at birth with the elapsed and remaining years. applicability reports the two classical conditions separately (rahu_condition and paksha_condition), each with met and a one-line explanation. It is information only: the dasha is calculated for every chart.

scheme=28 (default) is the Brihat Parashara Hora Shastra count with Abhijit, where Saturn owns four nakshatras of 2.5 years each; scheme=27 uses 27 nakshatras over the same 40° arc for Saturn. The two give the same result unless the birth Moon is between 253°20' and 293°20' sidereal. antar_start=maha_lord (default, BPHS ch. 51 v. 2) or next_lord sets the first sub-period. A year is 365.25 days, as on the other dasha endpoints.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/dasha/ashtottari?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&time=10%3A30" \
  -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.
depthno—Levels to return: 1 = mahadashas (default), 2 = with antardashas, 3 = with pratyantardashas.
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",
  "total_years": 108,
  "year_days": 365.25,
  "depth": 1,
  "options": {
    "scheme": 28,
    "antar_start": "maha_lord"
  },
  "balance": {
    "lord": "Moon",
    "lord_id": "moon",
    "nakshatra": "Purva Phalguni",
    "nakshatra_years": 5,
    "elapsed_years": 7.54773,
    "balance_years": 7.45227
  },
  "applicability": {
    "rahu_condition": {
      "met": false,
      "explanation": "Rahu is in house 2 from the lagna lord's sign, which is neither a kendra nor a trikona."
    },
    "rahu_in_lagna": false,
    "rahu_house_from_lagna_lord": 2,
    "rahu_relation": "",
    "paksha_condition": {
      "met": true,
      "explanation": "Birth by day in krishna paksha; the condition asks for a day birth in krishna paksha or a night birth in shukla paksha."
    },
    "paksha": "krishna",
    "day_birth": true,
    "note": "Information only: the two conditions come from separate verses and are reported separately; the dasha is calculated for every chart."
  },
  "maha_dasha": [
    {
      "lord": "Moon",
      "lord_id": "moon",
      "years": 15,
      "start_jd": 2445149.89866,
      "end_jd": 2450628.64866,
      "start_local": "1982-06-29 15:04:04",
      "end_local": "1997-06-29 09:04:04"
    },
    {
      "lord": "Mars",
      "lord_id": "mars",
      "years": 8,
      "start_jd": 2450628.64866,
      "end_jd": 2453550.64866,
      "start_local": "1997-06-29 09:04:04",
      "end_local": "2005-06-29 09:04: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)"
}

Usage tips

How to use it

  • Current period only
    Use /v1/dasha/ashtottari/current for the mahadasha and antardasha running at one moment.
  • Show applicability, do not hide the dasha
    applicability tells your user whether the classical conditions are met; the periods are returned either way.

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.