1. Datasets
  2. Administrative Regions
  3. Indonesia

Indonesia Administrative Regions API

APIFor has 91,599 administrative areas for Indonesia, from open-admin-data (CC BY 4.0), checked on . Ask for them with country=ID.

GET /v1/regionsCC BY 4.0ID28 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/regions
curl 'https://api.apifor.dev/v1/regions' \
  -G -d country=ID -d limit=3 \
  -H 'x-api-key: YOUR_API_KEY'

Sample Indonesia records

levelcodename
provinces11Aceh
provinces12Sumatera Utara
provinces13Sumatera Barat

Fields

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

FieldType
country_codestring
levelstring
idstring
codestring
namestring
alt_namestring
latnumber
lngnumber
is_activeinteger
created_atstring
updated_atstring

Filters and paging

Query parameters accepted by GET /v1/regions. 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
levelstringone of provinces, regencies, districts, villages
province_idstringNone
regency_idstringNone
district_idstringNone

Questions

How many Indonesia records are there?

91,599 administrative areas in the 28 Nov 2026 snapshot, from open-admin-data. Coverage follows the source, so it may not be complete.

How do I get them from the API?

Call GET /v1/regions?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?

Yes, under CC BY 4.0, as long as you credit open-admin-data and link the licence.