POST · VEDIC

KP Transit Ruling Planets

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

Returns the 5 KP Ruling Planets for any moment — Ascendant Sign Lord, Ascendant Star Lord, Moon Sign Lord, Moon Star Lord and Day Lord — each with its source explanation, plus the deduplicated significator list and full sub-lord detail for the ascendant and Moon. Built for Prashna (horary) confirmation and moment-of-query timing work.

Date and time are optional — omit them entirely for the ruling planets of right now at the given location, the classic KP usage.

Prefer a natal-style snapshot with strength ranking instead? See KP Ruling Planets, which returns the same lords in compact moon/ascendant blocks with a frequency-based summary.

Authentication

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

Request body

FieldTypeRequiredDescription
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
yearintegerNoDefaults to the current moment when date/time fields are omitted.
monthintegerNoMonth, 1–12.
dayintegerNoDay of month.
hourintegerNoHour, 24-hour.
minuteintegerNoMinute.
secondintegerNoDefaults to 0 when any date/time field is supplied; only when all date/time fields are omitted does it follow the current clock.
placestringNoEchoed in moment.place.
ayanamsastringNoDefault kp_old (Krishnamurti). Any supported ayanamsa accepted.
node_typestringNomean (default) or true.

Response shape

FieldTypeDescription
momentobjectThe moment used — date, time, timezone, place.
ascendant / moonobjectFull positional blocks — longitude (decimal + DMS), sign + lord, nakshatra + lord + pada, sub_lord, sub_sub_lord.
kp_ruling.ruling_planetsarrayThe 5 ruling planets, each with ruling_type, planet and a human-readable source.
kp_ruling.unique_significatorsarrayDeduplicated planet list, in order of derivation.
kp_ruling.significator_countintegerCount of unique significators.
kp_ruling.day_infoobjectday_name and day_lord.
kp_ruling.kp_sublordsobjectCompact sign/star/sub/sub-sub lord summary for ascendant and moon.

Errors

HTTPCodeCause
400MISSING_FIELDtimezone, latitude or longitude 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