版本:202506
查询省份列表
GET/openapi/2025-06/areas/country/:country/province
分页返回省份列表。
请求
Path参数
country string必填
国家名称
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
- ]
codestring
错误码
messagestring
错误信息
data object
provinces object[]
省份列表
cn_namestring
省份的中文名称
codestring
省份代码
country_code2string
国家代码
namestring
省份的英文名称
old_codestring
省份旧代码
province_idint32
省份 ID
{
"code": "string",
"message": "string",
"data": {
"provinces": [
{
"cn_name": "string",
"code": "string",
"country_code2": "string",
"name": "string",
"old_code": "string",
"province_id": 0
}
]
}
}