Returns a summary for an Autonomous System: name, IPv4/IPv6 prefix counts,
total address space sizes, and a warnings array for any anomalous
announcements (bogons, too-specific, too-large prefixes).
:as accepts AS13335, as13335, or just 13335.
| Field | Type | Description |
|---|---|---|
| asn | number | AS number, e.g. 13335. |
| name | string | Organisation name from the registry. |
| iprec | number | Total prefix count (IPv4 + IPv6) attributed to the AS by the IP-to-ASN range data (iptoasn) — not observed BGP origination; see announced. |
| v4size | number | Total IPv4 addresses attributed to the AS by the range data (iptoasn), not observed BGP origination; see announced. |
| v6size | number | Total IPv6 space attributed to the AS by the range data, in /64 equivalents. |
| smaskv4 | object | IPv4 prefix length to prefix count, e.g. {"24": 2240, "12": 1}. |
| smaskv6 | object | IPv6 prefix length to prefix count. |
| announced | object | Observed-BGP figures from Atlas's latest RIB snapshot: prefixes_v4, prefixes_v6, addresses_v4 (numbers) and rib_ts (snapshot timestamp). null when unknown. |
| warnings | array | List of warning objects for bogon, too-specific, or too-large prefixes. |
Search for ASNs by number, IP address, or organisation name substring. Returns up to 25 results. Rate limited to 30 requests per minute per IP.
Resolves the connecting client's IP to its owning ASN and returns a standard details response. A convenient shortcut for "what AS am I in?"
Returns all CIDR prefixes announced by the ASN as a flat JSON array of strings.
Each prefix is validated — bogons and anomalous announcements are flagged in the
warnings field of the /details/ response.
Returns the ASN's prefix list pre-formatted for direct use in firewalls and
network devices. Replace :format with one of the names below.
All formats accept the same flexible :as syntax (AS13335, 13335, etc.).