POST · WESTERN

Transits

Endpoint POST https://starsapi.com/api/v3/western/forecasting/transits

Overview

Computes current (or specified date) transit positions and their aspects to the natal chart. Returns transit planet positions, all transit-to-natal aspects with orb and applying/separating status, transit planets mapped to natal houses, and aspects categorized as challenging/harmonious/neutral.

Default transit date is now. Pass transit_year/transit_month/transit_day to compute transits for any date.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
yearintegerYesBirth year.
monthintegerYesBirth month.
dayintegerYesBirth day.
hourintegerYesBirth hour.
minuteintegerYesBirth minute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
house_systemstringNoDefault placidus.
node_typestringNotrue, mean, or both. Default true.
transit_yearintegerNoTransit date year. Default: current year.
transit_monthintegerNoTransit date month. Default: current month.
transit_dayintegerNoTransit date day. Default: today.
transit_hourintegerNoTransit time hour. Default: current hour.
transit_minuteintegerNoTransit time minute. Default: current minute.

Response shape

FieldDescription
natal_planetsFull natal planet positions.
transit_planetsTransit planet positions at the specified date.
transit_aspectsArray of transit-to-natal aspects with orb, aspect type, applying/separating.
categoriesAspects grouped as challenging, harmonious, neutral.
transit_housesWhich natal house each transit planet falls in.
transit_dateThe transit date/time used.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEInvalid date.
400INVALID_TIMEZONENot valid IANA.
400INVALID_COORDINATEOut of range.
500EPHEMERIS_ERRORComputation failed.

See also