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.
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.
curl 'https://api.apifor.dev/v1/regions' \
-G -d country=ID -d limit=3 \
-H 'x-api-key: YOUR_API_KEY'Sample Indonesia records
| level | code | name |
|---|---|---|
| provinces | 11 | Aceh |
| provinces | 12 | Sumatera Utara |
| provinces | 13 | Sumatera Barat |
Fields
Each record in data has these fields. A nullable field can hold null for some records.
| Field | Type |
|---|---|
| country_code | string |
| level | string |
| id | string |
| code | string |
| name | string |
| alt_name | string |
| lat | number |
| lng | number |
| is_active | integer |
| created_at | string |
| updated_at | string |
Filters and paging
Query parameters accepted by GET /v1/regions. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| q | string | 2 to 100 chars |
| level | string | one of provinces, regencies, districts, villages |
| province_id | string | None |
| regency_id | string | None |
| district_id | string | None |
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.