Skip to main content

Yogini Dasha

Computes Yogini Dasha periods for a given birth chart. What is Yogini Dasha? Yogini Dasha is a Nakshatra-based dasha system using 8 Yoginis, each ruled by a planet. The total cycle is 36 years. It is considered highly accurate for timing events in the near term and is widely used alongside Vimshottari. The 8 Yoginis and their durations: - Mangala (Moon) — 1 year - Pingala (Sun) — 2 years - Dhanya (Jupiter) — 3 years - Bhramari (Mars) — 4 years - Bhadrika (Mercury) — 5 years - Ulka (Saturn) — 6 years - Siddha (Venus) — 7 years - Sankata (Rahu) — 8 years Starting Yogini is determined by the Moon's Nakshatra at birth. Levels: - levels: 1 — returns Maha Dasha periods only - levels: 2 — returns Maha Dasha with Antar Dasha sub-periods (default) Date format: All dates are returned in DD/MM/YYYY format. Ayanamsa: Default is Lahiri.

Endpoint

POST /v1/astro/yogini

Request parameters

FieldTypeRequiredDescription
locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
namestringNoPerson name associated with the birth record
datestringYesBirth date in YYYY-MM-DD format
timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudenumber | nullNoLatitude. Required if location not provided.
longitudenumber | nullNoLongitude. Required if location not provided.
timezonestring | nullNoIANA timezone. Required if location not provided.
ayanamsastringNoSidereal ayanamsa mode used in calculations
levelsintegerNoDepth of sub-periods to return. 1 returns Maha Dashas only. 2 returns Maha and Antar Dashas. Maximum is 2.

Example request

curl -X POST "https://api.asterwise.com/v1/astro/yogini" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"}'

Example response

{
"success": true,
"message": "success",
"data": {
"periods": {
"root": [
{
"yogini": "Pingala",
"planet": "Sun",
"start_jd": 2446381.5520833335,
"end_jd": 2446481.3399304324,
"start_date": "12/11/1985",
"end_date": "19/02/1986",
"sub": [
{
"yogini": "Pingala",
"planet": "Sun",
"start_jd": 2446381.5520833335,
"end_jd": 2446387.0958526167,
"start_date": "12/11/1985",
"end_date": "17/11/1985"
},
{
"yogini": "Dhanya",
"planet": "Jupiter",
"start_jd": 2446387.0958526167,
"end_jd": 2446395.4115065415,
"start_date": "17/11/1985",
"end_date": "25/11/1985"
},
"... and 6 more items"
]
},
{
"yogini": "Dhanya",
"planet": "Jupiter",
"start_jd": 2446481.3399304324,
"end_jd": 2447577.1090104324,
"start_date": "19/02/1986",
"end_date": "19/02/1989",
"sub": [
{
"yogini": "Dhanya",
"planet": "Jupiter",
"start_jd": 2446481.3399304324,
"end_jd": 2446572.6540204324,
"start_date": "19/02/1986",
"end_date": "22/05/1986"
},
{
"yogini": "Bhramari",
"planet": "Mars",
"start_jd": 2446572.6540204324,
"end_jd": 2446694.406140432,
"start_date": "22/05/1986",
"end_date": "20/09/1986"
},
"... and 6 more items"
]
},
"... and 6 more items"
]
},
"birth_time_provided": true
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.periodsobject
data.periods.rootarray[object]
data.periods.root[].yoginistringName of the Yogini ruling this period, e.g. Mangala, Pingala, Dhanya
data.periods.root[].planetstringPlanetary lord of this Yogini
data.periods.root[].start_jdnumberStart of period as Julian Day number
data.periods.root[].end_jdnumberEnd of period as Julian Day number
data.periods.root[].start_datestringStart date in DD/MM/YYYY format
data.periods.root[].end_datestringEnd date in DD/MM/YYYY format
data.periods.root[].subarray[object] | nullSub-periods (Antar Dasha). Present only when levels=2.
data.birth_time_providedbooleanWhether a precise birth time was provided. False when birth time was not supplied or treated as unknown — calculations using this field will have lagna-dependent accuracy limits.

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error