ASN / BGP lookup
asn_lookupIdentify the network or hosting provider behind an IP and map an organization's address space by retrieving AS holder, announcement status, and announced prefixes via RIPEstat.
Instructions
Look up an IP or AS number via RIPEstat: which AS announces it (and the covering prefix for an IP), who holds the AS, whether it's announced right now, and the prefixes it announces (first 100, IPv4 then IPv6, with totals). Works for every RIR, not only RIPE.
Use to find the hosting / network provider behind an IP or to map an organisation's address space. Use ip_whois for the registration record and abuse contact. Cached for 6h.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | An IP address ("1.1.1.1") or an AS number, with or without the AS prefix ("AS13335" or "13335"). | |
| include_prefixes | No | Also list the prefixes the AS announces. Set false when you only need the holder. |