Prayer Times API
Read daily prayer times by region and date. 185,503 records across 1 countries and territories, from Ministry of Religious Affairs schedule.
GET /v1/prayer-timesPublisher terms1 countries28 Nov 2026Request and response
The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.
curl 'https://api.apifor.dev/v1/prayer-times' \
-G -d country=ID -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"country_code": "ID",
"id": "1101_2026-01-01",
"regency_id": "1109",
"date": "2026-01-01",
"imsak": "05:07",
"fajr": "05:17",
"sunrise": "06:35",
"dhuha": "07:04",
"dhuhr": "12:41",
"asr": "16:05",
"maghrib": "18:41",
"isha": "19:55",
"source": "equran.id",
"created_at": "2026-07-02T00:00:00Z"
}
]
}Fields
Each record in data has these fields. A nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| country_code | string | "ID" |
| id | string | "1101_2026-01-01" |
| regency_id | string | "1109" |
| date | string (date) | "2026-01-01" |
| imsak | string | "05:07" |
| fajr | string | "05:17" |
| sunrise | string | "06:35" |
| dhuha | string | "07:04" |
| dhuhr | string | "12:41" |
| asr | string | "16:05" |
| maghrib | string | "18:41" |
| isha | string | "19:55" |
| source | string | "equran.id" |
| created_at | string (date-time) | "2026-07-02T00:00:00Z" |
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 |
Coverage by country
1 countries and territories have records in the 28 Nov 2026 snapshot. Each one has its own page with filters and counts.