Skip to main content
POST/v1/astro/transits

Planetary transits — Gochar

Scans a date range for planetary sign ingresses and retrograde/direct station events. Requires authenticated API key access (Vedic tier or above in product terms). Returns grouped transit events for supported planets. Also known as Gochar. Returns planetary sign ingresses and retrograde/direct station events for a given date range.

Request parameters

from_daterequired
string
Start of the date range to scan, in YYYY-MM-DD format.
to_daterequired
string
End of the date range to scan, in YYYY-MM-DD format. Maximum range is 3 years (1095 days) from from_date.

Response fields

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.ingresses
array[object]
All sign ingress events in the requested date range. Includes all 9 Vedic planets: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu.
data.ingresses[].planet
string
Planet name, e.g. Sun, Mars, Rahu
data.ingresses[].from_sign
integer
Zero-based sign index the planet is leaving, 0 for Aries through 11 for Pisces
data.ingresses[].to_sign
integer
Zero-based sign index the planet is entering
data.ingresses[].jd
number
Julian Day number of the ingress moment
data.ingresses[].date_iso
string
Date of ingress in YYYY-MM-DD format
data.ingresses[].is_sankranti
boolean
True for solar ingress (Sankranti); false for all other planets.
data.ingresses[].retrograde_ingress
boolean
True when the planet is retrograde (speed < 0) at the ingress moment.
data.stations
array[object]
All retrograde and direct station events in the requested date range. Only the 7 classical planets (Sun through Saturn) have stations. Rahu and Ketu are always excluded from this list.
data.stations[].planet
string
Planet name. Rahu and Ketu never have station events.
data.stations[].station_type
string
retrograde — planet appears to reverse direction. direct — planet resumes forward motion.
data.stations[].jd
number
Julian Day number of the station moment
data.stations[].date_iso
string
Date of station in YYYY-MM-DD format
data.stations[].longitude
number
Sidereal longitude of the planet at the moment of station

Errors

Missing or invalid API key.
Upstream ephemeris service error.
API key tier does not include this endpoint.
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.