1. Indonesia
  2. Regions

Indonesia Regions API

Indonesian regions from Ministry of Home Affairs administrative references and Statistics Indonesia (BPS), served through the same key and JSON format as the world datasets.

Request and response

The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.

GET/v1/id/regions
curl 'https://api.apifor.dev/v1/id/regions' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "success": true,
  "data": [
    {
      "id": "11",
      "code": "11",
      "name": "Aceh",
      "alt_name": "Aceh",
      "lat": 5.571,
      "lng": 95.341,
      "is_active": 1,
      "created_at": "2026-09-18 15:54:24",
      "updated_at": "2026-09-18 15:54:24"
    }
  ]
}

Fields

Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.

FieldTypeExample
idstring"11"
codestring"11"
namestring"Aceh"
alt_namestring"Aceh"
latnumber5.571
lngnumber95.341
is_activeinteger1
created_atstring"2026-09-18 15:54:24"
updated_atstring"2026-09-18 15:54:24"

Filters and paging

Query parameters accepted by GET /v1/id/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