Chart (Kundli)
GET
1 credit

/v1/chart/ascendant

Lagna (ascendant) sign + degree.

What this tells you

The ascendant (lagna) is the degree of the zodiac rising on the eastern horizon at birth. It defines the 1st house and anchors the entire chart. Birth time accuracy matters: the ascendant shifts by one degree every ~4 minutes, so 1-minute birth-time errors produce noticeable placement differences.

Request

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

example request
curl "https://api.divyastroapi.com/v1/chart/ascendant?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
  -H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"

Response (200 OK)

Successful requests return a JSON body. Field names are stable across versions.

200 response
{
  "longitude": 92.487,
  "sign": "Cancer", "sign_index": 4,
  "degree_in_sign": 2.487,
  "nakshatra": "Pushya", "nakshatra_index": 8,
  "pada": 1,
  "nakshatra_lord": "Saturn",
  "sign_lord": "Moon",
  "ayanamsa_used": 24.1408
}

Field reference

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

FieldTypeMeaning
longitudenumber
Sidereal longitude of the lagna.
example: 92.487
signstring
Lagna rashi.
example: "Cancer"
sign_lordstring
Lord of the ascendant sign — a key planet for the native.
example: "Moon"
nakshatra, pada
Nakshatra placement of the lagna point.
example:
nakshatra_lordstring
Nakshatra lord of the lagna — used in some dasha systems.
example: "Saturn"
ayanamsa_usednumber
Ayanamsa at the birth moment.
example: 24.1408

Usage tips

How to use it

  • Require accurate birth time
    Ask users for HH:MM accuracy. "I was born around 3 PM" is not enough — the ascendant may be wrong by an entire sign.
  • Display the lagna lord prominently
    The sign lord is the "co-host" of the chart. Many systems treat it as the most important planet.

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://divyastroapi.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 500 free credits. Sign up.