Calendar API documentation
Overview
The Calendar API returns the Hindu calendar for any place and any year from 1900 to 2100: a full month of daily panchang, a year of lunar months and festivals, named festivals and vrats, and a day-by-day muhurat verdict for ten kinds of ceremony. Every named item carries a stable English name and a label in the language you ask for.
Product overview: Calendar API. Related: Sun sign, Moon sign, Panchang API.
Endpoints
Each route accepts GET (query string) and POST (JSON body; the query string fills any gap). Production routes need an API key. Each has a keyless sandbox mirror.
| Route | Returns | Sandbox mirror |
|---|---|---|
/v2/astrology/calendar/month | Every day of a month: sunrise, sunset, tithi, nakshatra, yoga, karana, masa, sun and moon sign, observances | /sandbox/astrology/calendar/month |
/v2/astrology/calendar/year | Lunar months (amanta and purnimanta), adhika masa, festivals, sankrantis, vrats, eclipses | /sandbox/astrology/calendar/year |
/v2/astrology/calendar/festivals | About 40 festivals plus the 12 sankrantis, for a year or one month | /sandbox/astrology/calendar/festivals |
/v2/astrology/calendar/vrats | Named Ekadashis, Purnima, Amavasya, Pradosh, Sankashti and Vinayaka Chaturthi, Masik Shivaratri | /sandbox/astrology/calendar/vrats |
/v2/astrology/calendar/muhurat | Each day of a month judged for one event, with goodDates | /sandbox/astrology/calendar/muhurat |
Base URL: https://api.vedika.io. The sandbox fixes the location to New Delhi and honours the period, event and lang. It returns sample responses with no key.
Parameters
| Parameter | Applies to | Meaning |
|---|---|---|
year | all | 1900 to 2100. Defaults to the current year. |
month | all except year | 1 to 12. Defaults to the current month for month and muhurat; an optional filter for festivals and vrats. |
latitude, longitude | all | Send both or neither. Default is New Delhi (28.6139, 77.2090). |
timezone | all | IANA name such as Asia/Kolkata, or an offset such as +05:30. |
lang | all | Response language code; see the list below. English name values never change. |
event | muhurat | vivah, griha-pravesh, namkaran, upanayana, annaprashan, vehicle-purchase, business, travel, medical, education. |
An invalid request returns a 400 before anything is charged.
Request: GET
curl "https://api.vedika.io/v2/astrology/calendar/month?year=2026&month=11&latitude=19.076&longitude=72.8777&timezone=Asia/Kolkata&lang=hi" \ -H "Authorization: Bearer YOUR_API_KEY"
Request: POST
curl -X POST "https://api.vedika.io/v2/astrology/calendar/muhurat" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"year": 2026,
"month": 11,
"event": "vivah",
"latitude": 28.6139,
"longitude": 77.209,
"timezone": "Asia/Kolkata",
"lang": "en"
}'Try it with no key
The sandbox mirrors every route with no API key. The location is fixed to New Delhi.
curl "https://api.vedika.io/sandbox/astrology/calendar/month?year=2026&month=11" curl "https://api.vedika.io/sandbox/astrology/calendar/festivals?year=2026&lang=hi" curl "https://api.vedika.io/sandbox/astrology/calendar/vrats?year=2026&month=11" curl "https://api.vedika.io/sandbox/astrology/calendar/muhurat?year=2026&month=11&event=vivah" curl "https://api.vedika.io/sandbox/astrology/calendar/year?year=2026"
Response shape (trimmed)
This is the shape of a month response with most days and fields removed. It is illustrative; call the sandbox for live values. Each day shows the panchang in force at local sunrise, and endsAt is when that limb ends. next appears when another tithi ends before the next sunrise.
{
"system": "hindu-calendar",
"kind": "month",
"year": 2026,
"month": 11,
"language": "en",
"location": { "latitude": 28.6139, "longitude": 77.209, "timezone": "Asia/Kolkata", "defaulted": true },
"days": [
{
"date": "2026-11-01",
"weekday": { "name": "...", "label": "..." },
"sunrise": "...", "sunset": "...",
"tithi": { "name": "...", "label": "...", "number": 1, "paksha": "...", "endsAt": "...", "next": { "name": "...", "endsAt": "..." } },
"nakshatra": { "name": "...", "label": "...", "endsAt": "..." },
"yoga": { "name": "...", "label": "...", "endsAt": "..." },
"karana": { "name": "...", "label": "...", "endsAt": "..." },
"masa": { "amanta": { "name": "...", "adhika": false }, "purnimanta": { "name": "...", "adhika": false } },
"sunSign": { "name": "...", "label": "..." },
"moonSign": { "name": "...", "label": "..." },
"observances": [ { "id": "...", "date": "2026-11-01", "type": "festival", "name": "...", "label": "..." } ]
}
]
}
year returns months (amanta and purnimanta, with start, end and full moon), adhikaMasa, festivals, sankrantis, vrats and eclipses. Eclipses are global; visibility for your place is not computed. festivals and vrats return count and items. muhurat returns days (each with suitable, rating, score, tithi, nakshatra, yoga and barredBy) and goodDates. Festivals follow the tithi in force at the time of day each rite needs; regional traditions may differ by a day. Ayanamsa is Lahiri.
Languages
Pass any of these codes as lang:
en hi ta te kn ml mr gu bn pa od as ne si ur ar fa es fr de it pt ru ja zh ko th vi id ms