Ae · Amap · Maps · Get · V5 · Place · Detail

1.00积分/次
ae_amap_maps_get_v5_place_detail

根据唯一 ID 获取地点的详细信息,包括地址、联系方式和营业时间。

地图
1.00积分/次

价格说明

1.00积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://api.agentearth.ai/v1/tools/run' \
  --header 'Authorization: Bearer $AGENTEARTH_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "tool": "ae_amap_maps_get_v5_place_detail",
  "input": {
    "id": "xxx",
    "output": "json",
    "callback": "xxx",
    "show_fields": "xxx"
  }
}'
请求方式
POST
接口地址
/v1/tools/run
鉴权方式
Bearer Token
超时时间
60 秒
当前版本
—
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
idstring是poi唯一标识 最多可以传入10个id,多个id之间用“|”分隔。—
outputenum (json)否返回结果格式类型 默认格式为json,目前只支持json格式;json
callbackstring否回调函数 callback 值是用户定义的函数名称,此参数只在 output 参数设置为 JSON 时有效。—
show_fieldsstring否返回结果控制 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则: 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型; 2、多个字段间采用“,”进行分割; 3、show_fields未设置时,只返回基础信息类内字段。—