POST · TRANSIT VEDIC

Advanced

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

Returns all fields from basic plus an analytical layer for the 9 classical grahas: dignity (string + boolean flags), combustion distance, baladi avastha, nakshatra lord, nakshatra completion percentage, and sign element.

Date/time fields are optional and default to now. For Sanskrit names, navamsa, and outer planets, use extended.

Authentication

Required. Three methods accepted:

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

Identical to basic. All date/time fields optional (defaults to now).

FieldTypeRequiredDescription
latitudenumberYesObserver latitude, −90…90.
longitudenumberYesObserver longitude, −180…180.
timezonestringYesIANA timezone.
yearsecondintegerNoSnapshot moment. Defaults to now.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.

Response shape

moment and zodiac are identical to basic. The ascendant gains sign_element and nakshatra_lord. Each planet gains the fields below on top of the basic set.

Additional planet fields (over basic)

FieldTypeDescription
sign_elementstringFire, Earth, Air, or Water.
nakshatra_lordstringVimshottari lord of the nakshatra.
nakshatra_percentnumberHow far the planet has traversed the nakshatra (0–100).
baladi_avasthastringAge-based state: Bala, Kumara, Yuva, Vriddha, Mrita.
dignitystringexalted, moolatrikona, own_sign, debilitated, or neutral.
is_exaltedbooleanExaltation flag.
is_debilitatedbooleanDebilitation flag.
is_own_signbooleanOwn-sign flag.
is_moolatrikonabooleanMoolatrikona flag (degree-bounded).
combust_distancenumber | nullAngular distance from Sun in degrees. null for Sun, Rahu, Ketu.

Dignity priority

When multiple dignities could apply, the endpoint resolves in this order: exalted → moolatrikona → own sign → debilitated → neutral. Moolatrikona is degree-bounded (e.g. Sun in Leo 0–20°). Nodes (Rahu/Ketu) have no classical dignity and always return neutral.

Use cases

  • Transit strength panel — show each planet’s dignity and avastha to assess transit quality.
  • Combustion alerts — use combust_distance to warn when a planet approaches the Sun.
  • Nakshatra progress barsnakshatra_percent drives visual completion indicators.
  • Element balance — aggregate sign_element across all transiting planets.

Errors

Same error set as basic.

See also