POST · VEDIC

KP Vimshottari Dasha

Endpoint POST https://starsapi.com/api/v3/vedic/kp/dasha

Returns the Vimshottari dasha timeline KP-style — mahadasha table with nested sub-periods to the requested depth, the current running periods, and the Moon’s nakshatra basis, computed with the KP ayanamsa.

All KP endpoints default to the KP Old (Krishnamurti) ayanamsa and mean nodes, matching classical KP ephemeris practice. Both are overridable per request.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
namestringNoEchoed in the response.
yearintegerYesYear.
monthintegerYesMonth, 1–12.
dayintegerYesDay of month.
hourintegerYesHour, 24-hour.
minuteintegerYesMinute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
ayanamsastringNoDefault kp_old (Krishnamurti). Any supported ayanamsa accepted.
node_typestringNomean (default, per classical KP ephemeris practice) or true.
levelsintegerNoPeriod depth (1–5 typical; default per endpoint config).
reference_datestringNoDate for “current period” resolution; default today.

Response shape

FieldTypeDescription
moon_nakshatraobjectBirth star and balance.
current_periodsobjectRunning MD/AD/… chain at the reference date.
mahadasha_table[]arrayFull timeline with nested sub-periods.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_TIMEHour/minute/second out of range.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
400INVALID_PARAMBad ayanamsa, node_type, or other option.
405METHOD_NOT_ALLOWEDNon-POST request.

See also