LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Chart (Kundli)

GET
10 credits

/v1/chart/kp-sublord

KP star, sub and sub-sub lords of every planet, and the KP ruling planets for the moment.

Try it in the Playground

What this tells you

KP (Krishnamurti Paddhati) divides each nakshatra into 9 unequal subs sized by the Vimshottari dasha years. The sub lord is the finest-grained significator — central to KP and horary work. This endpoint gives the star, sub and sub-sub lord of each of the 9 grahas. KP house cusps (Placidus) with their star, sub and sub-sub lords come from /v1/chart/kp-house-significator.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/chart/kp-sublord?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.
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",
  "kp": [
    {
      "planet": "Sun",
      "star_lord": "Sun",
      "sub_lord": "Rahu",
      "sub_sub_lord": "Moon"
    },
    {
      "planet": "Moon",
      "star_lord": "Venus",
      "sub_lord": "Jupiter",
      "sub_sub_lord": "Jupiter"
    }
  ],
  "ruling_planets": {
    "day_lord": "Moon",
    "lagna_nakshatra_lord": "Jupiter",
    "lagna_rashi_lord": "Saturn",
    "lagna_sub_lord": "Ketu",
    "moon_nakshatra_lord": "Venus",
    "moon_rashi_lord": "Sun",
    "moon_sub_lord": "Jupiter"
  }
}

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"
kp[]array of 9 objects
One entry per graha, Sun to Ketu. Planets only — no house cusps.
example: [{ "planet": "Sun", "star_lord": "Sun", … }, …]
kp[].planetstring
Planet name. Translated with `locale`.
example: "Sun"
kp[].star_lordstring
Star lord: the Vimshottari lord of the nakshatra the planet is in.
example: "Sun"
kp[].sub_lordstring
KP sub lord. The nakshatra is split into 9 unequal parts in proportion to the Vimshottari dasha years, starting from the star lord; this is the lord of the part the planet falls in.
example: "Rahu"
kp[].sub_sub_lordstring
The sub is split again the same way, starting from the sub lord; this is the lord of that finer part.
example: "Moon"
ruling_planetsobject
KP ruling planets for the date, time and place you sent: the day lord and the star, sign and sub lords of the ascendant and the Moon. Names follow `lang`.
example: { "day_lord": "Moon", … }
ruling_planets.day_lordstring
Lord of the Vedic weekday, which runs from sunrise to sunrise at the place: before sunrise it is still the previous day.
example: "Moon"
ruling_planets.lagna_nakshatra_lordstring
Star lord of the ascendant degree.
example: "Jupiter"
ruling_planets.lagna_rashi_lordstring
Lord of the ascendant sign.
example: "Saturn"
ruling_planets.lagna_sub_lordstring
KP sub lord of the ascendant degree.
example: "Ketu"
ruling_planets.moon_nakshatra_lordstring
Star lord of the Moon.
example: "Venus"
ruling_planets.moon_rashi_lordstring
Lord of the Moon sign.
example: "Sun"
ruling_planets.moon_sub_lordstring
KP sub lord of the Moon.
example: "Jupiter"

Usage tips

How to use it

  • Use the KP ayanamsa
    Sub lords change with the ayanamsa. KP practice uses the Krishnamurti ayanamsa, so pass `ayanamsa=krishnamurti`; otherwise Lahiri is used.
  • Ruling planets for horary and timing
    Send the moment of judgement (the time the question is asked, or now) as date, time and place: `ruling_planets` are then the KP ruling planets for that moment.
  • KP-specific apps
    Only call this endpoint when your app supports KP-style analysis. Traditional Parashari apps should use /v1/chart/planets and /v1/chart/houses instead.

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.