StudioAPI Docs Get a key
View as Markdown
reference/sekolah

Base path: /api/v1/sekolah

Endpoints

MethodPathQueryDescription
GET/provinsi_id, kabupaten_id, jenis, status, page, per_pageList schools (max 200/page).
GET/searchq (min 3 chars)Search by name, limit 50.
GET/:npsnSchool by NPSN with province/regency names.

Example

curl "https://use.studioapi.dev/api/v1/sekolah?provinsi_id=32" \
  -H "x-api-key: $STUDIOAPI_KEY"

Errors

  • VALIDATION_ERROR (400) — search q shorter than 3 characters.
  • NOT_FOUND (404) — NPSN not found.