POST · VEDIC

Festivals

Endpoint POST https://starsapi.com/api/v3/vedic/panchang/festivals

Returns the month's Hindu festival calendar, computed from the actual panchang for the supplied location — not a static list. Festival dates follow their defining tithi/nakshatra rules (with udaya-tithi handling), shift correctly in adhik-maas years (the nija month carries the festivals; the response also reports the adhik-maas window), and carry English + Hindi names, category (major / important), Hindu month, description, and the primary observing region.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
yearintegerYesCalendar year.
monthintegerYesMonth, 1–12 — the list is filtered to this month; summary and next still consider the whole year.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone (e.g. Asia/Kolkata).

Response shape

FieldTypeDescription
adhik_maasobjectWhether the year has an adhik month, which one, and its full start–end window.
next_festivalobjectThe next upcoming festival from today.
festivalsobjectFestivals grouped by English month name; each with key, names (en/hi), date, weekday, category, hindu_month, description, region.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad year/month.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
405METHOD_NOT_ALLOWEDNon-POST request.

See also