商业选址与地理计算 · geo.city.malls

按城市查询核心商圈列表与租金带宽

获取指定城市全部已入库重点商圈清单、均租范围与 3D 实景直达链接。

请求地址(支持 GET / POST)
GET https://www.xntou.cn/api/open/v1/geo/city-malls
单次计费
¥0.02 / 2 点
沙箱体验
免费 20 次/日

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "geo.city.malls",
  "result": {
    "city": "成都",
    "total": 10
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
city string 必填 成都 城市名称或拼音 slug(如 成都 / chengdu)

2. 核心返回字段(result)

字段路径类型说明
result.city string 城市名称
result.total number 商圈数量
result.malls array 商圈摘要列表

多语言接入代码示例

curl -s "https://www.xntou.cn/api/open/v1/geo/city-malls?key=YOUR_APP_KEY&city=%E6%88%90%E9%83%BD"
import requests
resp = requests.get("https://www.xntou.cn/api/open/v1/geo/city-malls", params={
  "key": "YOUR_APP_KEY",
  "city": "成都"
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/geo/city-malls?key=YOUR_APP_KEY&city=%E6%88%90%E9%83%BD");
console.log(await res.json());
<?php
$res = file_get_contents("https://www.xntou.cn/api/open/v1/geo/city-malls?key=YOUR_APP_KEY&city=%E6%88%90%E9%83%BD");
echo $res;