asn

Returns information about an ASN.

Returns information about an ASN, such as the assigned prefixes, related domain, and more. The ASN API provides comprehensive information about an Autonomous System (AS) entity. It delivers data on the AS's registration, ASN type, network details, associated prefixes (including IPv6), and relationships with other ASNs (peers, upstreams and downstreams).

get/AS{asn}

Request

Path parameters

asninteger required

an ASN number.

Response

ASN response object.

asnstring required
namestring required
countrystring
allocatedstring date
registry'arin' | 'ripe' | 'apnic' | 'lacnic' | 'afrinic'
domainstring required
num_ipsinteger
routestring
type'isp' | 'business' | 'education' | 'hosting' | 'government' required
peersstring[]
upstreamsstring[]
downstreamsstring[]

Example response

{
  "asn": "AS10507",
  "name": "Sprint Personal Communications Systems",
  "country": "US",
  "allocated": "1997-02-14",
  "registry": "arin",
  "domain": "sprint.net",
  "num_ips": 71224576,
  "route": "66.87.125.0/24",
  "type": "isp",
  "prefixes": [
    {
      "netblock": "104.69.216.0/22",
      "id": "AKAMAI",
      "name": "Akamai Technologies, Inc.",
      "country": "US",
      "size": "256",
      "status": "ALLOCATION",
      "domain": "quadranet.com",
      "rpki_status": "valid"
    }
  ],
  "prefixes6": [
    {
      "netblock": "2601::/20",
      "id": "COMCAST6NET",
      "name": "Comcast Cable Communications, LLC",
      "country": "US",
      "size": "20282409603651670423947251286016",
      "status": "ASSIGNMENT",
      "domain": "comcast.com",
      "rpki_status": "valid"
    }
  ],
  "peers": [
    "1299"
  ],
  "upstreams": [
    "1299"
  ],
  "downstreams": [
    "109"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.