/v1/panchang/panchaka
Panchaka type (5-fold inauspicious).
What this tells you
Panchaka ("the five-fold") is an inauspicious window derived from (tithi + vara + nakshatra) mod 9. When the result falls on certain combinations, a Panchaka type is active — each with its own area of caution (Mrityu = avoid fatal activities, Agni = avoid fire, etc.).
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/panchang/panchaka?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.
{
"panchaka_type": "Rog",
"type_index": 2,
"is_panchaka": true,
"description": "Rog Panchaka — inauspicious for health-related activities"
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| panchaka_type | string | null | One of: Mrityu (death), Agni (fire), Raja (royal), Chora (theft), Rog (illness). Null if not in Panchaka. example: "Rog" |
| type_index | integer (1–5) | null | 1=Mrityu, 2=Rog, 3=Agni, 4=Raja, 5=Chora. example: 2 |
| is_panchaka | boolean | Whether the moment falls in a Panchaka interval. example: true |
| description | string | Plain-language warning. example: "Rog Panchaka — inauspicious for health-related activities" |
Usage tips
How to use it
- Avoid for specific activities onlyUnlike Rahu Kaal (avoid for everything), Panchaka is avoided for domain-specific tasks. Mrityu Panchaka: don't travel. Rog Panchaka: don't start medical procedures. Agni Panchaka: don't light new cooking fires.
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.