/api/astro/dasha/kalachakra/1 creditKalachakra dasha
The "wheel of time" dasha, seeded from the birth pada. Unusual among the rashi dashas in starting from the Moon's nakshatra PADA rather than from a house, which makes it more sensitive to birth-time accuracy than the others.
https://yogataraapi.prahlad.app/api/astro/dasha/kalachakra/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/kalachakra/ \
-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\": \"Kalachakra\", \"engine_id\": \"KalachakraRaasi\", \"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\": \"1997-08-14 23:00:00+00:00\", \"children\": [{\"lord\": \"Aries\", \"start\": \"1990-08-15 05:00:00+00:00\", \"end\": \"1990-11-27 05:33:29.302326+00:00\", \"children\": []}, {\"lord\": \"Taurus\", \"start\": \"1990-11-27 05:33:29.302326+00:00\", \"end\": \"1991-07-22 23:58:36.279070+00:00\", \"children\": []}, {\"lord\": \"Gemini\", \"start\": \"1991-07-22 23:58:36.279070+00:00\", \"end\": \"1991-12-03 17:50:13.953489+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"1991-12-03 17:50:13.953489+00:00\", \"end\": \"1992-04-30 08:20:55.813954+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"1992-04-30 08:20:55.813954+00:00\", \"end\": \"1993-02-06 16:43:15.348838+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"1993-02-06 16:43:15.348838+00:00\", \"end\": \"1993-08-04 00:32:05.581396+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"1993-08-04 00:32:05.581396+00:00\", \"end\": \"1994-02-13 05:00:00.000001+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"1994-02-13 05:00:00.000001+00:00\", \"end\": \"1994-12-07 10:01:23.720931+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"1994-12-07 10:01:23.720931+00:00\", \"end\": \"1995-07-18 07:47:26.511629+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"1995-07-18 07:47:26.511629+00:00\", \"end\": \"1996-03-12 02:12:33.488373+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"1996-03-12 02:12:33.488373+00:00\", \"end\": \"1996-11-19 17:16:44.651164+00:00\", \"children\": []}, {\"lord\": \"Pisces\", \"start\": \"1996-11-19 17:16:44.651164+00:00\", \"end\": \"1997-08-14 05:00:00.000001+00:00\", \"children\": []}]}, {\"lord\": \"Taurus\", \"start\": \"1997-08-14 23:00:00+00:00\", \"end\": \"2013-08-14 23:00:00+00:00\", \"children\": [{\"lord\": \"Taurus\", \"start\": \"1997-08-14 23:00:00+00:00\", \"end\": \"1999-02-09 14:04:11.162791+00:00\", \"children\": []}, {\"lord\": \"Gemini\", \"start\": \"1999-02-09 14:04:11.162791+00:00\", \"end\": \"1999-12-12 09:02:47.441861+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"1999-12-12 09:02:47.441861+00:00\", \"end\": \"2000-11-16 03:27:54.418605+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"2000-11-16 03:27:54.418605+00:00\", \"end\": \"2002-08-23 16:51:37.674419+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"2002-08-23 16:51:37.674419+00:00\", \"end\": \"2003-10-05 10:09:46.046512+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"2003-10-05 10:09:46.046512+00:00\", \"end\": \"2004-12-20 02:54:25.116279+00:00\", \"children\": []}, {\"lord\": \"Scorpio\", \"start\": \"2004-12-20 02:54:25.116279+00:00\", \"end\": \"2006-10-30 15:44:39.069767+00:00\", \"children\": []}, {\"lord\": \"Sagittarius\", \"start\": \"2006-10-30 15:44:39.069767+00:00\", \"end\": \"2008-03-23 07:22:19.534883+00:00\", \"children\": []}, {\"lord\": \"Capricorn\", \"start\": \"2008-03-23 07:22:19.534883+00:00\", \"end\": \"2009-09-17 22:26:30.697674+00:00\", \"children\": []}, {\"lord\": \"Aquarius\", \"start\": \"2009-09-17 22:26:30.697674+00:00\", \"end\": \"2011-04-18 12:57:12.558139+00:00\", \"children\": []}, {\"lord\": \"Pisces\", \"start\": \"2011-04-18 12:57:12.558139+00:00\", \"end\": \"2012-12-20 02:54:25.116279+00:00\", \"children\": []}, {\"lord\": \"Aries\", \"start\": \"2012-12-20 02:54:25.116279+00:00\", \"end\": \"2013-08-14 23:00:00+00:00\", \"children\": []}]}, {\"lord\": \"Gemini\", \"start\": \"2013-08-14 23:00:00+00:00\", \"end\": \"2022-08-15 05:00:00+00:00\", \"children\": [{\"lord\": \"Gemini\", \"start\": \"2013-08-14 23:00:00+00:00\", \"end\": \"2014-02-02 22:51:37.674419+00:00\", \"children\": []}, {\"lord\": \"Cancer\", \"start\": \"2014-02-02 22:51:37.674419+00:00\", \"end\": \"2014-08-13 01:22:19.534884+00:00\", \"children\": []}, {\"lord\": \"Leo\", \"start\": \"2014-08-13 01:22:19.534884+00:00\", \"end\": \"2015-08-11 03:44:39.069768+00:00\", \"children\": []}, {\"lord\": \"Virgo\", \"start\": \"2015-08-11 03:44:39.069768+00:00\", \"end\": \"2016-03-27 11:33:29.302326+00:00\", \"children\": []}, {\"lord\": \"Libra\", \"start\": \"2016"
}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.