โ† Guides

Muhurta windows: Rahu Kaal, Abhijit and hora, computed

Muhurta windows look like fixed clock times in printed almanacs, but every one is a fraction of that day's daylight at that place. Once you know the fractions, you can check any value the API returns by hand.

Updated

Everything starts from the day length

Each muhurta endpoint computes the day's sunrise, sunset and the next sunrise for the request's place and date (see sunrise conventions), takes the weekday from the local date at sunrise, and divides. Mumbai on Tuesday 1 December 2026 has sunrise at 06:55:17 IST and sunset at 17:59:26 IST - a day of 11 h 04 m 09 s.

Rahu Kaal, Yamaganda and Gulika: eighths of the day

POST /v1/muhurta/inauspicious divides daylight into eight equal slots - 83 minutes each on this date - and picks one slot per window by weekday:

Slot number (1 = first after sunrise) by weekday
WindowSunMonTueWedThuFriSat
Rahu Kaal8275643
Yamaganda5432176
Gulika7654321

Tuesday's Rahu Kaal is slot 7: sunrise plus six slots. The API returns 09:43:24Z to 11:06:25Z - 15:13 to 16:36 IST. Yamaganda (slot 3) is 09:41-11:04 IST and Gulika (slot 5) 12:27-13:50 IST. In midsummer or at higher latitudes the slots stretch, which is why a fixed "15:00-16:30" table drifts.

Abhijit, Brahma muhurat and Amrit Kaal

  • Abhijit is the 8th of 15 equal day muhurtas (44 m 17 s each here): 06:35:13Z-07:19:30Z, 12:05-12:49 IST, centred near local noon.
  • Brahma muhurat is the 96 minutes ending at sunrise: 05:19-06:55 IST. It is a fixed span, not a fraction of the night.
  • Amrit Kaal is returned as the first period named Amrit in the day's choghadiya sequence. It is not the nakshatra-based Amrit Kaal some almanacs print, so expect differences against those.

All three come from POST /v1/muhurta/auspicious as { name, start, end } objects in UTC.

Hora: 24 unequal hours

POST /v1/muhurta/hora splits daylight into 12 horas and the night (sunset to next sunrise) into 12 more, so day and night horas have different lengths - 55 m 21 s and 1 h 04 m 42 s in Mumbai on this date. The first hora belongs to the weekday's lord and the rest step through the order Saturn, Jupiter, Mars, Sun, Venus, Mercury, Moon. Tuesday therefore opens with Hora 1 (Mars), then Sun, then Venus, and the first night hora (Hora 13) is Saturn's.

The request body is the same for every muhurta endpoint - a local date and a place:

json
{ "date": "2026-12-01", "tz_offset_minutes": 330, "lat": 19.076, "lng": 72.8777 }

Searching a range of dates for a good window is a loop on your side: one call per date per endpoint. Cache by date and place - the results never change for a past or future date (see determinism).

Questions

How is Rahu Kaal calculated?
Daylight, from sunrise to sunset at the request's place and date, is divided into eight equal slots and one slot is chosen by weekday. Yamaganda and Gulika use the same eighths.
Is a hora always one hour long?
No. Daylight is split into 12 horas and the night into 12 more, so day and night horas have different lengths that change with the season and the place.