Amap Maps Get V3 IP
1 credits/call
ae_amap_maps_get_v3_ip
Find the approximate geographic location associated with an IP address.
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 |
|---|---|---|---|---|
ip | string | No | ip地址 需要搜索的IP地址(仅支持国内) 若用户不填写IP,则取客户http之中的请求来进行定位 | — |
output | enum (JSON | XML) | No | 返回结果格式类型,可选值:JSON,XML | JSON |
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_v3_ip' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"ip": "61.184.6.14",
"output": "JSON"
}
}'Response exampleresponse.json
{
"adcode": "420600",
"city": "襄阳市",
"info": "OK",
"infocode": "10000",
"province": "湖北省",
"status": "1"
}This example shows part of the response. Copied content is valid JSON.

