Hindu Calendar & Festival API
A Hindu festival and vrat calendar API: every festival, Ekadashi with parana, Pradosh, Sankashti, Purnima, Amavasya, Sankranti, Shraddha and eclipse for any city and year, verified against printed panchangs of 14 cities.
Make your first request
curl -H "Authorization: Bearer $LIFEASTRO_API_KEY" \
"https://api.lifeastroapi.com/v1/festivals/month?year=2027&month=10&lat=28.6139&lon=77.209&tz=Asia/Kolkata"Sample response excerpt
{
"year": 2027,
"month": 10,
"location": {
"lat": 28.6139,
"lon": 77.209,
"tz": "Asia/Kolkata",
"month_system": "purnimanta"
},
"festivals": [
{
"date": "2027-10-01",
"name": "Chandra Darshana",
"name_en": "Chandra Darshana",
"name_hi": "चन्द्र दर्शन",
"type": "tithi",
"importance": "minor",
"tithi": "Dwitiya",
"paksha": "Shukla",
"tithi_index": 2,
"hindu_month": "Ashwin",
"hindu_month_purnimanta": "Ashwin",
"hindu_month_amanta": "Ashwin",
"vrat_type": "chandra_darshana",
"observance": "sunset",
"windows": [
{
"label": "darshana",
"start": "18:08",
"end": "18:41"
}
]
}
]
}Endpoints for your integration
Show a monthly festival calendar
Get local observance dates with the windows the API returns for each festival.
/v1/festivals/month20 credits per call
Schedule Ekadashi reminders
Get Ekadashi dates and parana windows for a location.
/v1/festivals/vrat30 credits per call
Why developers choose it
- Any city and timezone: pass lat, lon and an IANA tz (Asia/Kolkata, America/Toronto, Europe/London) and every date is decided at that place’s own sunrise, moonrise and pradosh, DST included — Diwali in London can fall a day before Delhi, and both are returned correctly.
- Thousands of locations without a geocoder of your own: the free /v1/geo/search returns latitude, longitude and timezone for any town, ready to pass into the festival calls.
- Verified entry for entry against the printed panchang calendars of 14 cities on four continents: 4,427 of 4,427 entries on the same date.
- Classical observance rules: udaya, pradosh, nishita, moonrise, aparahna, kshaya and vriddhi tithis, Bhadra for Holika Dahan and Raksha Bandhan, adhik maas.
- Names in English, Hindi and 8 regional languages; purnimanta or amanta months; a .ics-ready list of about 720 observances a year.
What you can build
Endpoints (11)
| Endpoint | What it returns | Credits |
|---|---|---|
| GET /v1/calendar/month | Complete Hindu calendar for a month — all tithis, nakshatras, yogas, special days. | 10 |
| GET /v1/calendar/adhik-maas | Adhik Maas (leap month) check and next occurrence. | 20 |
| GET /v1/calendar/samvatsara | Jovian year name (Samvatsara) for a given date. | 10 |
| GET /v1/calendar/ritu | Vedic season (Ritu) for a given date. | 10 |
| GET /v1/calendar/solstices | Equinoxes and solstices of a year — exact moment, Uttarayana/Dakshinayana, and sunrise/sunset/day length at your location. | 10 |
| GET /v1/eclipses/solar | Solar eclipses in a date range — type, peak, nakshatra; with lat/lon the local contact times, visibility and sutak kaal. | 20 |
| GET /v1/eclipses/lunar | Lunar eclipses in a date range — type, peak, nakshatra; with lat/lon the local contact times, visibility and sutak kaal. | 20 |
| GET /v1/eclipses/all | All solar and lunar eclipses in a date range (grahan list) — with lat/lon the local contact times, visibility and sutak kaal, as a printed panchang shows. | 20 |
| GET /v1/festivals/month | Full Hindu festival calendar for a month at a location: every named Ekadashi (smarta + Vaishnava/Gauna, with parana window), Pradosh by weekday, Sankashti/Vinayaka Chaturthi, every Purnima and Amavasya (Somavati, Darsha, Anvadhan, Ishti), Chandra Darshana, all 12 Sankrantis, major + regional festivals, lunar and fixed-date jayantis, national days, eclipses. verified entry for entry against the printed panchang calendars of 14 cities. | 20 |
| GET /v1/festivals/vrat | Year-wise Vrat & Upavas lists by type — every Ekadashi (smarta + Vaishnava, with parana), Pradosh, Sankashti, Vinayaka, Purnima, Amavasya, Chandra Darshana, Masik Shivaratri, Durgashtami, Kalashtami, Skanda Shashthi, Masik Karthigai, Shraddha (all 16 Pitru Paksha tithis), Janmashtami (Smarta/ISKCON), Sankranti, Satyanarayana Puja or eclipse of a year at a location. | 30 |
| GET /v1/festivals/on-date | All festivals, vrats and observances on one civil date at a location — same engine and fields as /v1/festivals/month. | 10 |
Learn more
Frequently asked questions
How accurate are the festival dates?
The engine reproduces every supported entry of the printed panchang calendars of 14 cities for a full year, 4,427 entries in total, and that check runs as an automated test on every change. See lifeastroapi.com/accuracy/.
Does it work for cities outside India and for different timezones?
Yes. Every call takes lat, lon and an IANA timezone, and the festival day is decided at that location’s own sunrise, moonrise or pradosh with daylight saving applied. Use the free /v1/geo/search endpoint to turn a city name into latitude, longitude and timezone for thousands of places worldwide.
Can I see the output before integrating?
Yes. lifeastroapi.com/festivals/ (year-wise) and lifeastroapi.com/hindu-calendar/ (22 cities) are generated from this API, and lifeastroapi.com/panchang/ shows the daily panchang pages.
Is there a free tier?
Yes. Every new account gets 7,500 welcome credits (valid 30 days) plus 1,500 free credits a month with no card required. Paid plans start at ₹999 / $29 a month, and pay-as-you-go is available.
Can AI assistants such as Claude or Cursor call it directly?
Yes. The open-source LifeAstro MCP server exposes every endpoint as a tool for Claude Desktop, Cursor, Codex and other MCP clients that run local servers, using your existing API key.
Which ephemeris and ayanamsa does it use?
Planet positions come from the Swiss Ephemeris. Vedic calculations use the Lahiri (Chitrapaksha) ayanamsa by default; other ayanamsas can be selected per request.