POST · VEDIC

KP Transit House Cusps

Endpoint POST https://starsapi.com/api/v3/vedic/kp/transit-house-cusps

Returns the 12 Placidus house cusps for any moment, each with longitude (decimal + DMS), sign with lord, nakshatra with lord, and the KP sub lord and sub-sub lord. In KP, the cuspal sub lord is the deciding factor for a house's promise — this endpoint gives the cuspal picture of the sky at the moment of query.

Date and time are optional — omit them entirely and the current moment at the given location is used.

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

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.
zodiac / systemstringAlways sidereal / kp.
house_systemstringPlacidus (KP standard).
ascendantobjectFull ascendant block with nakshatra pada and KP lords.
house_cuspsobjectKeyed "1""12". Each cusp: cusp number, longitude (decimal + DMS), degree_in_sign, sign + sign_lord, nakshatra + nakshatra_lord, sub_lord, sub_sub_lord.

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