Panchang
GET
1 credit

/v1/panchang/durmuhurta

Durmuhurta intervals.

What this tells you

Durmuhurta ("bad muhurta") is a set of weekday-specific inauspicious windows. Unlike Rahu Kaal which is always 1/8th of the day, Durmuhurta positions are fixed relative to sunrise and vary by weekday. Avoid starting important work during these windows.

Request

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

example request
curl "https://api.divyastroapi.com/v1/panchang/durmuhurta?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
{
  "day_intervals": [
    { "start_local": "08:54", "end_local": "09:42", "name": "Durmuhurta 1" },
    { "start_local": "13:06", "end_local": "13:54", "name": "Durmuhurta 2" }
  ],
  "total_count": 2,
  "duration_minutes_each": 48
}

Field reference

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

FieldTypeMeaning
day_intervalsarray
List of Durmuhurta windows for the day. Most weekdays have 1–2; Wednesday has 3.
example: […]
*.start_localstring
HH:MM local.
example: "08:54"
*.end_localstring
HH:MM local.
example: "09:42"
*.namestring
Label for display.
example: "Durmuhurta 1"
total_countinteger
Number of Durmuhurta intervals today.
example: 2
duration_minutes_eachinteger
Each Durmuhurta is 48 minutes (2 muhurtas of 24 min).
example: 48

Usage tips

How to use it

  • Show as "avoid" zones
    On a daily schedule view, shade Durmuhurta windows with a subtle red pattern. Do not alarm the user with modals.

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.