Administrative Regions API
Walk administrative areas level by level, from top-level regions down to villages. 91,599 records across 1 countries and territories, from open-admin-data.
GET /v1/regionsCC BY 4.01 countries28 Nov 2026Request 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.
curl 'https://api.apifor.dev/v1/regions' \
-G -d country=ID -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"country_code": "ID",
"level": "provinces",
"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. A nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| country_code | string | "ID" |
| level | string | "provinces" |
| id | string | "11" |
| code | string | "11" |
| name | string | "Aceh" |
| alt_name | string | "Aceh" |
| lat | number | 5.571 |
| lng | number | 95.341 |
| is_active | integer | 1 |
| created_at | string | "2026-09-18 15:54:24" |
| updated_at | string | "2026-09-18 15:54:24" |
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 |
Coverage by country
1 countries and territories have records in the 28 Nov 2026 snapshot. Each one has its own page with filters and counts.