Loading
Loading
Retrieve administrative level hierarchy for a country. Understand how countries are divided into states, provinces, districts, and sub-districts.
Returns the distinct administrative level types (e.g., province, district) for a given country.
Pass your API key as the apiKey parameter in every request.
This is version v1.0 of the API.
The following parameter is required.
countryrequiredStringCountry code in ISO 3166-1 alpha-2 format.
A successful request returns a 200 OK response with an array of admin level names.
admin_levelsAn array of strings listing all distinct administrative level types present in the specified country.
admin_levels[]An administrative level type name (e.g., "province", "federal capital territory", "administered area").
The API uses standard HTTP status codes to indicate the success or failure of requests. For common status codes like 429 (Too Many Requests), refer to the general API documentation.
Only ISO 3166-1 alpha-2 codes country codes are supported.
This Country does not have any admin units associated with it.