Skip to content
POST/api/astro/dasha/ashtottari/1 credit

Ashtottari dasha

The 108-year cycle, across eight planets. Sun 6, Moon 15, Mars 8, Mercury 17, Saturn 10, Jupiter 19, Rahu 12, Venus 21. A CONDITIONAL dasha: the classical texts apply it only when a particular condition holds in the chart. Check /api/astro/dasha_applicability/ for a given chart before relying on it.

https://yogataraapi.prahlad.app/api/astro/dasha/ashtottari/
Test Request

Authentication

Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

Request fields

FieldTypeRequiredNotes
latitudenumber (double)required

Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first.

min -90 · max 90

longitudenumber (double)required

Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China.

min -180 · max 180

dasha_directionstringoptional
forwardbackward
dasha_startstringoptional

Which cycle the timeline opens on.

currentnextprevious
date_timestring (date-time)optional

The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers.

datetimestring (date-time)optional

The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC. Same meaning as date_time, which other endpoints call the same thing by a different name.

days_in_yearnumber (double)optional

Year length the periods are measured in. 360 for the classical savana year, 365.25 for the Julian year.

min 360 · max 365.256364

levelsintegeroptional

How deep to nest: 1 mahadasha only, 2 adds antardasha, 3 adds pratyantardasha. Capped at 4 because the response grows roughly tenfold per level.

min 1 · max 4

nodestringoptional

Lunar node model. Required by the rashi parent, which does not default it; defaulted here.

truemean
timezone_as_floatnumber (double)optional

UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset.

min -12 · max 14

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/dasha/ashtottari/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"1990-08-15T10:30:00+05:30","latitude":26.9124,"longitude":75.7873,"timezone_as_float":5.5,"levels":2}'

Response

{
  "_truncated": true,
  "_note": "Response shortened for the catalogue.",
  "preview": "{\"data\": {\"system\": \"Ashtottari\", \"engine_id\": \"AshtottariDasha\", \"family\": \"nakshatra\", \"lord_type\": \"planet\", \"levels\": 2, \"level_names\": [\"mahadasha\", \"antardasha\"], \"cycle_years\": 108, \"conditional\": true, \"periods\": [{\"lord\": \"venus\", \"start\": \"1978-12-07 01:57:14.058000+00:00\", \"end\": \"1999-12-07 07:57:14.058000+00:00\", \"children\": [{\"lord\": \"venus\", \"start\": \"1978-12-07 01:57:14.058000+00:00\", \"end\": \"1983-01-06 11:17:14.058000+00:00\", \"children\": []}, {\"lord\": \"sun\", \"start\": \"1983-01-06 11:17:14.058000+00:00\", \"end\": \"1984-03-07 13:57:14.058000+00:00\", \"children\": []}, {\"lord\": \"moon\", \"start\": \"1984-03-07 13:57:14.058000+00:00\", \"end\": \"1987-02-05 20:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"mars\", \"start\": \"1987-02-05 20:37:14.058000+00:00\", \"end\": \"1988-08-27 00:10:34.058000+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"1988-08-27 00:10:34.058000+00:00\", \"end\": \"1991-12-17 07:43:54.058000+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"1991-12-17 07:43:54.058000+00:00\", \"end\": \"1993-11-26 12:10:34.058000+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"1993-11-26 12:10:34.058000+00:00\", \"end\": \"1997-08-06 20:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"rahu\", \"start\": \"1997-08-06 20:37:14.058000+00:00\", \"end\": \"1999-12-07 01:57:14.058000+00:00\", \"children\": []}]}, {\"lord\": \"sun\", \"start\": \"1999-12-07 07:57:14.058000+00:00\", \"end\": \"2005-12-06 19:57:14.058000+00:00\", \"children\": [{\"lord\": \"sun\", \"start\": \"1999-12-07 07:57:14.058000+00:00\", \"end\": \"2000-04-07 01:17:14.058000+00:00\", \"children\": []}, {\"lord\": \"moon\", \"start\": \"2000-04-07 01:17:14.058000+00:00\", \"end\": \"2001-02-05 08:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"mars\", \"start\": \"2001-02-05 08:37:14.058000+00:00\", \"end\": \"2001-07-17 15:43:54.058000+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"2001-07-17 15:43:54.058000+00:00\", \"end\": \"2002-06-27 12:50:34.058000+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"2002-06-27 12:50:34.058000+00:00\", \"end\": \"2003-01-16 09:43:54.058000+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"2003-01-16 09:43:54.058000+00:00\", \"end\": \"2004-02-05 20:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"rahu\", \"start\": \"2004-02-05 20:37:14.058000+00:00\", \"end\": \"2004-10-06 07:17:14.058000+00:00\", \"children\": []}, {\"lord\": \"venus\", \"start\": \"2004-10-06 07:17:14.058000+00:00\", \"end\": \"2005-12-06 07:57:14.058000+00:00\", \"children\": []}]}, {\"lord\": \"moon\", \"start\": \"2005-12-06 19:57:14.058000+00:00\", \"end\": \"2020-12-06 13:57:14.058000+00:00\", \"children\": [{\"lord\": \"moon\", \"start\": \"2005-12-06 19:57:14.058000+00:00\", \"end\": \"2008-01-06 15:57:14.058000+00:00\", \"children\": []}, {\"lord\": \"mars\", \"start\": \"2008-01-06 15:57:14.058000+00:00\", \"end\": \"2009-02-15 10:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"2009-02-15 10:37:14.058000+00:00\", \"end\": \"2011-06-27 17:17:14.058000+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"2011-06-27 17:17:14.058000+00:00\", \"end\": \"2012-11-15 22:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"2012-11-15 22:37:14.058000+00:00\", \"end\": \"2015-07-07 15:57:14.058000+00:00\", \"children\": []}, {\"lord\": \"rahu\", \"start\": \"2015-07-07 15:57:14.058000+00:00\", \"end\": \"2017-03-07 07:57:14.058000+00:00\", \"children\": []}, {\"lord\": \"venus\", \"start\": \"2017-03-07 07:57:14.058000+00:00\", \"end\": \"2020-02-05 11:57:14.058000+00:00\", \"children\": []}, {\"lord\": \"sun\", \"start\": \"2020-02-05 11:57:14.058000+00:00\", \"end\": \"2020-12-05 19:57:14.058000+00:00\", \"children\": []}]}, {\"lord\": \"mars\", \"start\": \"2020-12-06 13:57:14.058000+00:00\", \"end\": \"2028-12-06 13:57:14.058000+00:00\", \"children\": [{\"lord\": \"mars\", \"start\": \"2020-12-06 13:57:14.058000+00:00\", \"end\": \"2021-07-11 00:37:14.058000+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"2021-07-11 00:37:14.058000+00:00\", \"end\": \"2022-10-13 23:17:14.058000+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"2022-10-13 23:17:14.058000+00:00\", \"end\": \"2023-07-11 12:37:14.058000+00"
}

Captured from a real call using the exact request above. Results sit under data.

Errors

Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.