Indonesia Prayer times API Reference
2 routes under /v1/id/prayer-times. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request.
GET
/v1/id/prayer-timesList prayer times with filters and paging.
| Parameter | In | Type | Rules |
|---|---|---|---|
| page | query | integer | min 1 · default 1 |
| limit | query | integer | 1 to 200 · default 50 |
| country | query | string | ISO 3166-1 alpha-2 |
| regency_id | query | string | None |
| date | query | string | None |
curl 'https://api.apifor.dev/v1/id/prayer-times' \
-G -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "1101_2026-07-01",
"regency_id": "1109",
"date": "2026-07-01",
"imsak": "",
"fajr": "",
"sunrise": "06:27",
"dhuha": "06:56",
"dhuhr": "12:42",
"asr": "",
"maghrib": "18:49",
"isha": "20:04",
"source": "equran.id",
"created_at": "2026-07-01T00:00:00Z"
}
]
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable
GET
/v1/id/prayer-times/{id}Find indonesia prayer times by identifier.
| Parameter | In | Type | Rules |
|---|---|---|---|
| id * | path | string | None |
curl 'https://api.apifor.dev/v1/id/prayer-times/{id}' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"id": "1101_2026-07-01",
"regency_id": "1109",
"date": "2026-07-01",
"imsak": "",
"fajr": "",
"sunrise": "06:27",
"dhuha": "06:56",
"dhuhr": "12:42",
"asr": "",
"maghrib": "18:49",
"isha": "20:04",
"source": "equran.id",
"created_at": "2026-07-01T00:00:00Z"
}
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable