General Locations Information | Regions and Countries | Administrative Areas | AutoComplete Information

 

Admin Area List

GET

Admin Area List

Returns basic information about administrative areas in the specified country.

Resource URL

http://dataservice.accuweather.com /locations/v1/adminareas/{countryCode}

Query Parameters


Name Values Description
apikey
(required)

Provided API Key.

language

String indicating the language in which to return the resource.

offset

Integer, along with the limit (25) that determines the first resource to be returned. If no offset is provided, the max number (100) of results will be returned.


Request Body

countryCode Unique ID used to search within a specific country. true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    Request had bad syntax or the parameters supplied were invalid.

  • 401

    Unauthorized. API authorization failed.

  • 403

    Unauthorized. You do not have permission to access this endpoint.

  • 404

    Server has not found a route matching the given URI.

  • 500

    Server encountered an unexpected condition which prevented it from fulfilling the request.

Working...

Response Parameters

Parameter Type Description
ID string Unique Administrative Area ID for the location.
LocalizedName string Administrative Area name displayed in the local dialect set with the language code in the URL. Default is US English (en-us).
EnglishName string Administrative Area name displayed in English.
Level int32 An assigned number, describing the scale of the administrative subdivisions for countries. As the Level number increases, the scale of the subdivision will decrease. Numbers of 10 or greater are reserved for non-political boundaries and should be used independently. May be NULL.
LocalizedType string Administrative Area type displayed in the local dialect set with the language code in the URL. Default is US English (en-us).
EnglishType string Administrative Area type displayed in English.
CountryID string Unique ISO or Microsoft Localization Code for the country that contains the AdministrativeArea.