Schools All docs

Indonesia Schools API Reference

2 routes under /v1/id/schools. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request.

GET/v1/id/schools

List schools with filters and paging.

ParameterInTypeRules
pagequeryintegermin 1 · default 1
limitqueryinteger1 to 200 · default 50
countryquerystringISO 3166-1 alpha-2
qquerystring2 to 100 chars
province_idquerystringNone
regency_idquerystringNone
typequerystringNone
GET/v1/id/schools
curl 'https://api.apifor.dev/v1/id/schools' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": [
    {
      "npsn": "10208665",
      "name": "004-SDN NO 030415 BINANGA BOANG",
      "type": "SD",
      "status": "Negeri",
      "province_id": "12",
      "regency_id": "1216",
      "district_id": null,
      "village_id": null,
      "address": "SALAK, KAB. PAKPAK BHARAT, SUMATERA UTARA",
      "postal_code": "",
      "lat": "",
      "lng": "",
      "website": "",
      "accreditation": "B",
      "is_active": 1,
      "created_at": "2026-07-01T00:00:00Z",
      "updated_at": "2026-07-01T00:00:00Z",
      "source_name": null,
      "source_url": null,
      "source_synced_at": null,
      "source_record_hash": null
    }
  ]
}
  • 200Successful response. Pagination is explicit; no silent truncation.
  • 400Invalid query parameters
  • 404Record not found
  • 500Dataset unavailable
GET/v1/id/schools/{id}

Find indonesia schools by identifier.

ParameterInTypeRules
id *pathstringNone
GET/v1/id/schools/{id}
curl 'https://api.apifor.dev/v1/id/schools/{id}' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "npsn": "10208665",
    "name": "004-SDN NO 030415 BINANGA BOANG",
    "type": "SD",
    "status": "Negeri",
    "province_id": "12",
    "regency_id": "1216",
    "district_id": null,
    "village_id": null,
    "address": "SALAK, KAB. PAKPAK BHARAT, SUMATERA UTARA",
    "postal_code": "",
    "lat": "",
    "lng": "",
    "website": "",
    "accreditation": "B",
    "is_active": 1,
    "created_at": "2026-07-01T00:00:00Z",
    "updated_at": "2026-07-01T00:00:00Z",
    "source_name": null,
    "source_url": null,
    "source_synced_at": null,
    "source_record_hash": null
  }
}
  • 200Successful response. Pagination is explicit; no silent truncation.
  • 400Invalid query parameters
  • 404Record not found
  • 500Dataset unavailable

Error handling · Rate limits · Source licences