LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Dasha

GET
10 credits

/v1/dasha/yogini/current

Current Yogini period.

What this tells you

Returns the running Yogini Maha Dasha and Antar Dasha at one moment — the Yogini version of /v1/dasha/vimshottari/current. Yogini Dasha repeats every 36 years, so any moment after the start of the first cycle works. The dates returned belong to the cycle the moment actually falls in.

Birth chart: date, time, tz, lat, lon (plus optional ayanamsa). Query moment: `at`, read as UTC (RFC3339, "YYYY-MM-DD HH:MM[:SS]" or "YYYY-MM-DD"); defaults to now. A moment before the first Yogini period of the chart returns 400 invalid_param. Only two levels (Maha and Antar) are returned.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.lifeastroapi.com/v1/dasha/yogini/current?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&time=10%3A30&at=2027-01-15T00%3A00%3A00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
dateyes1990-01-15Birth date (YYYY-MM-DD).
tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
latyes19.076Birth place latitude in decimal degrees.
lonyes72.8777Birth place longitude in decimal degrees.
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
atno2027-01-15T00:00:00ZUTC moment to find the running dasha for (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now.
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.

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": "yogini",
  "at_jd": 2461420.5,
  "at_local": "2027-01-15 05:30:00",
  "maha": {
    "lord": "Ulka",
    "planet": "Saturn",
    "start_jd": 2459939.03672,
    "end_jd": 2462130.53672,
    "start_local": "2022-12-25 18:22:53",
    "end_local": "2028-12-25 06:22:53"
  },
  "antar": {
    "lord": "Dhanya",
    "planet": "Jupiter",
    "start_jd": 2461400.03672,
    "end_jd": 2461582.66172,
    "start_local": "2026-12-25 18:22:53",
    "end_local": "2027-06-26 09:22:53"
  }
}

Field reference

Every field in the response, with its type, a real example, and what it means.

FieldTypeMeaning
birth_date, birth_timestring
Birth date and time, echoed from `date` and `time`.
example: "1990-01-15", "10:30"
locationobject
Birth place, echoed from `lat`, `lon` and `alt`.
example: { "lat": 19.076, "lon": 72.8777, "alt": 0 }
tzstring
Birth timezone. Its UTC offset at birth is used for every `*_local` string.
example: "Asia/Kolkata"
ayanamsa, ayanamsa_valuestring, number
Ayanamsa name and its value in degrees at birth.
example: "lahiri", 23.71795
systemstring
Always "yogini".
example: "yogini"
at_jdnumber
The query moment as a Julian Day (UT). Comes from `at`; defaults to the time of the request.
example: 2461420.5
at_localstring
The query moment as local time ("YYYY-MM-DD HH:MM:SS"), using the birth UTC offset.
example: "2027-01-15 05:30:00"
mahaobject
Running Yogini Maha Dasha.
example: { lord, planet, start_jd, end_jd, start_local, end_local }
maha.lordstring
Running Yogini name.
example: "Ulka"
maha.planetstring
Ruling planet of that Yogini.
example: "Saturn"
maha.start_jd, maha.end_jdnumber
Period bounds as Julian Days (UT), in the cycle the query moment falls in.
example: 2459939.03672, 2462130.53672
maha.start_local, maha.end_localstring
Period bounds as local time, same format as at_local.
example: "2022-12-25 18:22:53", "2028-12-25 06:22:53"
antarobject
Running Antar Dasha inside the Maha Dasha. Same fields as maha.
example: { "lord": "Pingala", "planet": "Sun", … }

Usage tips

How to use it

  • Pair with Vimshottari current
    Show the Vimshottari and Yogini "you are here" results side by side in dashboards.
  • Cache until antar.end_jd
    The result only changes when the running Antar Dasha ends, so it can be cached until antar.end_jd.

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.