ASN

ASN Record

One ASN from the public directory. No key, no credit.

get/v1/asn/{asn}

Request

  • Base URL: https://api.lookip.io
  • URL: https://api.lookip.io/v1/asn/{asn}
  • Auth: none required

Path parameters

asnstring required

AS number, with or without the AS prefix.

Response

The ASN record.

asnstring required

AS number with the AS prefix.

numberinteger required

AS number.

namestring

Registered organisation name.

domainstring

Organisation domain.

countrystring

ISO 3166-1 alpha-2 country code of the registration.

prefixCountinteger

IPv4 /24 blocks attributed to this AS by a sampled sweep of routable IPv4 space: one address per /24 is probed, and the blocks that answer are counted. It is a size proxy — sampled and lossy — and it is not a count of announced BGP prefixes. On large networks the two differ by an order of magnitude, so do not read it as a route count.

datasetVersionstring date-time

ISO-8601 build time of the ASN dataset.

Example response

{
  "asn": "AS15169"
}

Changes

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