/api/astro/dasha/sudasa/1 creditSudasa dasha
The Jaimini rashi dasha counted from Sri Lagna. Traditionally read for prosperity and material circumstance, being seeded from Sri Lagna rather than from the ascendant.
https://yogataraapi.prahlad.app/api/astro/dasha/sudasa/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/jsonRequest fields
| Field | Type | Required | Notes |
|---|---|---|---|
| latitude | number (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 |
| longitude | number (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_direction | string | optional | forwardbackward |
| dasha_start | string | optional | Which cycle the timeline opens on. currentnextprevious |
| date_time | string (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. |
| datetime | string (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_year | number (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 |
| levels | integer | optional | 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 |
| node | string | optional | Lunar node model. Required by the rashi parent, which does not default it; defaulted here. truemean |
| timezone_as_float | number (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/sudasa/ \
-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\": \"Sudasa\", \"engine_id\": \"SudasaRaasi\", \"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\": \"Cancer\", \"start\": \"2002-08-15 05:00:00+00:00\", \"end\": \"2005-08-14 23:00:00+00:00\", \"children\": [{\"lord\": \"Cancer\", \"start\": \"2002-08-15 05:00:00+00:00\", \"end\": \"2002-09-26 20:53:45.974026+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"2002-09-26 20:53:45.974026+00:00\", \"end\": \"2003-02-01 20:35:03.896104+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"2003-02-01 20:35:03.896104+00:00\", \"end\": \"2003-04-13 23:04:40.519481+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"2003-04-13 23:04:40.519481+00:00\", \"end\": \"2003-07-08 06:52:12.467533+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"2003-07-08 06:52:12.467533+00:00\", \"end\": \"2003-10-15 19:57:39.740260+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"2003-10-15 19:57:39.740260+00:00\", \"end\": \"2003-12-11 17:09:21.038961+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"2003-12-11 17:09:21.038961+00:00\", \"end\": \"2004-04-03 11:32:43.636364+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"2004-04-03 11:32:43.636364+00:00\", \"end\": \"2004-04-17 16:50:38.961039+00:00\", \"children\": []}, {\"lord\": \"Pisces\", \"start\": \"2004-04-17 16:50:38.961039+00:00\", \"end\": \"2004-09-21 03:07:47.532468+00:00\", \"children\": []}, {\"lord\": \"Aries\", \"start\": \"2004-09-21 03:07:47.532468+00:00\", \"end\": \"2005-03-10 18:42:51.428572+00:00\", \"children\": []}, {\"lord\": \"Taurus\", \"start\": \"2005-03-10 18:42:51.428572+00:00\", \"end\": \"2005-03-25 00:00:46.753247+00:00\", \"children\": []}, {\"lord\": \"Gemini\", \"start\": \"2005-03-25 00:00:46.753247+00:00\", \"end\": \"2005-08-14 05:00:00+00:00\", \"children\": []}]}, {\"lord\": \"Libra\", \"start\": \"2005-08-14 23:00:00+00:00\", \"end\": \"2011-08-15 11:00:00+00:00\", \"children\": [{\"lord\": \"Libra\", \"start\": \"2005-08-14 23:00:00+00:00\", \"end\": \"2006-02-01 16:27:16.363636+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"2006-02-01 16:27:16.363636+00:00\", \"end\": \"2006-08-19 20:49:05.454545+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"2006-08-19 20:49:05.454545+00:00\", \"end\": \"2006-12-11 16:27:16.363636+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"2006-12-11 16:27:16.363636+00:00\", \"end\": \"2007-07-27 07:43:38.181818+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"2007-"
}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.