POST · VEDIC

Planet in House

Endpoint POST https://starsapi.com/api/v3/vedic/predictions/planet-in-house

Returns Vedic house-placement interpretations for all 9 planets based on their whole-sign house from the sidereal ascendant. Each planet entry includes house, sign, nakshatra, retrograde status, and a detailed text interpretation with keywords. Coverage: 9 planets × 12 houses = 108 unique entries.

Authentication

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

Request body

FieldTypeRequiredDescription
yearintegerYesBirth year, 1800–2400.
monthintegerYesBirth month, 1–12.
dayintegerYesDay of month.
hourintegerYesHour, 0–23.
minuteintegerYesMinute, 0–59.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone identifier.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.
languagestringNoDefault en. Supported: en, es, fr, pt, it, de, ru, hi, ta, te, kn, ml, bn.

Response shape

data.planets is an array of 9 objects (Sun through Ketu), each with:

FieldTypeDescription
titlestringe.g. "Sun in 9th House".
planetstringPlanet name.
houseintegerWhole-sign house, 1–12.
house_karakastringHouse significations.
signstringSign name.
sign_lordstringLord of the sign.
nakshatrastringNakshatra name.
nakshatra_padaintegerPada 1–4.
is_retrobooleanRetrograde status.
degreenumberDegree within sign.
textstringDetailed interpretation paragraph.
keywordsarray5 keyword strings.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEYear out of range or bad calendar date.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELatitude or longitude out of range.
400INVALID_PARAMBad node_type, ayanamsa, or language.
405METHOD_NOT_ALLOWEDNon-POST request.
500COMPUTE_ERRORChart computation failed.

See also