Map IP or prefix to origin ASN
public-infrastructure_ip-to-asn-lookupLongest-prefix match against a vendored RouteViews BGP snapshot, with IANA special-purpose flags. Price $0.02 USDC. POST /api/v1/public-infrastructure/ip-to-asn-lookup. An unpaid call returns the x402 payment terms and does not run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "public-infrastructure_ip-to-asn-lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ip, string, length 3 to 64. Optional. | |
| prefix | No | prefix, string, length 3 to 64. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | query. String. | |
| matched | No | matched. Object. | |
| sources | No | sources. Array. | |
| covering | No | covering. Array. | |
| snapshot | No | snapshot. Object. | |
| attribution | No | attribution. String. | |
| limitations | No | limitations. Array. |