POST · WESTERN

Natal Planets

Endpoint POST https://starsapi.com/api/v3/western/natal/planets

Overview

Returns tropical positions for 15 celestial bodies and points: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron, Black Moon Lilith (Mean Apogee), North Node, South Node, and Part of Fortune. Each body includes absolute longitude, sign placement, degree within sign (both decimal and DMS), daily speed, retrograde flag, element, modality, modern/traditional ruler, and house placement.

The Part of Fortune is a calculated Arabic lot using the classical formula: ASC + Moon − Sun for day charts, ASC + Sun − Moon for night charts. It carries an is_calculated_point: true flag and shows which formula was applied.

Node type: defaults to true (True/Osculating Node), which is standard in Western astrology. Pass node_type: "mean" for Mean Node, or "both" to receive both.

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).
secondintegerNoBirth second. Default 0.
latitudenumberYesDecimal degrees (−90 to 90).
longitudenumberYesDecimal degrees (−180 to 180).
timezonestringYesIANA timezone (e.g. America/New_York).
house_systemstringNoAny of 25 supported systems. Default placidus. Affects house placement of planets. See house systems.
node_typestringNotrue, mean, or both. Default true.

Response shape

data.ascendant / data.midheaven

FieldTypeDescription
longitudenumberAbsolute tropical longitude (0–360).
longitude_dmsstringDegrees, minutes, seconds notation.
signstringZodiac sign name.
sign_numberintegerSign number (1=Aries through 12=Pisces).
sign_symbolstringUnicode zodiac symbol.
degree_in_signnumberDecimal degree within sign (0–29.99).
degree_in_sign_dmsstringDMS degree within sign.

data.planets.{name}

Each of the 15 bodies includes:

FieldTypeDescription
longitudenumberAbsolute tropical longitude (0–360).
longitude_dmsstringDMS notation.
signstringZodiac sign.
sign_numberinteger1–12.
sign_symbolstringUnicode symbol.
degree_in_signnumber0–29.99.
degree_in_sign_dmsstringDMS within sign.
speednumberDaily motion in degrees (negative = retrograde).
is_retrogradebooleanTrue if planet is in retrograde motion.
elementstringFire, Earth, Air, or Water.
modalitystringCardinal, Fixed, or Mutable.
ruler_modernstringModern ruler of the sign (includes Uranus, Neptune, Pluto).
ruler_traditionalstringTraditional ruler (classical 7 planets only).
houseintegerHouse number (1–12) under the selected house system.

Part of Fortune additionally includes is_calculated_point: true and formula showing which formula was used.

data.total_planets

Integer count of bodies returned (currently 15).

Errors

HTTPCodeCause
400MISSING_FIELDA required field is absent.
400INVALID_DATEInvalid calendar date or year outside range.
400INVALID_TIMEHour/minute/second outside valid range.
400INVALID_TIMEZONENot a valid IANA identifier.
400INVALID_COORDINATELatitude or longitude out of range.
500EPHEMERIS_ERRORSwiss Ephemeris computation failed.

See also

  • Planets Advanced — dignities, combust/cazimi, sect, mutual reception, speed classification
  • Aspects — natal aspects between all bodies
  • Houses — house cusps for 25 systems
  • Birth Details — confirm input without computation