POST · TRANSIT VEDIC

Ephemeris

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

Returns daily sidereal planetary positions for every day in a given month, computed at 00:00 UTC. Includes all classical planets plus outer planets (Uranus, Neptune, Pluto), and provides both true and mean node positions for Rahu and Ketu in every row.

The timezone parameter only adjusts the displayed local time label — the underlying data is always computed at midnight UTC for consistency.

Authentication

Required. See basic → Authentication.

Request body

FieldTypeRequiredDescription
monthintegerYesCalendar month, 1–12.
yearintegerYes4-digit year.
timezonestringNoIANA timezone for local time label. Default UTC.
ayanamsastringNoDefault lahiri.
planetstringNoall (default), traditional (7 classical + nodes), or specific planet name (e.g. Jupiter, Rahu).

Response shape

query

Echo of resolved parameters.

Each day in ephemeris

FieldTypeDescription
datestringYYYY-MM-DD.
weekdaystring3-letter weekday (e.g. Mon).
time_utcstringAlways 00:00.
time_localstringLocal time equivalent of midnight UTC.

Planet entries per day

FieldTypeDescription
namestringPlanet name. Nodes use Rahu (True), Rahu (Mean), etc.
symbolstringUnicode glyph (e.g. , , ).
longitudenumberSidereal ecliptic longitude (0–360).
signstringZodiac sign.
degree_in_signnumberDegree within sign (0–30).
degree_dmsstringDMS format.
is_retrogradebooleanRetrograde flag.

Node handling

Unlike snapshot endpoints where node_type selects one variant, the ephemeris returns both true and mean nodes in every row, keyed as rahu_true, rahu_mean, ketu_true, ketu_mean. This lets you display either (or both) without a second API call.

Use cases

  • Panchang tables — daily planetary position reference for almanac/calendar apps.
  • Ephemeris page — traditional tabular ephemeris display.
  • Transit trend analysis — plot a planet’s daily longitude over a month.
  • Node comparison — compare true vs mean Rahu/Ketu positions side by side.

Errors

HTTPCodeCause
400VALIDATION_ERRORMonth or year out of range.
400INVALID_PLANETUnrecognised planet filter.
400INVALID_TIMEZONENumeric or non-IANA timezone.

Plus standard auth errors.

See also