Panchang API
Hindu Calendar: tithi, nakshatra, yoga, karana, sunrise/sunset, Rahu Kaal — English JSON with Hindi name twins where available.
Quick start
Test keys (sk-test-…) are free and unlimited — the response structure is guaranteed identical to production, so you can build your whole integration before paying anything.
curl -X POST https://api.grahaapi.com/v1/panchang/festivals \
-H "Authorization: Bearer sk-test-your-key" \
-H "Content-Type: application/json" \
-d '{
"dob": "1990-06-15",
"gender": "male",
"lat": 28.6139,
"lon": 77.209,
"name": "Rahul Sharma",
"tob": "10:30",
"tz": 5.5
}'All Panchang endpoints
Next 30-day festivals and vrats from the given date: named major festivals (Diwali, Holi, Raksha Bandhan, Teej, Navratri, sankrantis …) detected from the Amanta lunar month + paksha + tithi, plus generic tithi vrats (Ekadashi, Pradosh, Purnima …). Each item carries name, name_hi, significance and a major flag; days labels every date with its tithi and masa. Masa display names are Purnimanta (North Indian standard — months end at Purnima); the Amanta name rides along as masa_amanta.
POST/v1/Full panchang for given date and location.
POST/v1/Karana (half of tithi) for given date.
POST/v1/List auspicious muhurtas for the day (Abhijit, Brahma, Amrit, etc.). Classical scheme: 15 muhurtas sunrise→sunset + 15 muhurtas sunset→next sunrise.
POST/v1/Moon nakshatra for given date.
POST/v1/Rahu Kaal, Gulika Kaal, and Yamaganda timings for the day.
POST/v1/Sunrise, sunset, moonrise, and moonset times.
POST/v1/Tithi (lunar day) for given date.
POST/v1/Weekday (vara) and its ruling planet. Vara changes at sunrise, not midnight.
POST/v1/Panchang yoga (Sun + Moon longitude based).
No Panchang endpoint matches that filter.
Frequently asked questions
Full interactive reference for all 237 endpoints: GrahaAPI Docs · Plain-language explainers: Wiki
What does the Panchang API return?
Hindu Calendar: tithi, nakshatra, yoga, karana, sunrise/sunset, Rahu Kaal. Every response is JSON ({success, data, meta}); names come with Hindi twins where available (e.g. "sign": "Leo", "sign_hi": "सिंह"), computed astronomically on the Lahiri ayanamsa (the Indian government standard). This module has 10 endpoints.
Can I try the Panchang API for free?
Yes — sk-test- keys are free and unlimited, and return the exact production response structure (computed from a fixed sample chart). The Free plan then gives 1,000 real API calls per month with no credit card.
How is GrahaAPI priced?
Simple INR pricing: Free (1,000 calls/mo), then paid plans from ₹499/mo. One call = one call on every endpoint — no credit system, no overage bills. When a plan's monthly limit is used up, calls pause until the 1st (or until you upgrade).
Time to bring the cosmos into your app.
Start free. No credit card. API key in under 1 minute.