/v1/panchang/hora
Planetary hora ruling at moment.
What this tells you
Hora is the Vedic hour — but unlike the 60-min Western hour, a hora is 1/12th of daylight (day hora) or 1/12th of night (night hora). So summer day horas are longer than 60 min; night horas are shorter. Each hora is ruled by one of 7 planets in a fixed Chaldean sequence, starting with the weekday lord. Classical astrologers use hora for fine-grained muhurta: "Start your business meeting during Jupiter hora" etc.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/panchang/hora?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.
{
"hora": {
"index": 5,
"planet": "Saturn",
"quality": "inauspicious"
},
"start_jd": 2461137.622,
"end_jd": 2461137.665,
"start_local": "2026-04-19T17:00:00+05:30",
"end_local": "2026-04-19T18:02:00+05:30",
"duration_minutes": 62,
"is_day_hora": true,
"day_lord": "Sun",
"first_hora_of_day": "Sun"
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| hora.index | integer (1–24) | Hora number within the day (1 = first hora after sunrise). example: 5 |
| hora.planet | string | Ruling planet of the current hora. example: "Saturn" |
| hora.quality | string | Auspicious for: Jupiter, Venus, Mercury, Moon. Neutral: Sun. Inauspicious: Mars, Saturn. example: "inauspicious" |
| start_jd | number | Hora start JD. example: 2461137.622 |
| end_jd | number | Hora end JD. example: 2461137.665 |
| start_local | string | Local start time. example: "2026-04-19T17:00:00+05:30" |
| end_local | string | Local end time. example: "2026-04-19T18:02:00+05:30" |
| duration_minutes | integer | Daytime hora length. Night horas are shorter in summer, longer in winter. example: 62 |
| is_day_hora | boolean | Whether the hora is a daytime hora (between sunrise and sunset). example: true |
| day_lord | string | Weekday's ruling planet. example: "Sun" |
| first_hora_of_day | string | Same as day_lord — the first hora always matches the weekday lord. example: "Sun" |
Usage tips
How to use it
- Build a daily hora ribbonCall this endpoint once at sunrise, then every hora (from duration_minutes). Display as a horizontal ribbon of 24 cells — 12 day + 12 night.
- For travel, use Moon or Mercury horaClassical picks: Moon hora for travel, Jupiter for study, Venus for romance, Mercury for communication.
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.