Planetary Events in Detail
POSTAvailable
https://api.96astroapi.com/v1/panchang/planetary-events-detailA timeline with a type filter: sign, nakshatra and nakshatra-pada ingresses, retrograde and direct stations, ecliptic crossings (latitude changes sign), mutual aspects at 0, 30, 45, 60, 90, 120, 135, 150 and 180 degrees, parallels and contra-parallels of declination, and Graha Yuddha with its begin, closest approach, winner and end, every moment exact to the second. The Moon and Uranus, Neptune and Pluto are options.
- Credits
- 3 credits
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- Languages
- 26 languages; 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 |
|---|---|
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: |
from_datestringRequired | Limits: format date Example: |
to_datestringRequired | Limits: format date Example: |
typesarray of stringRequired | Which kinds of event. ecliptic_crossing, aspect, parallel, contra_parallel and graha_yuddha are heavy scans: at most 364 days and 12 bodies. The others answer up to 3650 days. Each item one of: sign_ingressnakshatra_ingresspada_ingressretrograde_stationdirect_stationecliptic_crossingaspectparallelcontra_parallelgraha_yuddha Limits: at least 1 item |
planetsarray of string | nullOptional | Bodies to follow. Default: all but the Moon. The Moon is added to aspects and parallels by `include_lunar_aspects`. Default: Each item one of: SunMoonMercuryVenusMarsJupiterSaturnRahuKetu |
aspect_anglesarray of integer | nullOptional | Angles for `aspect` (default all nine: 0, 30, 45, 60, 90, 120, 135, 150, 180 degrees). Default: Each item one of: 030456090120135150180 |
include_lunar_aspectsbooleanOptional | Add the Moon to the bodies of aspect, parallel and ecliptic-crossing scans. Default: |
include_outer_planetsbooleanOptional | Add Uranus, Neptune and Pluto (sidereal ingresses; not used in Vedic practice). Default: |
yuddha_rulestringOptional | Graha Yuddha winner: greater northern ecliptic latitude (default) or smaller longitude. Default: Allowed values: latitudelongitude |
nodestringOptional | Default: Allowed values: truemean |
ayanamshastringOptional | Default: Allowed value: lahiri |
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 |
Response · fields in data
Inferred from the example response: a guide to the shape, not a contract.
from_date· stringto_date· stringtimezone· stringtypes· array of stringplanets· array of stringnode· stringevents· array of objectcounts· objecttruncated· booleanlimits· objectheavy_scan· object
Example request
curl -X POST https://api.96astroapi.com/v1/panchang/planetary-events-detail \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from_date": "2026-10-01",
"to_date": "2026-10-15",
"timezone": "Asia/Kolkata",
"types": [
"aspect",
"graha_yuddha"
],
"planets": [
"Mercury",
"Venus",
"Mars"
],
"aspect_angles": [
0
]
}'Example response
{
"data": {
"from_date": "2026-10-01",
"to_date": "2026-10-15",
"timezone": "Asia/Kolkata",
"types": [
"aspect",
"graha_yuddha"
],
"planets": [
"Mercury",
"Venus",
"Mars"
],
"node": "mean",
"events": [
{
"at": "2026-10-06T11:29:27+05:30",
"type": "graha_yuddha",
"planet": "Mercury",
…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.

