Planet Positions
POSTAvailable
https://api.96astroapi.com/v1/vedic-charts/planet-positionsSidereal longitude, sign and sign lord, nakshatra, nakshatra lord and pada, house, speed, retrograde and combust flags for the Ascendant, the nine grahas and Uranus, Neptune and Pluto.
- Credits
- 3 credits
- Input
- Birth details
- Output
- JSON
- Delivery
- Direct response
- Languages
- English; translated term names with
labels
| Header | Value and description |
|---|---|
AuthorizationRequired | Bearer YOUR_API_KEYYour sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead. |
Content-TypeRequired | application/jsonThe body is JSON. |
Idempotency-KeyOptional | <unique string>Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters) |
| Field | Description |
|---|---|
datetimestringRequired | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00 Limits: format local-date-time, pattern ^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(:\d{2}(\.\d{1,6})?)?$ Example: |
timezonestring | nullOptional | IANA time zone, e.g. Asia/Kolkata Default: Example: |
utc_offsetstring | nullOptional | Fixed offset such as +05:30, if no IANA zone is known Default: Limits: pattern ^[+-]?\d{1,2}(:[0-5]\d)?$ Example: |
latitudenumber | nullOptional | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Default: Limits: minimum -90, maximum 90 Example: |
longitudenumber | nullOptional | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Default: Limits: minimum -180, maximum 180 Example: |
placestring | nullOptional | Place of birth by name, e.g. 'Pune, India', instead of latitude and longitude: resolved from the same catalogue as `geo-search` (best match), which also supplies the time zone when none is sent. Coordinates, when sent, win. Default: Limits: at most 120 characters |
ayanamshastringOptional | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Default: Allowed values: 51 valuessayanakrishnamurti_newlahirilahiri_1940lahiri_vp285lahiri_icrclahiri_rashtriyaramankrishnamurtikrishnamurti_vp291yukteshwarbhasinfagantrue_chitratrue_pushyatrue_mulatrue_revatitrue_sheoranss_citrass_revatiushashashinadisurya_siddhantasurya_siddhanta_msunaryabhataaryabhata_msunaryabhata_522babyl_brittonbabyl_etpscbabyl_huberbabyl_kugler1babyl_kugler2babyl_kugler3delucedjwhal_khulhipparchossassanianvalens_moonaldebaran_15taugalcent_0saggalcent_rgilbrandgalcent_cochranegalcent_mula_wilhelmgalequ_iau1958galequ_truegalequ_mulagalequ_fiorenzagalalign_mardyksj1900j2000b1950 |
languagestringOptional | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Default: Allowed value: en |
nodestringOptional | Lunar node: true (osculating) or mean. Default: Allowed values: truemean |
includearray of string | nullOptional | Extra fields for each planet; the default answer is unchanged without it. dignity (exalted, moolatrikona, own, friend, neutral, enemy, debilitated; null for the nodes), avastha (baladi, jagradadi, deeptadi), graha_yuddha (planetary war), gandanta (flag), shara (ecliptic latitude), kranti (declination) and right_ascension. Speed is already in every row. Each convention is stated in `extras.conventions`. Default: Each item one of: dignityavasthagraha_yuddhagandantasharakrantiright_ascension Limits: at most 7 items |
yuddha_rulestringOptional | With graha_yuddha: the winner is the planet with the greater northern latitude (default, Surya Siddhanta) or the smaller longitude. Default: Allowed values: latitudelongitude |
labelsstringOptional | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
| Value | Meaning |
|---|---|
sayana | Sayana (tropical, no ayanamsha) |
krishnamurti_new | Krishnamurti New (KP) |
lahiri | Lahiri (Chitrapaksha) - default |
lahiri_1940 | Lahiri 1940 |
lahiri_vp285 | Lahiri Vp285 |
lahiri_icrc | Lahiri Icrc |
lahiri_rashtriya | Lahiri Rashtriya |
raman | B.V. Raman |
krishnamurti | Krishnamurti (KP) |
krishnamurti_vp291 | Krishnamurti Vp291 |
yukteshwar | Sri Yukteshwar |
bhasin | J.N. Bhasin |
fagan | Fagan-Bradley |
true_chitra | True Chitra |
true_pushya | True Pushya |
true_mula | True Mula |
true_revati | True Revati |
true_sheoran | True Sheoran |
ss_citra | Ss Citra |
ss_revati | Ss Revati |
ushashashi | Ushashashi |
nadi | Nadi |
surya_siddhanta | Surya Siddhanta |
surya_siddhanta_msun | Surya Siddhanta Msun |
aryabhata | Aryabhata |
aryabhata_msun | Aryabhata Msun |
aryabhata_522 | Aryabhata 522 |
babyl_britton | Babyl Britton |
babyl_etpsc | Babyl Etpsc |
babyl_huber | Babyl Huber |
babyl_kugler1 | Babyl Kugler1 |
babyl_kugler2 | Babyl Kugler2 |
babyl_kugler3 | Babyl Kugler3 |
deluce | Deluce |
djwhal_khul | Djwhal Khul |
hipparchos | Hipparchos |
sassanian | Sassanian |
valens_moon | Valens Moon |
aldebaran_15tau | Aldebaran 15Tau |
galcent_0sag | Galcent 0Sag |
galcent_rgilbrand | Galcent Rgilbrand |
galcent_cochrane | Galcent Cochrane |
galcent_mula_wilhelm | Galcent Mula Wilhelm |
galequ_iau1958 | Galequ Iau1958 |
galequ_true | Galequ True |
galequ_mula | Galequ Mula |
galequ_fiorenza | Galequ Fiorenza |
galalign_mardyks | Galalign Mardyks |
j1900 | J1900 |
j2000 | J2000 |
b1950 | B1950 |
custom | Custom offset at J2000 |
Response · fields in data
The response contract: required fields are always present.
ayanamsha· objectnode· stringhouse_system· stringascendant· objectplanets· array of object
Example request
curl -X POST https://api.96astroapi.com/v1/vedic-charts/planet-positions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"datetime": "1990-10-18T14:30:00",
"timezone": "Asia/Kolkata",
"latitude": 28.6139,
"longitude": 77.209
}'Example response
{
"data": {
"ayanamsha": {
"id": "lahiri",
"name": "N.C. Lahiri",
"degrees": 23.7285,
"degrees_true": 23.7321
},
"node": "true",
"house_system": "whole_sign",
"ascendant": {
"sign": "Capricorn",
"sign_number": 10,
"sign_lord": "Saturn",
"degree": 23.8935,
"degree_dms": "23-53-37",
"longitude": 293.8935,
"nakshatra": "Dhanishta",
"nakshatra_number": 23,
"nakshatra_lord": "Mars",
…Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.
Error responses
- 400invalid_request
- 401invalid_key, expired_key
- 402payment_required
- 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
- 404not_found
- 409idempotency_conflict
- 413payload_too_large
- 422invalid_request, unsupported_language
- 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
- 500computation_failed
- 502unavailable
- 503unavailable, maintenance, temporarily_unavailable
- 504deadline_exceeded
Errors are never charged. What each status means and what to do: errors.

