Festivals
GET
1 credit

/v1/festivals/month

All festivals in a calendar month.

What this tells you

All festivals falling in a given calendar month. Includes major Hindu festivals (Ram Navami, Janmashtami, etc.), Sankrantis, Ekadashis, and Pradosh Vratas. Use for calendar apps and monthly reminder lists.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.divyastroapi.com/v1/festivals/month?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
  -H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"

Response (200 OK)

Successful requests return a JSON body. Field names are stable across versions.

200 response
{
  "year": 2026, "month": 4,
  "festivals": [
    { "date": "2026-04-14", "name": "Baisakhi (Mesha Sankranti)", "type": "sankranti", "importance": "major" },
    { "date": "2026-04-16", "name": "Ram Navami",                 "type": "festival",  "importance": "major" },
    { "date": "2026-04-21", "name": "Hanuman Jayanti",            "type": "festival",  "importance": "major" },
    { "date": "2026-04-26", "name": "Varuthini Ekadashi",         "type": "ekadashi",  "importance": "medium" },
    { "date": "2026-04-30", "name": "Pradosh Vrat",               "type": "vrat",      "importance": "medium" }
  ]
}

Field reference

Every field in the response, with its type, a real example, and what it means.

FieldTypeMeaning
festivals[].datestring (ISO date)
Date of the festival.
example: "2026-04-14"
festivals[].namestring
English name.
example: "Ram Navami"
festivals[].typestring
festival / sankranti / ekadashi / vrat / amavasya / purnima / pradosh / special.
example: "festival"
festivals[].importancestring
major / medium / minor — for UI prominence.
example: "major"

Usage tips

How to use it

  • Filter by importance
    For a compact UI, show only `major` festivals. Power users can expand to see medium/minor.
  • Cache per calendar month
    Monthly festival list rarely changes. Cache for a year.

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid API key",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

402 Payment Required

{
  "error": {
    "code": "trial_exhausted",
    "message": "your free trial credits are exhausted — pick a plan to continue",
    "top_up_url": "https://divyastroapi.com/pricing",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded; retry after 12 seconds",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 500 free credits. Sign up.