Loading
Loading
Get detailed data about a specific administrative unit including name, country, level, and geographic boundaries.
Returns comprehensive details for a single administrative unit identified by country code and admin unit code.
Authorize every request with your API key, passed either as a header or as a query parameter:
X-apiKeyapiKeyThis is version v1.0 of the API.
Both parameters are required.
formatoptionalStringdefault: jsonResponse format: 'json' (default) or 'xml'.
countryrequiredStringCountry code in ISO 3166-1 alpha-2 format.
admin_unitrequiredStringAdmin code of the administrative unit being requested.
A successful request returns a 200 OK response with the admin unit details.
nameName of the administrative unit.
admin_codeAdministrative code of the unit.
admin_iso3166_2Admin code in ISO 3166-1 alpha-2 format.
admin_levelLevel or type of the administrative unit (e.g., province, region).
country_iso3166_2Country code in ISO 3166-1 alpha-2 format.
country_nameName of the country.
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
Only ISO 3166-1 alpha-2 codes country codes are supported.
Please provide a valid admin code.
This Country does not have any admin units associated with it.