← Guides

Retrograde and combustion: how the API decides

Two booleans that look trivial - retrograde and combust - each hide a convention. This guide shows exactly how the engine sets them, where each one appears, and how precise the dates are.

Updated

Retrograde: the sign of the speed

A planet is retrograde: true when its geocentric longitude is decreasing at that instant - the engine reads the planet's longitudinal speed and checks whether it is negative. There is no threshold and no "stationary" state: a planet a few hours from its station is either direct or retrograde.

Rahu and Ketu are the exception. The API uses the mean lunar node, and the nodes are conventionally treated as always retrograde, so both always return retrograde: true, in a birth chart, in /v1/planets and in transit states. Ketu is computed as Rahu + 180° and inherits the flag. The Sun and Moon are never retrograde.

The flag appears on every planet in /v1/charts/birth, /v1/planets, the KP and Lal Kitab charts and the Western charts (where the nodes are the true node and are not forced).

Combustion: an orb per planet

A planet is combust when it is within a fixed angular distance of the Sun. The engine uses these orbs:

Combustion orbs (degrees from the Sun)
MoonMarsMercuryJupiterVenusSaturn
121714111015

The orb does not change when a planet is retrograde, and Rahu and Ketu are never combust. Combustion is reported in one place only: POST /v1/transits/events, as combust in initial_states and as combust_start / combust_end events. Birth-chart endpoints do not carry a combust field; if you need it for a natal chart, compare each planet's longitude with the Sun's using the orbs above.

A real Mercury retrograde

Mercury from 1 December 2026 to 30 April 2027, sampled daily and then weekly (step_days: 7):

Mercury events, daily vs weekly sampling (UTC dates)
Eventstep_days: 1step_days: 7
combust_start2026-12-072026-12-08
retrograde_start2027-02-102027-02-16
sign_change Aquarius → Capricorn2027-02-242027-03-02
retrograde_end2027-03-042027-03-09
sign_change Capricorn → Aquarius2027-03-122027-03-16

Events are stamped at the first sample after the change, so the weekly run reports the retrograde six days late. The default daily step can be up to 24 hours late, which is fine for a calendar and too coarse for "the exact station". To narrow an event, request a short window around it with a fractional step_days (for example 0.0417, one hour).

Notice the retrograde Mercury dropping back into Capricorn and re-entering Aquarius two weeks later: one retrograde period produced two sign_change events. See transits for handling repeat ingresses.

Questions

How does the API decide that a planet is retrograde?
By the sign of its speed: retrograde is true when the planet's geocentric longitude is decreasing at that instant. There is no threshold and no separate stationary state.
How is combustion decided?
A planet is combust when it is within a fixed angular distance of the Sun. The orb is different for each planet.