POST · TRANSIT VEDIC

Retrograde

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

Returns retrograde and direct station windows for planets. Each entry shows when a planet turns retrograde (Rx) or direct (D), the sign and degree of the station, and the duration. Supports five query types plus a motion filter to show only retrograde or only direct periods.

Sun and Moon never retrograde and are excluded from results.

Authentication

Required. See basic → Authentication.

Request body

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

Response shape

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

Use cases

  • Retrograde calendar — yearly view of all retrograde periods.
  • Mercury retrograde alerts — notify users when Mercury turns Rx.
  • Muhurta avoidance — flag retrograde planets for election timing.

Errors

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

Plus standard calendar endpoint errors.

See also