Skip to main content
POST/v1/astro/kp/ruling-planets

KP Ruling Planets

Computes KP Ruling Planets at a given moment (no natal birth chart). Request body: latitude, longitude, optional target_date, target_time, target_timezone. Returns day lord, Moon sign/nakshatra/sub lords, ascendant sign/nakshatra/sub lords, and the combined list of ruling planets in priority order.

Request parameters

latituderequired
number
Location latitude in decimal degrees. North positive, south negative.
longituderequired
number
Location longitude in decimal degrees. East positive, west negative.
target_dateoptional
string | null
YYYY-MM-DD. Defaults to today.
target_timeoptional
string | null
HH:MM
target_timezoneoptional
string | null
IANA timezone

Response fields

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.ayanamsa
string
data.target_utc
string
data.day_lord
string
data.moon
object
data.moon.longitude
number
data.moon.rashi
string
data.moon.sign_lord
string
data.moon.nakshatra_lord
string
data.moon.sub_lord
string
data.ascendant
object
data.ascendant.longitude
number
data.ascendant.rashi
string
data.ascendant.sign_lord
string
data.ascendant.nakshatra_lord
string
data.ascendant.sub_lord
string
data.ruling_planets
array[string]

Errors

Missing or invalid API key.
Upstream ephemeris service error.
API key tier does not include this endpoint.
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.