Eclipses, Equinoxes & Solstices API
AvailableEvery 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.
- Endpoint
- POST /v1/panchang/eclipses
- Input
- Date and place
- Output
- JSON
- Delivery
- Direct response
- Cost
- 3 credits
- Compute class
- Heavy
Example response
Fields in data (inferred from the example)
year· integerlocation· objecteclipses· array of objectequinoxes_solstices· array of object
Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and images are replaced by a placeholder.
Loading the example…
Request schema and every field: the Panchang & almanac reference.
Eclipses, Equinoxes & Solstices API: common questions
What 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.
What input does Eclipses, Equinoxes & Solstices need?
Date and place.
How 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.
Can 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.