POST · VEDIC

Bhava Houses

Endpoint POST https://starsapi.com/api/v3/vedic/houses/bhava

Returns house boundary data for the Bhava (Equal House) system — sign, lord, begin/madhya/end cusps, and planet occupants for each of the 12 houses, plus the four chart angles (ASC, MC, DSC, IC). In the Equal House system, the ascendant degree sits at the mid-point of the 1st house, and each house spans exactly 30°.

For chart images of this house system, use /charts/bhava. For other house systems, see /houses/chalit (Placidus) and /houses/sripati (Sripati).

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, 4-digit.
monthintegerYesBirth month, 112.
dayintegerYesDay of month.
hourintegerYesHour, 24-hour format.
minuteintegerYesMinute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees, −90…90.
longitudenumberYesDecimal degrees, −180…180.
timezonestringYesIANA timezone identifier.
ayanamsastringNoDefault lahiri. Full list →
node_typestringNomean (default) or true.

Response shape

houses.{1–12}

FieldTypeDescription
signstringSign on the house cusp.
sign_lordstringRuling planet of that sign.
beginstringHouse start boundary in Sign D°M′S″ format.
madhyastringHouse mid-point (bhava madhya).
endstringHouse end boundary.
planetsarray2-letter planet codes occupying this house (e.g. ["Su", "Me"]). Empty array if none.

angles

Four chart angles with absolute longitude, sign, and degree within sign.

KeyFull nameDescription
ascAscendantRising degree — cusp of 1st house.
mcMidheaven (MC)Medium Coeli — cusp of 10th house.
dscDescendantSetting degree — cusp of 7th house.
icImum Coeli (IC)Nadir — cusp of 4th house.

Each angle contains:

FieldTypeDescription
longitudenumberAbsolute sidereal longitude (0–360).
signstringSign name.
degree_dmsstringDegree within the sign.

Use cases

  • House table — render a 12-row house grid showing sign, lord, cusps, and occupants.
  • Custom chart rendering — use begin/end boundaries to draw house divisions programmatically.
  • Angles display — show ASC/MC/DSC/IC in a chart header or summary card.
  • Planet-in-house lookup — find which house a planet occupies under Equal House rules.

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.
405METHOD_NOT_ALLOWEDNon-POST request.

See also