Maps an IPv4 address to its origin AS number, the BGP
security_cymru_asn_lookupMaps an IPv4 address to its origin AS number, the BGP prefix that covers it, the country, the registry and the allocation date, using Team Cymru's public IP-to-ASN DNS service. Returns no origin when Cymru has no mapping for the address. Related tools on this server, for a different need: security_ip_geolocation_asn when you need IPv4 or IPv6 address → covering BGP prefix, origin; security_asn_peers_upstream when you need for an autonomous system: how many upstream and downstream. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); 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_cymru_asn_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address such as 8.8.8.8 (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| asn | No | ||
| mapped | No | ||
| prefix | No | ||
| source | No | ||
| country | No | ||
| registry | No | ||
| allocated | No | ||
| checkedAt | No |