Skip to main content

Indonesia Schools

Search and filter Indonesian school data.

Base URL​

https://use.api.co.id

Call GET /regional/indonesia/schools with the x-api-co-id header and pass filters as query parameters. The response contains a list of schools with their metadata; premium users also get accreditation data and geographic coordinates.

Filters​

ParameterPurpose
province_codeFilter by province code
regency_codeFilter by regency/city code
district_codeFilter by district code
npsnExact match by NPSN
nameSearch by school name (case-insensitive partial match)
statusN = Negeri (public), S = Swasta (private)
gradeSearch by school grade/type (case-insensitive partial match)
accreditationFilter by accreditation (A, B, C, etc.) — premium
pagePage number (default: 1)

Page size is fixed at 100 items per page and cannot be configured.

Data fields​

FieldDescription
npsnNational School Registration Number
nameSchool name
gradeSchool type/level
statusN (Negeri, public) or S (Swasta, private)
accreditationSchool accreditation (A, B, C, etc.) — premium
addressStreet address
province_code, province_nameProvince code and name
regency_code, regency_nameRegency/city code and name
district_code, district_nameDistrict code and name
langLatitude — premium
longLongitude — premium

Premium features​

The following features require a premium subscription. For non-premium users, premium fields return null.

  • Latitude & longitude — the school's geographic coordinates.
  • Accreditation data — school accreditation information.
  • Accreditation filter — the accreditation parameter.
  • Advanced search — the /regional/indonesia/schools/search endpoint for searching by name, NPSN, or address.

Integration with Indonesia Regional​

Use the province_code, regency_code, and district_code from the response to fetch location details from the Indonesia Regional API:

GET https://use.api.co.id/regional/indonesia/provinces/{province_code}
GET https://use.api.co.id/regional/indonesia/regencies/{regency_code}
GET https://use.api.co.id/regional/indonesia/districts/{district_code}
Was this page helpful?