1. Datasets
  2. Prayer Times

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 2026

Request 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.

GET/v1/prayer-times
curl 'https://api.apifor.dev/v1/prayer-times' \
  -G -d country=ID -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "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.

FieldTypeExample
country_codestring"ID"
idstring"1101_2026-01-01"
regency_idstring"1109"
datestring (date)"2026-01-01"
imsakstring"05:07"
fajrstring"05:17"
sunrisestring"06:35"
dhuhastring"07:04"
dhuhrstring"12:41"
asrstring"16:05"
maghribstring"18:41"
ishastring"19:55"
sourcestring"equran.id"
created_atstring (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.

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

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.