1. Datasets
  2. Prayer Times
  3. Indonesia

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.

GET /v1/prayer-timesPublisher termsID28 Nov 2026

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.

GET/v1/prayer-times
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

regencydatefajrdhuhrmaghrib
Kabupaten Aceh Tenggara2026-11-2805:0212:2018:17
Kabupaten Aceh Timur2026-11-2805:0412:2318:20
Kabupaten Aceh Tengah2026-11-2805:0812:2518:21

Fields

Each record in data has these fields. A nullable field can hold null for some records.

FieldType
country_codestring
idstring
regency_idstring
datestring (date)
imsakstring
fajrstring
sunrisestring
dhuhastring
dhuhrstring
asrstring
maghribstring
ishastring
sourcestring
created_atstring (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.

ParameterTypeRules
pageintegermin 1 · default 1
limitinteger1 to 200 · default 50
countrystringISO 3166-1 alpha-2
regency_idstringNone
datestringNone

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.