1. Datasets
  2. Schools
  3. Indonesia

Indonesia Schools API

APIFor has 93,505 schools for Indonesia, from Kemendikdasmen school reference (Publisher terms), checked on . Ask for them with country=ID.

GET /v1/schoolsPublisher termsID28 Nov 2026

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.

GET/v1/schools
curl 'https://api.apifor.dev/v1/schools' \
  -G -d country=ID -d limit=3 \
  -H 'x-api-key: YOUR_API_KEY'

Sample Indonesia records

npsnnametypestatus
10001804SDN LUENG SASDNegeri
10050665SD NEGERI.No.82II DESA PANJANGSDNegeri
10100101SMP NEGERI 1 DARUL KAMALSMPNegeri

Fields

Each record in data has these fields. A nullable field can hold null for some records.

FieldType
country_codestring
npsnstring
namestring
typestring
statusstring
province_idstring
regency_idstring
district_idnullable
village_idnullable
addressstring
postal_codenullable
latnumber
lngnumber
websitenullable
accreditationnullable
is_activeinteger
created_atstring
updated_atstring
source_namenullable
source_urlnullable
source_synced_atnullable
source_record_hashnullable

Filters and paging

Query parameters accepted by GET /v1/schools. Full detail, including the single-record route, is in the endpoint reference.

ParameterTypeRules
pageintegermin 1 · default 1
limitinteger1 to 200 · default 50
countrystringISO 3166-1 alpha-2
qstring2 to 100 chars
province_idstringNone
regency_idstringNone
typestringNone

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.