Panchang & almanac
AvailableEclipses, Equinoxes & Solstices API
Every solar and lunar eclipse of a year with type, global contacts and local visibility, magnitude and sutak, plus the equinoxes and solstices.
- POST /v1/panchang/eclipses
- 3 credits
curl https://api.96astroapi.com/v1/panchang/eclipses \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "year": 2026, "timezone": "Asia/Kolkata", "latitude": 28.6139, "longitude": 77.209 }'
Overview
Every solar and lunar eclipse of a year with type, global contacts and local visibility, magnitude and sutak, plus the equinoxes and solstices.
Call it with POST /v1/panchang/eclipses. Input: date and place. Output: JSON, as a direct response. Each successful call costs 3 credits.
- POST /v1/panchang/eclipses
- 3 credits
- Date and place
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataMeasured from 3 real answers to different inputs: a required field was in every one.
yearnumberlocationobjecteclipsesarray of objectequinoxes_solsticesarray of object
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.
Loading the example…
Request schema and every field: the Panchang & almanac reference.
Related endpoints
- Daily PanchangPanchang & almanac
- Tithi, Nakshatra, Yoga, Karana & VaraPanchang & almanac
- Sunrise, Sunset, Moonrise & TwilightsPanchang & almanac
- Hindu Calendar DetailsPanchang & almanac
- Rahu Kaal & Inauspicious PeriodsPanchang & almanac
- Abhijit & Auspicious PeriodsPanchang & almanac
- ChoghadiyaPanchang & almanac
- Hora TablePanchang & almanac
01What does the Eclipses, Equinoxes & Solstices API return?
Every solar and lunar eclipse of a year with type, global contacts and local visibility, magnitude and sutak, plus the equinoxes and solstices. The response's data object includes year, location, eclipses and equinoxes_solstices. See the reference for an example response.
02What input does Eclipses, Equinoxes & Solstices need?
Date and place.
03How much does a Eclipses, Equinoxes & Solstices call cost?
3 credits per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


