Indonesia Schools API
APIFor has 93,505 schools for Indonesia, from Kemendikdasmen school reference (Publisher terms), checked on . Ask for them with country=ID.
Request
The request below asks for Indonesia only. The table under it shows real Indonesia records from the 28 Nov 2026 snapshot, trimmed to a few fields.
curl 'https://api.apifor.dev/v1/schools' \
-G -d country=ID -d limit=3 \
-H 'x-api-key: YOUR_API_KEY'Sample Indonesia records
| npsn | name | type | status |
|---|---|---|---|
| 10001804 | SDN LUENG SA | SD | Negeri |
| 10050665 | SD NEGERI.No.82II DESA PANJANG | SD | Negeri |
| 10100101 | SMP NEGERI 1 DARUL KAMAL | SMP | Negeri |
Fields
Each record in data has these fields. A nullable field can hold null for some records.
| Field | Type |
|---|---|
| country_code | string |
| npsn | string |
| name | string |
| type | string |
| status | string |
| province_id | string |
| regency_id | string |
| district_id | nullable |
| village_id | nullable |
| address | string |
| postal_code | nullable |
| lat | number |
| lng | number |
| website | nullable |
| accreditation | nullable |
| is_active | integer |
| created_at | string |
| updated_at | string |
| source_name | nullable |
| source_url | nullable |
| source_synced_at | nullable |
| source_record_hash | nullable |
Filters and paging
Query parameters accepted by GET /v1/schools. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| q | string | 2 to 100 chars |
| province_id | string | None |
| regency_id | string | None |
| type | string | None |
Questions
How many Indonesia records are there?
93,505 schools in the 28 Nov 2026 snapshot, from Kemendikdasmen school reference. Coverage follows the source, so it may not be complete.
How do I get them from the API?
Call GET /v1/schools?country=ID with your key in the x-api-key header. Each request uses one credit, and new accounts get 1,000 free requests.
Can I use this data commercially?
Check Kemendikdasmen school reference's terms first. Government publication does not by itself grant an open-data licence.