Sign changes over a range
POST /v1/transits/events takes a UTC range (from, to), an optional planets list and a sampling step, and returns every state change in the range, sorted by time, plus each planet's state at from in initial_states. Positions are sidereal Lahiri (meta.ayanamsa: "lahiri").
{ "from": "2026-12-01", "to": "2027-12-31", "planets": ["Jupiter", "Saturn", "Rahu"] }| Date (UTC) | Planet | From → to |
|---|---|---|
| 2026-12-06 | Rahu | Aquarius → Capricorn |
| 2027-01-25 | Jupiter | Leo → Cancer (retrograde) |
| 2027-06-03 | Saturn | Pisces → Aries |
| 2027-06-26 | Jupiter | Cancer → Leo |
| 2027-10-21 | Saturn | Aries → Pisces (retrograde) |
| 2027-11-27 | Jupiter | Leo → Virgo |
Saturn enters Aries in June 2027 and is back in Pisces by October; Jupiter spends five months back in Cancer. Rahu's ingress goes from Aquarius to Capricorn because the nodes move backwards through the zodiac. An alert that fires on every sign_change will message a user three times for what they think of as one transit - decide whether you want the first ingress, the final one, or all of them, and read from_sign / to_sign to tell them apart.
Precision is the step size
The engine samples positions every step_days (default 1, maximum 90) and timestamps an event at the first sample after the change, so an event can be up to one step late. Daily sampling is right for slow planets; for the Moon, which changes sign every two to three days, use a step below 1. The retrograde and combustion guide shows what a 7-day step does to the dates.
Transit against the natal chart
Gochara proper is read from the natal Moon sign. Three endpoints do that comparison for you, and each takes an explicit moment so results are reproducible:
POST /v1/dosha/sade-satiwithas_of: for the sample birth (natal Moon in Sagittarius) on 1 December 2026 it returnsphase: "ardhashtama"- transit Saturn in Pisces, the 4th sign from the Moon. The major phases arerising,peakandsetting(Saturn in the 12th, 1st and 2nd from the Moon);ardhashtamaandashtamaare the 4th and 8th.POST /v1/chandrashtama-periodswithanchor_dateandcount: the windows when the transiting Moon is in the 8th sign from the natal Moon (Cancer here). Three from 1 December 2026 start on 25 December, 21 January and 18 February, each about 48 hours long.POST /v1/kp/transitwithtransit_at: transiting planets resolved to KP star and sub lords against the natal KP cusps.
Omit as_of, anchor_date or transit_at and these endpoints use the current time, so the same request answers differently tomorrow. Always send the moment when you cache or store results.
Questions
- How precise are transit event timestamps?
- As precise as the sampling step. The engine samples every
step_days(default 1, maximum 90) and stamps an event at the first sample after the change, so an event can be up to one step late. - Which zodiac do transit events use?
- Sidereal with the Lahiri ayanamsa; the response says so in
meta.ayanamsa.