HomeAPI Docs › Panchang API

Panchang API

Hindu Calendar: tithi, nakshatra, yoga, karana, sunrise/sunset, Rahu Kaal — Hindi + English in every response.

10endpoints
hi + enbilingual JSON
Lahiriayanamsa
Freeunlimited test mode

Get a free API key Try it in the playground

Quick start

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}'

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.

All Panchang endpoints

EndpointWhat it returns
POST /v1/panchang/festivalsNext 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/panchang/fullFull panchang for given date and location.
POST /v1/panchang/karanaKarana (half of tithi) for given date.
POST /v1/panchang/muhurtaList auspicious muhurtas for the day (Abhijit, Brahma, Amrit, etc.). Classical scheme: 15 muhurtas sunrise→sunset + 15 muhurtas sunset→next sunrise.
POST /v1/panchang/nakshatraMoon nakshatra for given date.
POST /v1/panchang/rahu-kaalRahu Kaal, Gulika Kaal, and Yamaganda timings for the day.
POST /v1/panchang/sunrise-sunsetSunrise, sunset, moonrise, and moonset times.
POST /v1/panchang/tithiTithi (lunar day) for given date.
POST /v1/panchang/varaWeekday (vara) and its ruling planet. Vara changes at sunrise, not midnight.
POST /v1/panchang/yogaPanchang yoga (Sun + Moon longitude based).

Frequently asked questions

What does the Panchang API return?

Hindu Calendar: tithi, nakshatra, yoga, karana, sunrise/sunset, Rahu Kaal. Every response is JSON with both Hindi and English strings, 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. Paid plans are throttled over quota, never blocked.

Full interactive reference for all 237 endpoints: GrahaAPI Docs · Plain-language explainers: Wiki