ASN / BGP Lookup
asn_lookupLook up ASN/BGP details for an IP address or AS number to identify the network operator, announced prefixes, abuse contact, and whether the IP is cloud/CDN-hosted.
Instructions
Look up Autonomous System (ASN) / BGP information for an IP address or AS number: the network operator, announced prefixes, abuse contact, and a classification (cloud, CDN, ISP, hosting, or enterprise). For an IPv4 address it also reports whether the address is on the Tor Project exit list, as information that does not change the result. Use this to identify who runs a network or whether an IP is cloud/CDN-hosted. Use reverse_dns instead for the host-level PTR name of a single IP. Read-only; requires no API key; rate-limited. Returns operator, prefixes, classification, and abuse contact.
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": {
"query": "<query>"
},
"name": "asn_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | An IP address (e.g., '1.1.1.1') or an AS number in 'AS####' form (e.g., 'AS13335'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kpis | No | Key metrics as label/value pairs | |
| grade | No | Letter grade (A+ to F) when the tool grades the target | |
| score | No | 0-100 score when the tool scores the target | |
| issues | No | Detected problems, severity-rated | |
| status | Yes | Overall verdict, e.g. 'good' | 'warning' | 'bad' | 'info' | 'unknown' | |
| actions | No | Recommended next actions, most important first | |
| summary | No | One-paragraph interpretation of the result | |
| receipts | No | Signed observation receipts behind this result, one per lookup: when, from where and under which rules version DechoNet observed it. Each url shows the record and checks its Ed25519 signature. | |
| reportUrl | Yes | Human-facing interactive report for this exact lookup on dechonet.com | |
| observation | No | How much was actually observed and when. A partial observation means some checks did not answer: missing parts are not verified, never clean. |