Skip to main content
POST/v1/astro/transits

Planetary transits — Gochar

Scans a date range for planetary sign ingresses (Moon included) and retrograde/direct station events, each with its exact UTC time. Lahiri sidereal by default; set ayanamsa to 'tropical' for Western (tropical) sign changes, or 'raman' / 'kp' for those ayanamsas. Also known as Gochar.

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.
ayanamsaoptional
string
Zodiac for the sign changes. lahiri (default), raman and kp are sidereal ayanamsas (Vedic). tropical is the Western zodiac with no ayanamsa, so ingresses become Western sign changes (Sun into Aries at the March equinox, Moon sign changes every ~2.5 days). Station moments do not depend on this; only their reported longitude does.

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.zodiac
string
Zodiac used for every event: sidereal (Vedic, default) or tropical (Western).
data.ayanamsa
string
Ayanamsa used: lahiri (default), raman, kp, or tropical (no ayanamsa).
data.ingresses
array[object]
All sign ingress events in the requested date range, Moon sign changes included. Covers all 9 Vedic planets: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu (Rahu/Ketu are the mean nodes).
data.ingresses[].planet
string
Planet name, e.g. Sun, Mars, Rahu
data.ingresses[].planet_id
string | null
Fixed id of planet (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.ingresses[].planet_label
string | null
planet in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
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[].from_sign_name
string | null
Name of the sign the planet is leaving, e.g. Pisces
data.ingresses[].from_sign_name_id
string | null
Fixed id of from_sign_name (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.ingresses[].from_sign_name_label
string | null
from_sign_name in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.ingresses[].to_sign_name
string | null
Name of the sign the planet is entering, e.g. Aries
data.ingresses[].to_sign_name_id
string | null
Fixed id of to_sign_name (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.ingresses[].to_sign_name_label
string | null
to_sign_name in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.ingresses[].jd
number
Julian Day number of the ingress moment
data.ingresses[].date_iso
string
Instant of ingress in UTC, ISO 8601 without an offset (YYYY-MM-DDTHH:MM:SS). Read it as UTC; datetime_utc carries the Z.
data.ingresses[].datetime_utc
string | null
Instant of ingress, ISO 8601 UTC with Z (e.g. 2026-06-02T08:03:11Z).
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.ingresses[].zodiac
string | null
Zodiac the signs are measured in: sidereal or tropical.
data.ingresses[].ayanamsa
string | null
Ayanamsa used: lahiri, raman, kp, or tropical (none).
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
Instant of station in UTC, ISO 8601 without an offset (YYYY-MM-DDTHH:MM:SS). Read it as UTC; datetime_utc carries the Z.
data.stations[].datetime_utc
string | null
Instant of station, ISO 8601 UTC with Z.
data.stations[].longitude
number
Longitude of the planet at the moment of station, in the requested zodiac (sidereal by default; tropical when ayanamsa is tropical).
data.stations[].sign
integer | null
Zero-based sign index at the station, 0 for Aries through 11 for Pisces
data.stations[].sign_name
string | null
Name of the sign at the station, e.g. Gemini
data.stations[].zodiac
string | null
Zodiac the longitude is measured in: sidereal or tropical.
data.stations[].ayanamsa
string | null
Ayanamsa used: lahiri, raman, kp, or tropical (none).
key_labels
object | null
Labels of the names and ids this answer uses as map keys ({"Sun": ...} -> {"Sun": "सूर्य"}, {"varna": ...} -> {"varna": "वर्ण"}), in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; the keys themselves never change.

Errors​

Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Confirm your email first. Open the link we emailed you, or sign in at asterwise.com/dashboard to send a new one.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.