POST · TRANSIT WESTERN

Retrograde

Endpoint POST https://starsapi.com/api/v3/transit/western/retrograde

Returns retrograde and direct station windows with tropical sign positions. Supports a motion filter to show only retrograde (Rx) or direct (D) periods. Sun and Moon never retrograde and are excluded.

Authentication

Required.

Request body

FieldTypeRequiredDescription
query_typestringNocurrent (default), date, range, month, year.
timezonestringNoIANA timezone. Default UTC.
planetstringNoPlanet filter or all. Sun/Moon invalid.
motionstringNoall (default), Rx, or D.
datestring*Required for date query.
from_date, to_datestring*Required for range.
month, yearinteger*Required for month/year.

Response shape

FieldTypeDescription
planetstringPlanet name.
motionstringRx (retrograde) or D (direct).
signstringTropical sign at the station point.
start_date, start_timestringWhen the planet stations.
end_date, end_timestringWhen the planet stations again (opposite motion).
duration_daysnumberDuration of this Rx/D period.
station_degreestringDegree in sign at station (DMS).

Errors

HTTPCodeCause
400INVALID_MOTIONInvalid motion filter.
400INVALID_PLANETSun or Moon passed as filter.

See also