Indonesia Prayer Times API
APIFor has 185,503 daily prayer schedules for Indonesia, from Ministry of Religious Affairs schedule (Publisher terms), checked on . Ask for them with country=ID.
Request
The request below asks for Indonesia only. The table under it shows real Indonesia records from the 28 Nov 2026 snapshot, trimmed to a few fields.
curl 'https://api.apifor.dev/v1/prayer-times' \
-G -d country=ID -d limit=3 \
-H 'x-api-key: YOUR_API_KEY'Sample Indonesia records
| regency | date | fajr | dhuhr | maghrib |
|---|---|---|---|---|
| Kabupaten Aceh Tenggara | 2026-11-28 | 05:02 | 12:20 | 18:17 |
| Kabupaten Aceh Timur | 2026-11-28 | 05:04 | 12:23 | 18:20 |
| Kabupaten Aceh Tengah | 2026-11-28 | 05:08 | 12:25 | 18:21 |
Fields
Each record in data has these fields. A nullable field can hold null for some records.
| Field | Type |
|---|---|
| country_code | string |
| id | string |
| regency_id | string |
| date | string (date) |
| imsak | string |
| fajr | string |
| sunrise | string |
| dhuha | string |
| dhuhr | string |
| asr | string |
| maghrib | string |
| isha | string |
| source | string |
| created_at | string (date-time) |
Filters and paging
Query parameters accepted by GET /v1/prayer-times. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| regency_id | string | None |
| date | string | None |
Questions
How many Indonesia records are there?
185,503 daily prayer schedules in the 28 Nov 2026 snapshot, from Ministry of Religious Affairs schedule. Coverage follows the source, so it may not be complete.
How do I get them from the API?
Call GET /v1/prayer-times?country=ID with your key in the x-api-key header. Each request uses one credit, and new accounts get 1,000 free requests.
Can I use this data commercially?
Check Ministry of Religious Affairs schedule's terms first. Government publication does not by itself grant an open-data licence.