Location Intelligence API

地理位置、时区和天气查询接口

通过同一个 Pages 域名提供静态说明页和 API Functions,支持地点标准化、自动补全、时区解析、真实天气和批量查询。

Endpoints

POST/v1/location/lookup
GET/v1/location/{place_id}
GET/v1/location/autocomplete
GET/v1/timezone
GET/v1/weather/summary
POST/v1/location/batch-lookup

Example

curl -X POST "$BASE_URL/v1/location/lookup" \
  -H "Content-Type: application/json; charset=utf-8" \
  -H "X-API-Key: your_api_key" \
  --data '{"query":"遂宁","country":"CN","include":["timezone","weather"]}'