IPv4 or IPv6 address → covering BGP prefix, origin
security_ip_geolocation_asnIPv4 or IPv6 address → covering BGP prefix, origin AS number and holder name, whether the prefix is announced, and a coarse country and map point, all from RIPEstat. Location is an estimate (a block-level database), not a street address; the city is often empty. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>"
},
"name": "security_ip_geolocation_asn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address such as 8.8.8.8 (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| asn | No | ||
| prefix | No | ||
| source | No | ||
| location | No | ||
| announced | No | ||
| asnHolder | No | ||
| checkedAt | No | ||
| locationCoveragePct | No |