LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Chart (Kundli)

GET
10 credits

/v1/chart/upapada

Upapada Lagna (UL, the arudha of the 12th house) with its lord, the grahas in it and the grahas whose graha drishti or rashi drishti falls on it.

Try it in the Playground

What this tells you

The Upapada Lagna (UL), the arudha pada of the 12th house, with the A12 working, the UL sign and its house from the lagna, the lord of the UL sign with its place counted from the UL, the grahas in the UL sign, and the grahas whose graha drishti or rashi drishti falls on it. The response states facts and makes no judgement.

Takes the same options as /v1/chart/arudha-padas; scorpio_lord and aquarius_lord also decide the lord of the UL sign. Rahu and Ketu take the 5th, 7th and 9th graha drishti.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/chart/upapada?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.
exceptionno—What happens when the counted pada falls in the bhava itself or in the 7th from it. `parashari` (default): the 10th from the counted sign is taken (BPHS ch. 29 v. 4-5). `none`: the counted sign always stands (Jaimini Sutras 1.1.29-31 as translated by B. Suryanarain Rao).
scorpio_lordno—Lord taken for Scorpio: `mars` (default) or `ketu`.
aquarius_lordno—Lord taken for Aquarius: `saturn` (default) or `rahu`.
langno—Language of names, labels and readings in the response: `en` (default), `hi`, `mr`, `gu`, `bn`, `te`, `ta`, `kn`, `ml`, `pa`. `locale` is accepted as an alias.

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",
  "options": {
    "exception": "parashari",
    "scorpio_lord": "mars",
    "aquarius_lord": "saturn"
  },
  "upapada": {
    "pada": {
      "house": 12,
      "label": "A12",
      "name": "Upapada",
      "arudha_sign_idx": 7,
      "arudha_sign": "Scorpio",
      "arudha_house": 10,
      "alt_label": "UL",
      "bhava_sign_idx": 9,
      "bhava_sign": "Capricorn",
      "lord": "Saturn",
      "lord_sign_idx": 8,
      "lord_sign": "Sagittarius",
      "count": 12,
      "counted_sign_idx": 7,
      "counted_sign": "Scorpio",
      "exception_applied": false,
      "lord_id": "saturn"
    },
    "sign_idx": 7,
    "sign": "Scorpio",
    "house": 10,
    "lord": "Mars",
    "lord_id": "mars",
    "lord_sign_idx": 7,
    "lord_sign": "Scorpio",
    "lord_house": 10,
    "lord_from_ul": 1,
    "occupants": [
      "Mars"
    ],
    "occupant_ids": [
      "mars"
    ],
    "graha_drishti": [
      "Ketu"
    ],
    "graha_drishti_ids": [
      "ketu"
    ],
    "rashi_drishti": [
      "Sun",
      "Venus",
      "Rahu",
      "Ketu"
    ],
    "rashi_drishti_ids": [
      "sun",
      "venus",
      "rahu",
      "ketu"
    ]
  },
  "source": "Jaimini Sutras 1.4.1 and Brihat Parashara Hora Shastra ch. 30 (Upapada is the arudha of the 12th house). Pada rule: Brihat Parashara Hora Shastra ch. 29 v. 1-5 (count from the bhava to its lord and the same again; a pada never stays in its own bhava or the 7th from it)"
}

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": "unknown or revoked API key",
    "request_id": "52a520f261d3db37"
  }
}

402 Payment Required

{
  "error": {
    "code": "daily_cap_exceeded",
    "message": "free-plan daily limit reached — try again tomorrow or upgrade to a paid plan",
    "request_id": "52a520f261d3db37"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded — retry after 12 seconds",
    "request_id": "52a520f261d3db37"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 7,500 welcome credits plus 1,500 free credits a month. Sign up.