Indonesia Schools API Reference
2 routes under /v1/id/schools. Base URL https://api.apifor.dev, authenticated with x-api-key, one credit per request.
GET
/v1/id/schoolsList schools with filters and paging.
| Parameter | In | Type | Rules |
|---|---|---|---|
| page | query | integer | min 1 · default 1 |
| limit | query | integer | 1 to 200 · default 50 |
| country | query | string | ISO 3166-1 alpha-2 |
| q | query | string | 2 to 100 chars |
| province_id | query | string | None |
| regency_id | query | string | None |
| type | query | string | None |
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
}
]
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable
GET
/v1/id/schools/{id}Find indonesia schools by identifier.
| Parameter | In | Type | Rules |
|---|---|---|---|
| id * | path | string | None |
curl 'https://api.apifor.dev/v1/id/schools/{id}' \
-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
}
}200Successful response. Pagination is explicit; no silent truncation.400Invalid query parameters404Record not found500Dataset unavailable