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 2026Request 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/schools' \
-G -d country=ID -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"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.
| Field | Type | Example |
|---|---|---|
| country_code | string | "ID" |
| npsn | string | "10001804" |
| name | string | "SDN LUENG SA" |
| type | string | "SD" |
| status | string | "Negeri" |
| province_id | string | "11" |
| regency_id | string | "1103" |
| district_id | nullable | null |
| village_id | nullable | null |
| address | string | "Jln Tanjung Minjei/Meunasah Asan" |
| postal_code | nullable | null |
| lat | number | 5.12976 |
| lng | number | 97.539694 |
| website | nullable | null |
| accreditation | nullable | null |
| is_active | integer | 1 |
| created_at | string | "2026-07-02 08:09:09" |
| updated_at | string | "2026-07-02 08:09:09" |
| 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/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 |
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.