POST · VEDIC

KP Planets

Endpoint POST https://starsapi.com/api/v3/vedic/kp/planets

Returns every planet (plus the Ascendant) with the full KP lordship chain: sign lord, nakshatra (star) lord, sub lord, and sub-sub lord, with Placidus house placement. The sub-lord chain is the core of KP analysis and is computed from the Vimshottari-proportional sub-divisions of each nakshatra.

All KP endpoints default to the KP Old (Krishnamurti) ayanamsa and mean nodes, matching classical KP ephemeris practice. Both are overridable per request.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
namestringNoEchoed in the response.
yearintegerYesYear.
monthintegerYesMonth, 1–12.
dayintegerYesDay of month.
hourintegerYesHour, 24-hour.
minuteintegerYesMinute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
ayanamsastringNoDefault kp_old (Krishnamurti). Any supported ayanamsa accepted.
node_typestringNomean (default, per classical KP ephemeris practice) or true.

Response shape

FieldTypeDescription
planets[]arrayAscendant first, then Sun…Ketu.
planets[].sign_lord / nak_lord / sub_lord / sub_sub_lordstringThe four-level KP chain (RL/NL/SL/SS).
planets[].houseintegerPlacidus house occupied.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_TIMEHour/minute/second out of range.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
400INVALID_PARAMBad ayanamsa, node_type, or other option.
405METHOD_NOT_ALLOWEDNon-POST request.

See also