Amap Maps Get V5 Place Polygon
1 credits/call
ae_amap_maps_get_v5_place_polygon
Search for places within a custom-defined area, such as a delivery zone or neighborhood boundary.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
types | string | No | 地点文本搜索接口支持按照设定的POI类型限定地点搜索结果;地点类型与poi typecode是同类内容,可以传入多个poi typecode,相互之间用“|”分隔,内容可以参考[POI分类码表](https://lbs.amap.com/api/webservice/download);地点(POI)列表的排序会按照高德搜索能力进行综合权重排序; | — |
output | enum (json) | No | 返回结果格式类型 默认格式为json,目前只支持json格式; | json |
polygon | string | Yes | 多边形区域 多个坐标对集合,坐标对用"|"分割。多边形为矩形时,可传入左上右下两顶点坐标对;其他情况下首尾坐标对需相同。 | — |
callback | string | No | 回调函数 callback 值是用户定义的函数名称,此参数只在 output 参数设置为 JSON 时有效。 | — |
keywords | string | No | 地点关键字 需要被检索的地点文本信息。 多个关键字用“|”分割,文本总长度不可超过80字符 | — |
page_num | string | No | 请求第几分页 page_num的取值1-100 注意:该参数在 schema 中定义为 string,即使含义是数字或数字枚举,也请按字符串传入,例如 "1"、"20",不要传裸数字 1、20。 | 1 |
page_size | string | No | 当前分页展示的数据条数 page_size的取值1-25 注意:该参数在 schema 中定义为 string,即使含义是数字或数字枚举,也请按字符串传入,例如 "1"、"20",不要传裸数字 1、20。 | 10 |
show_fields | string | No | 返回结果控制 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则: 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型; 2、多个字段间采用“,”进行分割; 3、show_fields未设置时,只返回基础信息类内字段。 | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_amap_maps_get_v5_place_polygon' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"page_num": "2",
"page_size": "25",
"polygon": "118.780,32.032|118.804,32.008",
"types": "050000|060000|100000|110000"
}
}'Response exampleresponse.json
{
"count": "25",
"info": "OK",
"infocode": "10000",
"pois": [
{
"adcode": "320104",
"address": "金轮新邨西北门西北50米",
"adname": "秦淮区",
"id": "B0J22USSMC",
"name": "宝记烧烤(夫子庙店)",
"type": "餐饮服务;中餐厅;综合酒楼"
}
],
"status": "1"
}This example shows part of the response. Copied content is valid JSON.

