POST · WESTERN

Planet in Sign

Endpoint POST https://starsapi.com/api/v3/western/predictions/planet-in-sign

Computes the tropical natal chart and returns a prewritten interpretation for each of 13 bodies in its sign — Sun through Pluto, plus Chiron, Lilith (Mean Black Moon), and Part of Fortune. The 156 combinations cover the canonical Western sign readings. Outer planets (Uranus, Neptune, Pluto) are written in generational framing because they linger years per sign; Chiron and Lilith carry their own thematic voice (wound/healing and suppressed power respectively); inner planets carry the fully personal voice.

For house-based readings use planet-in-house. For aspect interpretations use aspects.

Content tiers — the content tier is derived from your API key, not from the request. Internal keys receive premium content (richer voice, deeper detail); public keys receive canonical. Future white-label partners will receive their own branded text via partner_{slug}. When the requested language has no entry, the response falls back to English automatically.

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.
monthintegerYesBirth month, 1–12.
dayintegerYesBirth day.
hourintegerYesBirth hour, 0–23 (24-hour).
minuteintegerYesBirth minute, 0–59.
secondintegerNoBirth second, default 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone (e.g. Asia/Kolkata).
languagestringNoLanguage code. Supported: en, es (Spanish), fr (French), pt (Portuguese), it (Italian), de (German), ru (Russian). Default en. Falls back to English when the requested language has no entry.
house_systemstringNoAny of 23 supported systems. Default placidus. See house systems.
node_typestringNoOne of true, mean, both. Default true.

Response shape

FieldTypeDescription
house_systemstringThe house system actually applied (default Placidus).
languagestringThe language requested.
predictions[]arrayOne entry per body (Sun…Pluto, Chiron, Lilith, Fortune). Each carries planet, house, sign, retrograde, and prediction (title and text). When the combination has no entry in any tier or language, prediction is null.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_PARAMBad language value (must be one of the seven supported codes).
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
405METHOD_NOT_ALLOWEDNon-POST request.

See also