LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Dasha

GET
10 credits

/v1/dasha/char/current

Currently running Char Dasha stack — active mahadasha + antardasha signs.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/dasha/char/current?date=1990-01-15&time=10%3A30&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&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).
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
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.
atno2027-01-15T00:00:00ZUTC moment to evaluate (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now.

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": "char",
  "at_jd": 2461420.5,
  "at_local": "2027-01-15 05:30:00",
  "current": {
    "sign": "Leo",
    "years": 7,
    "start_jd": 2459594.708333,
    "end_jd": 2462151.458333,
    "start_local": "2022-01-15 10:30:00",
    "end_local": "2029-01-15 04:30:00"
  }
}

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.