查询地址的经纬度,我们致力于为用户提供专业的免费API数据接口服务
查询地址的经纬度
https://qhapi.com/api/hy_jwd/api.php
https://qhapi.com/api/hy_jwd/api.php&apikey=你的API密钥&address=查询地址
点击右侧按钮复制完整请求地址,参数值请替换为实际有效值
| 参数名 | 是否必填 | 参数类型 | 参数说明 |
|---|---|---|---|
|
apikey
|
是 | string |
你的API密钥
点击登录获取秘钥 |
|
address
|
是 | string | 查询地址 |
| 参数名 | 参数类型 | 参数说明 |
|---|---|---|
|
code
|
int | 状态码(200成功) |
|
msg
|
string | 提示信息 |
|
data
|
object | 返回数据 |
{
"status": "1",
"info": "OK",
"infocode": "10000",
"count": "1",
"geocodes": [
{
"formatted_address": "北京市",
"country": "中国",
"province": "北京市",
"citycode": "010",
"city": "北京市",
"district": [],
"township": [],
"neighborhood": {
"name": [],
"type": []
},
"building": {
"name": [],
"type": []
},
"adcode": "110000",
"street": [],
"number": [],
"location": "116.407387,39.904179",
"level": "省"
}
]
}