1. Indonesia
  2. Schools

Indonesia Schools API

Indonesian schools from Kemendikdasmen education references, served through the same key and JSON format as the world datasets.

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/id/schools
curl 'https://api.apifor.dev/v1/id/schools' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "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
    }
  ]
}

Fields

Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.

FieldTypeExample
npsnstring"10208665"
namestring"004-SDN NO 030415 BINANGA BOANG"
typestring"SD"
statusstring"Negeri"
province_idstring"12"
regency_idstring"1216"
district_idnullablenull
village_idnullablenull
addressstring"SALAK, KAB. PAKPAK BHARAT, SUMATERA UTARA"
postal_codestring""
latstring""
lngstring""
websitestring""
accreditationstring"B"
is_activeinteger1
created_atstring (date-time)"2026-07-01T00:00:00Z"
updated_atstring (date-time)"2026-07-01T00:00:00Z"
source_namenullablenull
source_urlnullablenull
source_synced_atnullablenull
source_record_hashnullablenull

Filters and paging

Query parameters accepted by GET /v1/id/schools. 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
qstring2 to 100 chars
province_idstringNone
regency_idstringNone
typestringNone