/api/astro/dasha/systems/1 creditDasha systems index
Every dasha system we compute, with its cycle length and the endpoint that serves it. Thirty of them — eleven nakshatra dashas that run on planets, nineteen rashi dashas that run on signs. This endpoint exists because there is otherwise no way to discover them: they are values of a string field, so they appear in no route list and no search. `conditional` marks the nakshatra dashas the classical texts apply only when a particular condition holds in the chart. /api/astro/dasha_applicability/ tests those conditions for a given chart, so you can find out which readings are admissible before you show one.
https://yogataraapi.prahlad.app/api/astro/dasha/systems/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 |
|---|---|---|---|
| family | string | optional | Narrow the list to one family. Nakshatra dashas run on planets; rashi dashas run on signs. bothnakshatrarashi |
Example request
curl -X POST https://yogataraapi.prahlad.app/api/astro/dasha/systems/ \
-H "X-API-Key: $OCCULT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"family":"both"}'Response
{
"_truncated": true,
"_note": "Response shortened for the catalogue.",
"preview": "{\"data\": {\"family\": \"both\", \"count\": 30, \"level_names\": [\"mahadasha\", \"antardasha\", \"pratyantardasha\", \"sookshmadasha\"], \"max_levels\": 4, \"nakshatra_dashas\": [{\"system\": \"Vimshottari\", \"engine_id\": \"VimshottariDasha\", \"cycle_years\": 120, \"conditional\": false, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/vimshottari/\"}, {\"system\": \"Ashtottari\", \"engine_id\": \"AshtottariDasha\", \"cycle_years\": 108, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/ashtottari/\"}, {\"system\": \"Shodashottari\", \"engine_id\": \"ShodashottariDasha\", \"cycle_years\": 116, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/shodashottari/\"}, {\"system\": \"Dwadashottari\", \"engine_id\": \"DwadashottariDasha\", \"cycle_years\": 112, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Panchottari\", \"engine_id\": \"PanchottariDasha\", \"cycle_years\": 105, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Sataabdika\", \"engine_id\": \"SataabdikaDasha\", \"cycle_years\": 100, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Chaturaseeti Sama\", \"engine_id\": \"ChaturaseetiSamaDasha\", \"cycle_years\": 84, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Dwisaptati\", \"engine_id\": \"DwisaptatiDasha\", \"cycle_years\": 72, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Shattrimsa Sama\", \"engine_id\": \"ShattrimsaSamaDasha\", \"cycle_years\": 36, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}, {\"system\": \"Yogini\", \"engine_id\": \"YoginiDasha\", \"cycle_years\": 36, \"conditional\": false, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/yogini/\"}, {\"system\": \"Budhi Gati\", \"engine_id\": \"BudhiGatiDasha\", \"cycle_years\": 112, \"conditional\": true, \"lord_type\": \"planet\", \"endpoint\": \"/api/astro/dasha/nakshatra/\"}], \"rashi_dashas\": [{\"system\": \"Chara\", \"engine_id\": \"CharaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/chara/\"}, {\"system\": \"Narayana\", \"engine_id\": \"NarayanaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/narayana/\"}, {\"system\": \"Kalachakra\", \"engine_id\": \"KalachakraRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/kalachakra/\"}, {\"system\": \"Sudasa\", \"engine_id\": \"SudasaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/sudasa/\"}, {\"system\": \"Drig\", \"engine_id\": \"DrigRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Nirayana Shoola\", \"engine_id\": \"NirayanaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Shoola\", \"engine_id\": \"ShoolaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Sthira\", \"engine_id\": \"SthiraRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Trikona\", \"engine_id\": \"TrikonaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Brahma\", \"engine_id\": \"BrahmaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Chakra\", \"engine_id\": \"ChakraRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Kendradhi\", \"engine_id\": \"KendradhiRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Lagnamsaka\", \"engine_id\": \"LagnamsakaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Mandooka\", \"engine_id\": \"MandookaRaasi\", \"conditional\": false, \"lord_type\": \"sign\", \"endpoint\": \"/api/astro/dasha/rashi/\"}, {\"system\": \"Navamsa\", \"engine_id\": \"NavmasaRaasi\", \"conditional\": false, \"lord_type"
}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.