D黑奴背锅 文档中心
公共 OpenAPI地点
GET/openapi/v1/get_geocoding

根据经纬度返回结构化地址信息。

调用额度

  • 每分钟:10
  • 每日:100
  • 每月:1000
  • 单次消耗:2

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

lon*number

经度,如 116.4074。

lat*number

纬度,如 39.9042。

Response Body

application/json

curl -X GET "https://example.com/openapi/v1/get_geocoding?lon=0&lat=0"
{  "code": 0,  "message": "逆地址解析成功",  "data": {    "formatted_address": "北京市东城区东华门街道",    "location": {      "lon": 116.4074,      "lat": 39.9042    },    "addressComponent": {      "province": "北京市",      "city": "北京市",      "county": "东城区",      "address": "东华门街道"    }  },  "time": 1779502528}