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.
curl 'https://api.apifor.dev/v1/id/schools' \
-G -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"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.
| Field | Type | Example |
|---|---|---|
| npsn | string | "10208665" |
| name | string | "004-SDN NO 030415 BINANGA BOANG" |
| type | string | "SD" |
| status | string | "Negeri" |
| province_id | string | "12" |
| regency_id | string | "1216" |
| district_id | nullable | null |
| village_id | nullable | null |
| address | string | "SALAK, KAB. PAKPAK BHARAT, SUMATERA UTARA" |
| postal_code | string | "" |
| lat | string | "" |
| lng | string | "" |
| website | string | "" |
| accreditation | string | "B" |
| is_active | integer | 1 |
| created_at | string (date-time) | "2026-07-01T00:00:00Z" |
| updated_at | string (date-time) | "2026-07-01T00:00:00Z" |
| source_name | nullable | null |
| source_url | nullable | null |
| source_synced_at | nullable | null |
| source_record_hash | nullable | null |
Filters and paging
Query parameters accepted by GET /v1/id/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 |