/api/astro/dasha/vimshottari/1 creditVimshottari dasha
The 120-year cycle that almost every Vedic reading is built on. Vimshottari starts from the nakshatra the Moon occupied at birth, which fixes both which planet's mahadasha was running at birth and how much of it remained, then runs all nine grahas across 120 years in a fixed order and with fixed lengths: Ketu 7, Venus 20, Sun 6, Moon 10, Mars 7, Rahu 18, Jupiter 16, Saturn 19, Mercury 17. Returned as a nested timeline — mahadasha, then antardasha, then pratyantardasha — each period carrying its lord and its exact start and end. Unlike the other nakshatra dashas, Vimshottari is unconditional: it applies to every chart.
https://yogataraapi.prahlad.app/api/astro/dasha/vimshottari/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/vimshottari/ \
-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":3}'Response
{
"_truncated": true,
"_note": "Response shortened for the catalogue.",
"preview": "{\"data\": {\"system\": \"Vimshottari\", \"engine_id\": \"VimshottariDasha\", \"family\": \"nakshatra\", \"lord_type\": \"planet\", \"levels\": 3, \"level_names\": [\"mahadasha\", \"antardasha\", \"pratyantardasha\"], \"cycle_years\": 120, \"conditional\": false, \"periods\": [{\"lord\": \"moon\", \"start\": \"1983-12-03 22:34:05.606114+00:00\", \"end\": \"1993-12-03 10:34:05.606114+00:00\", \"children\": [{\"lord\": \"moon\", \"start\": \"1983-12-03 22:34:05.606114+00:00\", \"end\": \"1984-10-03 06:34:05.606114+00:00\", \"children\": [{\"lord\": \"moon\", \"start\": \"1983-12-03 22:34:05.606114+00:00\", \"end\": \"1983-12-29 06:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"mars\", \"start\": \"1983-12-29 06:34:05.606114+00:00\", \"end\": \"1984-01-16 00:10:05.606114+00:00\", \"children\": []}, {\"lord\": \"rahu\", \"start\": \"1984-01-16 00:10:05.606114+00:00\", \"end\": \"1984-03-01 14:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"1984-03-01 14:34:05.606114+00:00\", \"end\": \"1984-04-11 03:22:05.606114+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"1984-04-11 03:22:05.606114+00:00\", \"end\": \"1984-05-29 06:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"1984-05-29 06:34:05.606114+00:00\", \"end\": \"1984-07-11 08:10:05.606114+00:00\", \"children\": []}, {\"lord\": \"ketu\", \"start\": \"1984-07-11 08:10:05.606114+00:00\", \"end\": \"1984-07-29 01:46:05.606114+00:00\", \"children\": []}, {\"lord\": \"venus\", \"start\": \"1984-07-29 01:46:05.606114+00:00\", \"end\": \"1984-09-17 17:46:05.606114+00:00\", \"children\": []}, {\"lord\": \"sun\", \"start\": \"1984-09-17 17:46:05.606114+00:00\", \"end\": \"1984-10-02 22:34:05.606114+00:00\", \"children\": []}]}, {\"lord\": \"mars\", \"start\": \"1984-10-03 06:34:05.606114+00:00\", \"end\": \"1985-05-04 07:22:05.606114+00:00\", \"children\": [{\"lord\": \"mars\", \"start\": \"1984-10-03 06:34:05.606114+00:00\", \"end\": \"1984-10-15 16:46:05.606114+00:00\", \"children\": []}, {\"lord\": \"rahu\", \"start\": \"1984-10-15 16:46:05.606114+00:00\", \"end\": \"1984-11-16 15:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"1984-11-16 15:34:05.606114+00:00\", \"end\": \"1984-12-15 01:10:05.606114+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"1984-12-15 01:10:05.606114+00:00\", \"end\": \"1985-01-17 18:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"1985-01-17 18:34:05.606114+00:00\", \"end\": \"1985-02-16 22:46:05.606114+00:00\", \"children\": []}, {\"lord\": \"ketu\", \"start\": \"1985-02-16 22:46:05.606114+00:00\", \"end\": \"1985-03-01 08:58:05.606114+00:00\", \"children\": []}, {\"lord\": \"venus\", \"start\": \"1985-03-01 08:58:05.606114+00:00\", \"end\": \"1985-04-05 20:58:05.606114+00:00\", \"children\": []}, {\"lord\": \"sun\", \"start\": \"1985-04-05 20:58:05.606114+00:00\", \"end\": \"1985-04-16 12:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"moon\", \"start\": \"1985-04-16 12:34:05.606114+00:00\", \"end\": \"1985-05-04 06:34:05.606114+00:00\", \"children\": []}]}, {\"lord\": \"rahu\", \"start\": \"1985-05-04 07:22:05.606114+00:00\", \"end\": \"1986-11-03 02:34:05.606114+00:00\", \"children\": [{\"lord\": \"rahu\", \"start\": \"1985-05-04 07:22:05.606114+00:00\", \"end\": \"1985-07-25 08:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"jupiter\", \"start\": \"1985-07-25 08:34:05.606114+00:00\", \"end\": \"1985-10-06 06:58:05.606114+00:00\", \"children\": []}, {\"lord\": \"saturn\", \"start\": \"1985-10-06 06:58:05.606114+00:00\", \"end\": \"1985-12-31 21:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"mercury\", \"start\": \"1985-12-31 21:34:05.606114+00:00\", \"end\": \"1986-03-19 09:22:05.606114+00:00\", \"children\": []}, {\"lord\": \"ketu\", \"start\": \"1986-03-19 09:22:05.606114+00:00\", \"end\": \"1986-04-20 07:10:05.606114+00:00\", \"children\": []}, {\"lord\": \"venus\", \"start\": \"1986-04-20 07:10:05.606114+00:00\", \"end\": \"1986-07-20 11:10:05.606114+00:00\", \"children\": []}, {\"lord\": \"sun\", \"start\": \"1986-07-20 11:10:05.606114+00:00\", \"end\": \"1986-08-16 19:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"moon\", \"start\": \"1986-08-16 19:34:05.606114+00:00\", \"end\": \"1986-10-01 09:34:05.606114+00:00\", \"children\": []}, {\"lord\": \"mars\", \"start\": \"1986-10-01 09:34:05.606114+00:00\", \"end\": \"1986-11-02 07:"
}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.