API Reference / Vedic Astrology / Dasha
GET
10 credits
/v1/dasha/vimshottari/{md}
All Antar Dashas within a Maha Dasha.
Request
All requests require an Authorization header with your dv_live_* API key.
example request
curl "https://api.lifeastroapi.com/v1/dasha/vimshottari/Saturn?date=1990-01-15&time=10%3A30&tz=Asia%2FKolkata&lat=19.076&lon=72.8777" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
time | no | 10:30 | Birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
lat | yes | 19.076 | Birth place latitude in decimal degrees. |
lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
200 response
{
"birth_date": "1990-01-15",
"birth_time": "10:30",
"location": {
"lat": 19.076,
"lon": 72.8777,
"alt": 0
},
"tz": "Asia/Kolkata",
"ayanamsa": "lahiri",
"ayanamsa_value": 23.71795,
"system": "vimshottari",
"md": "Saturn",
"periods": [
{
"lord": "Saturn",
"start_jd": 2472308.719622,
"end_jd": 2473407.513372,
"start_local": "2056-11-06 10:46:15",
"end_local": "2059-11-10 05:49:15"
},
{
"lord": "Mercury",
"start_jd": 2473407.513372,
"end_jd": 2474390.644622,
"start_local": "2059-11-10 05:49:15",
"end_local": "2062-07-20 08:58:15"
}
]
}Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://lifeastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.