/v1/panchang/varjyam
Varjyam window.
What this tells you
Varjyam ("to be avoided") is a 48-minute window derived from the running nakshatra. Each of the 27 nakshatras has a specific offset for Varjyam, taken from classical tables (Muhurta Chintamani). Varjyam is considered inauspicious for most activities — especially travel and new ventures.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/panchang/varjyam?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.
{
"start_jd": 2461137.350,
"end_jd": 2461137.383,
"start_local": "2026-04-19T14:24:00+05:30",
"end_local": "2026-04-19T15:12:00+05:30",
"duration_minutes": 48,
"based_on_nakshatra": "Pushya"
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| start_jd | number | Varjyam start JD. example: 2461137.350 |
| end_jd | number | Varjyam end JD. example: 2461137.383 |
| start_local | string | Local start time. example: "2026-04-19T14:24:00+05:30" |
| end_local | string | Local end time. example: "2026-04-19T15:12:00+05:30" |
| duration_minutes | integer | Varjyam is 48 minutes (2 ghatikas). Its position shifts based on the current nakshatra. example: 48 |
| based_on_nakshatra | string | The nakshatra running at sunrise determines where Varjyam falls. example: "Pushya" |
Usage tips
How to use it
- Pair with Amrit KalamVarjyam and Amrit Kalam share the same computation logic but opposite valence. Show them together — "avoid this, prefer this".
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.