POST · VEDIC

Varga Signs

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

Returns the sign occupied by each planet across all 16 Parashari divisional charts in a single call — the “Signs occupied in the 16 divisions” table. Each row is one varga (D1–D60), each column is one of the 9 Vedic planets.

This is a table-first endpoint: the response is shaped so you can loop it directly into a grid without any post-processing. For the corresponding dignity table, call /charts/varga-dignities. 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, one per varga in order (D1, D2, D3, D4, D7, D9, D10, D12, D16, D20, D24, D27, D30, D40, D45, D60). Each object has code, name, and the sign name for each of the 9 Vedic planets.

FieldTypeDescription
charts[]
codestringVarga code (e.g. D9).
namestringSanskrit chart name (e.g. Navamsa).
SunstringSign occupied by Sun in this varga.
MoonstringSign occupied by Moon.
MarsstringSign occupied by Mars.
MercurystringSign occupied by Mercury.
JupiterstringSign occupied by Jupiter.
VenusstringSign occupied by Venus.
SaturnstringSign occupied by Saturn.
RahustringSign occupied by Rahu.
KetustringSign occupied by Ketu.
top-level
total_chartsintegerAlways 16.

Use cases

  • 16-varga sign grid — render the classic “Signs occupied in the 16 divisions” table directly from the response.
  • Vargottama detection — compare D1 and D9 rows to find planets in the same sign in both charts.
  • Sign repetition analysis — count how many vargas a planet appears in the same sign to gauge its varga strength.
  • Cross-varga comparison — display side-by-side how a planet moves through different vargas for research or teaching.

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