Skip to main content
Version: 202201

Get Province List

GET 

/openapi/2022-01/areas/country/:country_code/province

The Province List API allows developers to fetch a comprehensive list of provinces within a specified country using its unique identifier. This endpoint supports retrieving specific fields based on the user’s request.

Request

Path Parameters

    country_code stringrequired

    Country code, it should follow the ISO 3166-1 alpha-2 format (e.g., US, CA), for example: US

Responses

200

Schema
  • Array [
  • cn_namestring
    Example: 亚拉巴马州
    codestring
    Example: US-AL
    country_code2string
    Example: US
    namestring
    Example: Alabama
    old_codestring
    Example: AL
    province_idinteger
    Default value: 0
    Example: 3503
  • ]