asn_lookup
asn_lookupLook up ASN, organization, network prefix, and datacenter classification for an IP address.
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": {
"api_key": "<api_key>",
"ip": "<ip>"
},
"name": "asn_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to look up. | |
| api_key | Yes | ip-api.io API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| asn | No | ||
| country | No | ||
| network | No | ||
| country_code | No | ||
| organization | No | ||
| is_datacenter | Yes |