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

Rashi dasha (any system)

Any of the nineteen rashi dashas, by name. Chara, Narayana, Kalachakra and Sudasa have their own endpoints; this reaches the other fifteen — Brahma, Chakra, Drig, Kendradhi, Lagnamsaka, Mandooka, Navamsa, Nirayana Shoola, Paryaaya, Sandhya, Shoola, Sthira, Tara Lagna, Trikona and Yogardha. All of them run on signs, so `lord` is a sign name throughout.

https://yogataraapi.prahlad.app/api/astro/dasha/rashi/
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

systemstringrequired

Dasha system. See /api/astro/dasha/systems/ for the list; both the display name and the engine id are accepted.

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/rashi/ \
  -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,"system":"Drig"}'

Response

{
  "_truncated": true,
  "_note": "Response shortened for the catalogue.",
  "preview": "{\"data\": {\"system\": \"Drig\", \"engine_id\": \"DrigRaasi\", \"family\": \"rashi\", \"lord_type\": \"sign\", \"levels\": 2, \"level_names\": [\"mahadasha\", \"antardasha\"], \"conditional\": false, \"periods\": [{\"lord\": \"Aries\", \"start\": \"1990-08-15 05:00:00+00:00\", \"end\": \"2002-08-15 05:00:00+00:00\", \"children\": [{\"lord\": \"Aries\", \"start\": \"1990-08-15 05:00:00+00:00\", \"end\": \"1992-06-28 06:33:30.389610+00:00\", \"children\": []}, {\"lord\": \"Taurus\", \"start\": \"1992-06-28 06:33:30.389610+00:00\", \"end\": \"1992-08-24 04:41:17.922078+00:00\", \"children\": []}, {\"lord\": \"Gemini\", \"start\": \"1992-08-24 04:41:17.922078+00:00\", \"end\": \"1994-03-16 09:59:13.246753+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"1994-03-16 09:59:13.246753+00:00\", \"end\": \"1994-09-03 04:22:35.844156+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"1994-09-03 04:22:35.844156+00:00\", \"end\": \"1996-01-28 11:32:43.636364+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"1996-01-28 11:32:43.636364+00:00\", \"end\": \"1996-11-08 02:11:41.298702+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"1996-11-08 02:11:41.298702+00:00\", \"end\": \"1997-10-15 14:58:26.493507+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"1997-10-15 14:58:26.493507+00:00\", \"end\": \"1998-11-18 01:52:59.220780+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"1998-11-18 01:52:59.220780+00:00\", \"end\": \"1999-07-03 18:24:09.350650+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"1999-07-03 18:24:09.350650+00:00\", \"end\": \"2000-10-01 03:26:29.610390+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"2000-10-01 03:26:29.610390+00:00\", \"end\": \"2000-11-27 01:34:17.142858+00:00\", \"children\": []}, {\"lord\": \"Pisces\", \"start\": \"2000-11-27 01:34:17.142858+00:00\", \"end\": \"2002-08-15 05:00:00+00:00\", \"children\": []}]}, {\"lord\": \"Taurus\", \"start\": \"2002-08-15 05:00:00+00:00\", \"end\": \"2003-08-15 11:00:00+00:00\", \"children\": [{\"lord\": \"Taurus\", \"start\": \"2002-08-15 05:00:00+00:00\", \"end\": \"2002-08-19 22:45:58.441558+00:00\", \"children\": []}, {\"lord\": \"Gemini\", \"start\": \"2002-08-19 22:45:58.441558+00:00\", \"end\": \"2002-10-06 08:25:42.857142+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"2002-10-06 08:25:42.857142+00:00\", \"end\": \"2002-10-20 13:43:38.181817+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"2002-10-20 13:43:38.181817+00:00\", \"end\": \"2002-12-02 05:37:24.155843+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"2002-12-02 05:37:24.155843+00:00\", \"end\": \"2002-12-25 22:27:16.363635+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"2002-12-25 22:27:16.363635+00:00\", \"end\": \"2003-01-23 09:03:07.012986+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"2003-01-23 09:03:07.012986+00:00\", \"end\": \"2003-02-25 13:24:56.103895+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"2003-02-25 13:24:56.103895+00:00\", \"end\": \"2003-03-16 12:28:49.870129+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"2003-03-16 12:28:49.870129+00:00\", \"end\": \"2003-04-23 10:36:37.402597+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"2003-04-23 10:36:37.402597+00:00\", \"end\": \"2003-04-28 04:22:35.844155+00:00\", \"children\": []}, {\"lord\": \"Pisces\", \"start\": \"2003-04-28 04:22:35.844155+00:00\", \"end\": \"2003-06-19 07:48:18.701298+00:00\", \"children\": []}, {\"lord\": \"Aries\", \"start\": \"2003-06-19 07:48:18.701298+00:00\", \"end\": \"2003-08-15 04:59:59.999999+00:00\", \"children\": []}]}, {\"lord\": \"Gemini\", \"start\": \"2003-08-15 11:00:00+00:00\", \"end\": \"2013-08-14 23:00:00+00:00\", \"children\": [{\"lord\": \"Gemini\", \"start\": \"2003-08-15 11:00:00+00:00\", \"end\": \"2004-12-01 17:51:25.714286+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"2004-12-01 17:51:25.714286+00:00\", \"end\": \"2005-04-23 00:42:51.428572+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"2005-04-23 00:42:51.428572+00:00\", \"end\": \"2006-06-23 21:17:08.571429+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"2006-06-23 21:17:08.571429+00:00\", \"end\": \"2007-02-16 00:42:51.428572+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"2007-02-16 00:42"
}

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.