1. Datasets
  2. Schools

Schools API

Find schools by name, type and administrative area. 93,505 records across 1 countries and territories, from Kemendikdasmen school reference.

GET /v1/schoolsPublisher 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/schools
curl 'https://api.apifor.dev/v1/schools' \
  -G -d country=ID -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "success": true,
  "data": [
    {
      "country_code": "ID",
      "npsn": "10001804",
      "name": "SDN LUENG SA",
      "type": "SD",
      "status": "Negeri",
      "province_id": "11",
      "regency_id": "1103",
      "district_id": null,
      "village_id": null,
      "address": "Jln Tanjung Minjei/Meunasah Asan",
      "postal_code": null,
      "lat": 5.12976,
      "lng": 97.539694,
      "website": null,
      "accreditation": null,
      "is_active": 1,
      "created_at": "2026-07-02 08:09:09",
      "updated_at": "2026-07-02 08:09:09",
      "source_name": null,
      "source_url": null,
      "source_synced_at": null,
      "source_record_hash": null
    }
  ]
}

Fields

Each record in data has these fields. A nullable field can hold null for some records.

FieldTypeExample
country_codestring"ID"
npsnstring"10001804"
namestring"SDN LUENG SA"
typestring"SD"
statusstring"Negeri"
province_idstring"11"
regency_idstring"1103"
district_idnullablenull
village_idnullablenull
addressstring"Jln Tanjung Minjei/Meunasah Asan"
postal_codenullablenull
latnumber5.12976
lngnumber97.539694
websitenullablenull
accreditationnullablenull
is_activeinteger1
created_atstring"2026-07-02 08:09:09"
updated_atstring"2026-07-02 08:09:09"
source_namenullablenull
source_urlnullablenull
source_synced_atnullablenull
source_record_hashnullablenull

Filters and paging

Query parameters accepted by GET /v1/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

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.