OpenClaw · Skill
Sholat
Fetches Islamic prayer times (imsak, subuh, dzuhur, ashar, maghrib, isya) for Indonesian cities and regencies from api.myquran.com, which sources data from Kemenag Bimas Islam. Supports queries for today, a specific date, or a full calendar month.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install banghasan/sholatClawHub installer
npx clawhub@latest install banghasan/sholatOpenClaw CLI
openclaw skills install banghasan/sholatDirect OpenClaw install
openclaw install banghasan/sholatWhat this skill does
Fetches Islamic prayer times (imsak, subuh, dzuhur, ashar, maghrib, isya) for Indonesian cities and regencies from api.myquran.com, which sources data from Kemenag Bimas Islam. Supports queries for today, a specific date, or a full calendar month.
Why it matters
Uses official Kemenag Bimas Islam data, making it the authoritative source for Indonesian prayer times without requiring account registration or an API key.
Typical use cases
- Check today's prayer times for any Indonesian city or regency
- Get a full monthly prayer schedule for Ramadan planning
- Look up prayer times for a specific travel date in Indonesia
- Find the correct city or regency ID before fetching schedules
- Automate daily prayer time lookups for a fixed location
Source instructions
Jadwal Sholat (api.myquran.com)
API base: https://api.myquran.com/v3
Script helper (rekomendasi): scripts/myquran_sholat.py
Quick start
Cari lokasi (kab/kota):
python3 scripts/myquran_sholat.py cari "tangerang"
Jadwal sholat hari ini (Asia/Jakarta) untuk lokasi berdasarkan keyword:
python3 scripts/myquran_sholat.py hari-ini "kota tangerang"
Jadwal sholat tanggal tertentu (format YYYY-MM-DD):
python3 scripts/myquran_sholat.py tanggal "kota tangerang" 2026-02-03
Jadwal sholat 1 bulan (format YYYY-MM):
python3 scripts/myquran_sholat.py bulan "kota tangerang" 2026-02
Catatan pemilihan lokasi
Endpoint pencarian mengembalikan beberapa kandidat. Script akan:
- mencoba match exact (case-insensitive) ke kolom
lokasibila memungkinkan - kalau tidak, pakai hasil pertama
Kalau hasilnya kurang tepat, gunakan keyword yang lebih spesifik (mis. KOTA TANGERANG vs TANGERANG), atau ambil id lokasi lalu panggil mode id.
Pemanggilan langsung via curl (tanpa script)
Cari kab/kota:
curl -s "https://api.myquran.com/v3/sholat/kabkota/cari/tangerang"
Ambil jadwal hari ini:
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/today?tz=Asia/Jakarta"
Ambil jadwal periode (bulanan / harian):
# bulanan
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/2026-02?tz=Asia/Jakarta"
# harian
curl -s "https://api.myquran.com/v3/sholat/jadwal/<ID>/2026-02-03?tz=Asia/Jakarta"