POST · VEDIC

Varga Dignities

Endpoint POST https://starsapi.com/api/v3/vedic/charts/varga-dignities

Returns the dignity of each planet across all 16 Parashari divisional charts in a single call — the “Dignities in the 16 divisions” table. Each row is one varga (D1–D60), each column is one of the 9 Vedic planets, and the value is the planet’s dignity in that varga.

Pair this with /charts/varga-signs for the companion sign-placement table. For single-chart planet data, use /charts/varga-planets.

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

See authentication for security considerations.

Request body

Send a JSON object with Content-Type: application/json. Standard birth data — no chart parameter needed (all 16 are always returned).

FieldTypeRequiredDescription
yearintegerYesBirth year, 4-digit (e.g. 1990).
monthintegerYesBirth month, 112.
dayintegerYesDay of month, 131.
hourintegerYesHour in 24-hour local clock time, 023.
minuteintegerYesMinute, 059.
secondintegerNoSecond, 059. Default 0.
latitudenumberYesSigned decimal degrees, −90…90. Positive = North.
longitudenumberYesSigned decimal degrees, −180…180. Positive = East.
timezonestringYesIANA timezone identifier (e.g. Asia/Kolkata).
ayanamsastringNoDefault lahiri. Full list →
node_typestringNomean (default) or true.

Response shape

data.charts is an array of 16 objects. Each has code, name, and the dignity value for each of the 9 planets.

FieldTypeDescription
charts[]
codestringVarga code (e.g. D9).
namestringSanskrit chart name (e.g. Navamsa).
SunKetustringDignity of the planet in this varga.
top-level
total_chartsintegerAlways 16.

Dignity values

ValueMeaning
exaltedPlanet is in its sign of exaltation — strongest placement.
own_signPlanet is in a sign it rules.
moolatrikonaPlanet is in its moolatrikona range.
friendPlanet is in a friendly sign.
neutralPlanet is in a neutral sign.
enemyPlanet is in an enemy sign.
debilitatedPlanet is in its sign of debilitation — weakest placement.

Use cases

  • 16-varga dignity grid — render the classic “Dignities in the 16 divisions” table with colour-coded cells (green for exalted, red for debilitated).
  • Varga Vimshopaka strength — count exalted/own/friendly placements across vargas to compute a custom strength score.
  • Weak planet detection — flag planets that are debilitated in multiple vargas as chronically weak.
  • Dignity shift analysis — a debilitated D1 planet that is exalted in D9 may indicate neecha bhanga or hidden potential.

Errors

HTTPCodeCause
400MISSING_FIELDA required birth field is absent.
400INVALID_DATEInvalid calendar date.
400INVALID_TIMEHour/minute/second out of range.
400INVALID_TIMEZONENumeric or non-IANA timezone.
400INVALID_COORDINATElatitude / longitude out of range.
401AUTH_MISSING_KEYNo API key in request.
401AUTH_INVALID_KEYKey format invalid or not found.
401AUTH_REVOKED_KEYKey has been revoked.
403AUTH_ORIGIN_DENIEDRequest from non-whitelisted origin.
405METHOD_NOT_ALLOWEDNon-POST request.
429RATE_LIMIT_EXCEEDEDPlan quota exceeded.
500CALCULATION_ERROREphemeris calculation failed.

Error response format

{
  "success": false,
  "error": {
    "code": "INVALID_TIMEZONE",
    "message": "Unrecognised timezone: 'Asia/Calcutta_'. Use a valid IANA identifier such as 'Asia/Kolkata'."
  }
}

See also