Puja booking that schedules from the panchang
Which rite, where it is traditionally done, and on which day.
A puja or temple-booking platform has to answer three questions before checkout: why this rite for this person, where it is traditionally performed, and when. The API answers the first two from the devotee's chart and its temple catalog; the third comes from the panchang at the temple, because the tradition names tithis, not calendar dates.
7 endpoints across 3 stages. Updated .
Plan: Free covers the recommendation and the panchang date search; the dosha context and choghadiya slotting are Hobby. Every puja and gemstone entry carries review_status: "pending_astrologer_pass" - present them as tradition with their sources, never as a promised outcome.
Worth knowing first
`next_dates` is empty when the tradition names a tithi
/v1/remedies/puja returns a temple_guide for the top-ranked rite: up to three temples in different regions with official_urls, the yatras that cover it, a good_day rule and next_dates. A weekday rule fills next_dates; a tithi rule does not. For our test chart the top rite was Pitra-paksh-shraddha with good_day: { kind: "tithi", tithi: 30, label: "Amavasya" } and next_dates: []. You resolve the date yourself: loop /v1/panchang over the coming weeks at the temple's coordinates and keep days whose tithi.index is 30 - in New Delhi that gives 7 January and 6 February 2027. Also note next_dates is computed from the server's current date, so cache it for a day, not a season.
Stage 1
Why this rite
Show the reason next to the product. In our test chart prioritized came back as the whole 42-rite catalog in rank order, so take the top few and show their addresses and source; timing_pointers are prose from the texts ("Purnima of any month"), not computed dates.
- POST
/v1/remedies/pujaRites ranked by active doshas, then the running mahadasha, lagna lord and afflicted planets - plustemple_guideand adisclaimerto display. - POST
/v1/dosha/pitraThe detail behind a Pitra recommendation, for the product page. - POST
/v1/dosha/kaal-sarpKaal Sarp detection - the reason behind the most-booked shanti rites. - POST
/v1/dasha/lookupWhich mahadasha is running now, when a rite is ranked for the period rather than a dosha.
Stage 2
Where
The temple_guide.temples list is pan-India by design - the endpoint takes no location. Link out to each official_url; the API recommends places, it does not book them. If your platform has its own partner temples, map them to the guide's ids rather than replacing the list.
Stage 3
When - resolved at the temple
Tithi boundaries are instants, and which tithi holds at sunrise depends on where the sunrise is. Search with the temple's coordinates, not the devotee's, then offer a slot inside that day.
Quick answers
- Which endpoints does a temple & puja booking build use?
- 6 endpoints across 3 stages: Puja Recommendation (
POST /v1/remedies/puja); Pitra Dosha (POST /v1/dosha/pitra); Kaal Sarp Dosha (POST /v1/dosha/kaal-sarp); Current Dasha Lookup (POST /v1/dasha/lookup); Panchang (POST /v1/panchang); Choghadiya (POST /v1/muhurta/choghadiya). - Which plan does it need?
- Plan: Free covers the recommendation and the panchang date search; the dosha context and choghadiya slotting are Hobby. Every puja and gemstone entry carries
review_status: "pending_astrologer_pass"- present them as tradition with their sources, never as a promised outcome. - What goes wrong first?
next_datesis empty when the tradition names a tithi./v1/remedies/pujareturns atemple_guidefor the top-ranked rite: up to three temples in different regions withofficial_urls, the yatras that cover it, agood_dayrule andnext_dates. A weekday rule fillsnext_dates; a tithi rule does not. For our test chart the top rite was Pitra-paksh-shraddha withgood_day: { kind: "tithi", tithi: 30, label: "Amavasya" }andnext_dates: []. You resolve the date yourself: loop/v1/panchangover the coming weeks at the temple's coordinates and keep days whosetithi.indexis 30 - in New Delhi that gives 7 January and 6 February 2027. Also notenext_datesis computed from the server's current date, so cache it for a day, not a season.
Start
One key covers all of it
Every endpoint above takes the same bearer token and returns the same envelope. Free tier covers 1,000 requests / month. Pick your language in the quickstarts, or run any of these without a key in the playground.
Other use cases
Building something else?
Puja & gemstone stores
Recommend from the chart, in the order the tradition ranks them.
Panchang & muhurta
Date plus coordinates in, a day's worth of timing out.
Horoscope app
Sun-sign for the top of the funnel, chart-grounded for retention.
Astrologer marketplaces
The customer's chart is ready before the call connects.
Wellness & meditation
Lunar rhythm, personal cycles and observance days, done properly.