Skip to main content
POST/v1/astro/panchanga/hora

Planetary hours (Hora)

Calculate all 24 Hora (planetary hours) for a given date and location using unequal seasonal division: 12 equal parts from sunrise to sunset and 12 from sunset to next sunrise. The first hora after sunrise is ruled by the sunrise-boundary Vedic vara lord; subsequent horas follow the Chaldean sequence. Response includes a convention field naming the division used.

Request parameters​

daterequired
string
Date in YYYY-MM-DD format
locationoptional
string | null
City name. Example: 'Mumbai'
latitudeoptional
number | null
longitudeoptional
number | null
timezoneoptional
string | null
IANA timezone string

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.date
string
Date for which Hora is calculated (YYYY-MM-DD).
data.convention
string
Hora division used. unequal_seasonal = 12 day + 12 night parts from real sunrise/sunset (panchanga / electional).
data.sunrise
string
Sunrise time in HH:MM local time.
data.sunset
string
Sunset time in HH:MM local time.
data.next_sunrise
string
Next day sunrise time in HH:MM local time.
data.horas
array[object]
24 planetary hours: 12 from sunrise to sunset, then 12 from sunset to next sunrise.
data.horas[].hora
integer
Hora number, 1 to 24.
data.horas[].ruling_planet
string
Planet ruling this hora.
data.horas[].start
string
Hora start time in HH:MM local time.
data.horas[].end
string
Hora end time in HH:MM local time.
data.horas[].quality
string
Activities suited to this planetary hora.
data.horas[].is_current
boolean
True if this hora is currently active.

Errors​

Missing or invalid API key.
Upstream ephemeris service error.
Reserved; product endpoints are not feature-gated by plan (quota differs by tier).
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.