---
title: "Administrative regions: the 38 provinces, the children of one parent code, or one region by code."
method: GET
path: "/v1/wilayah"
---

# Administrative regions: the 38 provinces, the children of one parent code, or one region by code.

`GET /v1/wilayah`

## Request

- Base URL: `https://refnusa.dev`
- URL: `https://refnusa.dev/v1/wilayah`
- Auth: none declared

## Query parameters

- `level` 'provinsi' | 'kabupaten' | 'kecamatan' | 'kelurahan': Level to list; anything below provinsi needs parent_code
- `parent_code` string: List the children of this code
- `code` string: Return this one region

## Response `200`

OK

## Other responses

- `400`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/refnusa/apis/refnusa-api.md) · [All operations](https://skmtc.dev/refnusa/apis/refnusa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/refnusa/apis/refnusa-api/revisions/6e9b0b8c35a4?raw)
