地址解析聚合
GET
/address_analyzer/v1
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.map.baidu.com/address_analyzer/v1?address=北京市海淀区信息路甲九号&ak='
响应示例响应示例
{
"status": 0,
"address": "string",
"result": {
"name": "string",
"tel": 0,
"province": "string",
"province_code": 0,
"city": "string",
"city_code": 0,
"county": "string",
"county_code": 0,
"town": "string",
"town_code": 0,
"road": "string",
"road_code": 0,
"section": "string",
"section_code": "string",
"poi": "string",
"poi_code": 0,
"problem": "string"
},
"detail": {
"poi_xy": "string",
"poi_tag": "string",
"address_poi": "string",
"address_xy": 0,
"address_precise": "string",
"address_ confidence": 0,
"address_ comprehension": "string",
"address_level": "string",
"address_detail": "string"
}
}
请求参数
Query 参数
address
string
需要解析的地址文本
示例值:
北京市海淀区信息路甲九号
output_tag
string
可选
aoi_radius
integer
可选
poi_score
integer
可选
confidence
integer
可选
model
string
可选
ret_coordtype
string
可选
addr_verify
integer
可选
ak
string
必需
默认值:
{{ak}}
返回响应
修改于 2022-08-22 02:39:48