Prayer times All docs

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-times

List prayer times with filters and paging.

ParameterInTypeRules
pagequeryintegermin 1 · default 1
limitqueryinteger1 to 200 · default 50
countryquerystringISO 3166-1 alpha-2
regency_idquerystringNone
datequerystringNone
GET/v1/id/prayer-times
curl 'https://api.apifor.dev/v1/id/prayer-times' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 parameters
  • 404Record not found
  • 500Dataset unavailable
GET/v1/id/prayer-times/{id}

Find indonesia prayer times by identifier.

ParameterInTypeRules
id *pathstringNone
GET/v1/id/prayer-times/{id}
curl 'https://api.apifor.dev/v1/id/prayer-times/{id}' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 parameters
  • 404Record not found
  • 500Dataset unavailable

Error handling · Rate limits · Source licences