Loading
https://api.apifreaks.com/v1.0/geo/admin-units
$ pip install requests
Click Test it to start the request and see the response here!
| Field | Type | Requirement | Description |
|---|---|---|---|
| admin_units | Array | Mandatory | An array of administrative unit objects for the specified country, optionally filtered by admin level. |
| admin_units[].name | String | Mandatory | The full name of the administrative unit (e.g., "Punjab", "Azad Kashmir"). |
| admin_units[].admin_code | String | Mandatory | The short code identifying the administrative unit (e.g., "PB", "JK"). |
| admin_units[].admin_level | String | Mandatory | The type/level of the administrative unit (e.g., "province", "administered area", "federal capital territory"). |