Choghadiya API
AvailableEight day and eight night Choghadiya periods with their nature.
Call it with POST /v1/panchang/choghadiya. Input: date and place. Output: JSON, as a direct response. Each successful call costs 1 credit.
- Endpoint
- POST /v1/panchang/choghadiya
- Input
- Date and place
- Output
- JSON
- Delivery
- Direct response
- Cost
- 1 credit
- Compute class
- Standard
Example response
Fields in data (inferred from the example)
date· stringlocation· objectayanamsha· objectchoghadiya· 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.
Choghadiya API: common questions
What does the Choghadiya API return?
Eight day and eight night Choghadiya periods with their nature. The response's data object includes date, location, ayanamsha and choghadiya. See the reference for an example response.
What input does Choghadiya need?
Date and place.
How much does a Choghadiya call cost?
1 credit 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.