/v1/panchang/choghadiya
Day + night Choghadiya schedule.
What this tells you
Choghadiya is "the four ghatikas" — the day is divided into 8 slots of 4 ghatikas each (≈94 min). Each slot is named (Amrit, Shubh, Labh, Char, Rog, Kaal, Udveg) and labeled good or bad. The sequence depends on the weekday. Choghadiya is the everyday common-man's muhurta system — used for scheduling meetings, travel, and errands.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/panchang/choghadiya?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.
{
"day_slots": [
{ "index": 1, "name": "Udveg", "start_local": "06:18", "end_local": "07:52", "quality": "bad" },
{ "index": 2, "name": "Char", "start_local": "07:52", "end_local": "09:26", "quality": "good" },
{ "index": 3, "name": "Labh", "start_local": "09:26: "end_local": "11:00", "quality": "good" },
{ "index": 4, "name": "Amrit", "start_local": "11:00", "end_local": "12:34", "quality": "good" },
{ "index": 5, "name": "Kaal", "start_local": "12:34", "end_local": "14:08", "quality": "bad" },
{ "index": 6, "name": "Shubh", "start_local": "14:08", "end_local": "15:42", "quality": "good" },
{ "index": 7, "name": "Rog", "start_local": "15:42", "end_local": "17:16", "quality": "bad" },
{ "index": 8, "name": "Udveg", "start_local": "17:16", "end_local": "18:51", "quality": "bad" }
],
"night_slots": [
{ "index": 1, "name": "Shubh", "start_local": "18:51", "end_local": "20:25", "quality": "good" },
{ "index": 2, "name": "Amrit", "start_local": "20:25", "end_local": "21:59", "quality": "good" },
{ "index": 3, "name": "Char", "start_local": "21:59", "end_local": "23:33", "quality": "good" }
],
"slot_duration_minutes_day": 94,
"slot_duration_minutes_night": 94
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| day_slots | array of 8 slots | Day is split into 8 choghadiya slots of ~94 min each (sunrise → sunset / 8). example: […] |
| night_slots | array of 8 slots | Night split similarly (sunset → next sunrise / 8). example: […] |
| *.index | integer (1–8) | Slot number within day or night. example: 1 |
| *.name | string | Classical name. 7 possible: Amrit, Shubh, Labh, Char, Rog, Kaal, Udveg. Sequence shifts by weekday. example: "Udveg" |
| *.quality | string | "good" (Amrit, Shubh, Labh, Char) or "bad" (Rog, Kaal, Udveg). example: "good" |
| *.start_local | string | HH:MM local time. example: "06:18" |
| *.end_local | string | HH:MM local time. example: "07:52" |
Usage tips
How to use it
- Classic Hindu calendar UIRender as two rows (day/night) of 8 cells each, colored green/red by quality. Add "current slot" indicator.
- "Amrit" is the bestFor critical tasks (starting a journey, signing papers), pick Amrit slot above other good ones.
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.