LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Chart (Kundli)

GET
20 credits

/v1/chart/ashtakvarga

Sarva + 7 Bhinna Ashtakavarga charts.

What this tells you

Ashtakavarga assigns "bindus" (points) to each sign, based on the positions of the 7 planets and the ascendant relative to each other. High bindus in a sign = that sign receives favorable energy. Used heavily for transit predictions ("when Jupiter transits a sign with 6 bindus, good events"). The Sarva total of 337 is a classical invariant. The values here are before any reduction (sodhana).

Request

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

example request
curl "https://api.lifeastroapi.com/v1/chart/ashtakvarga?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&time=10%3A30" \
  -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.
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
{
  "date": "1990-01-15",
  "time": "10:30",
  "location": {
    "lat": 19.076,
    "lon": 72.8777,
    "alt": 0
  },
  "tz": "Asia/Kolkata",
  "ayanamsa": "lahiri",
  "ayanamsa_value": 23.71795,
  "house_system": "whole_sign",
  "ashtakvarga": {
    "bav": [
      {
        "planet": "Sun",
        "bindus": [
          4,
          4
        ],
        "total": 48
      },
      {
        "planet": "Moon",
        "bindus": [
          6,
          4
        ],
        "total": 49
      }
    ],
    "sav": [
      33,
      31
    ],
    "sav_total": 337
  }
}

Field reference

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

FieldTypeMeaning
datestring
Birth date you sent (YYYY-MM-DD), echoed back.
example: "1990-01-15"
timestring
Birth time you sent, echoed back. "12:00" when you leave `time` out.
example: "10:30"
tzstring
Timezone you sent (IANA name or fixed offset such as +05:30), echoed back.
example: "Asia/Kolkata"
locationobject
Birth coordinates used. `alt` is in metres and is 0 unless you send `alt`.
example: { "lat": 19.076, "lon": 72.8777, "alt": 0 }
ayanamsastring
Ayanamsa used. Default lahiri; set it with the `ayanamsa` parameter (lahiri, raman, krishnamurti, fagan, yukteshwar, true_chitrapaksha).
example: "lahiri"
ayanamsa_valuenumber
Ayanamsa in degrees at the birth moment. Sidereal longitude = tropical longitude − this value.
example: 23.71795
house_systemstring
Echo of the optional `house_system` parameter (default whole_sign). This endpoint does not use it, so you never need to send it; only /v1/chart/houses changes with it.
example: "whole_sign"
ashtakvargaobject
Bhinna and Sarva Ashtakavarga for the chart.
example: { "bav": […], "sav": […], "sav_total": 337 }
ashtakvarga.bav[]array of 7 objects
Bhinna Ashtakavarga for Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn. Rahu and Ketu are not part of Ashtakavarga.
example: [{ "planet": "Sun", "bindus": […], "total": 48 }, …]
ashtakvarga.bav[].planetstring
Planet name. Translated with `locale`.
example: "Sun"
ashtakvarga.bav[].bindusinteger[12]
Bindus per sign. Index 0 = Aries, index 11 = Pisces — by sign, not by house.
example: [4, 4, …]
ashtakvarga.bav[].totalinteger
Sum of the 12 values. Fixed per planet: Sun 48, Moon 49, Mars 39, Mercury 54, Jupiter 56, Venus 52, Saturn 39.
example: 48
ashtakvarga.savinteger[12]
Sarva Ashtakavarga: the 7 `bindus` arrays added sign by sign. Index 0 = Aries, index 11 = Pisces.
example: [33, 31, …]
ashtakvarga.sav_totalinteger
Sum of the 12 `sav` values. Always 337.
example: 337

Usage tips

How to use it

  • Transit scoring
    Look up the sign a planet is transiting in `sav` (or in that planet's own `bindus`) — high = favorable transit. /v1/ashtakavarga/transit-score does this for you: send the birth chart as `birth.date`, `birth.time`, `birth.tz`, `birth.lat`, `birth.lon` and the transit day as `date` and `tz`.
  • Heat-map visualization
    Render the 12 `sav` values (index 0 = Aries) as a bar chart, colored from red (low) to green (high).
  • Reductions (sodhana)
    For trikona and ekadhipatya reductions, call /v1/ashtakavarga/sarva. It reads the birth chart from `birth.date`, `birth.time`, `birth.tz`, `birth.lat`, `birth.lon`.

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.