POST · WESTERN

House Rulers

Endpoint POST https://starsapi.com/api/v3/western/predictions/house-rulers

For each of the 12 houses, identifies the sign on the cusp, the planet that rules that sign (modern Western rulership), and which house that ruling planet occupies. Returns a prewritten interpretation with keyword pills for each of the 144 possible ruler-in-house combinations.

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.
dayintegerYesBirth day.
hourintegerYesBirth hour, 0–23.
minuteintegerYesBirth minute, 0–59.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
languagestringNoDefault en.
house_systemstringNoDefault placidus.

Response shape

FieldTypeDescription
rulers[]array12 entries, one per house.
.houseintegerHouse number (1–12).
.cusp_signstringSign on this house’s cusp.
.rulerstringPlanet ruling the cusp sign.
.ruler_signstringSign the ruler occupies.
.ruler_houseintegerHouse the ruler occupies.
.ruler_retrogradebooleanWhether the ruler is retrograde.
.predictionobjecttitle, text, keywords.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
405METHOD_NOT_ALLOWEDNon-POST request.

See also