Skip to main content
GET/v1/astro/panchanga/festivals

Hindu festival calendar

Compute all major Hindu festival dates for a given year and location. Returns 20 pan-Hindu festivals including solar sankrantis (Makar Sankranti, Vaisakhi) and tithi-based festivals (Diwali, Holi, Dussehra, Janmashtami, Ganesh Chaturthi, Ram Navami, and 12 others). All dates are astronomically computed — no hardcoded dates. Tithi festivals use the Sun-Moon elongation at local sunrise with Lahiri sidereal ayanamsa. Location is required for accurate sunrise-based tithi determination.

Request parameters

yearrequired
integer
Calendar year
locationoptional
string | null
City name
latitudeoptional
number | null
longitudeoptional
number | null
timezoneoptional
string | null
IANA timezone

Response fields

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.year
integer
Calendar year for which festivals are computed.
data.timezone
string
IANA timezone used for sunrise-based tithi calculations.
data.total
integer
Total number of festivals found.
data.festivals
array[object]
Festivals sorted chronologically by date.
data.festivals[].name
string
Festival name.
data.festivals[].date
string
Festival date in YYYY-MM-DD format.
data.festivals[].type
string
Festival type: 'solar' (sankranti-based) or 'tithi' (lunar day-based).
data.festivals[].description
string
Classical basis for the festival date (tithi or sankranti).
data.festivals[].significance
string
Cultural and religious significance.

Errors

Missing or invalid API key.
Upstream ephemeris service error.
Reserved; product endpoints are not feature-gated by plan (quota differs by tier).
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.