Skip to content
Private preview: new accounts are by invitation only. Ask for one

Look up an ASN

GET/v1/asn/{asn}

One network: the IP ranges the IPtoASN mapping assigns to the ASN, its name and registry country, the published cloud, hosting and CDN ranges inside them, and how many IPs and domains were observed there. Ranges are paged: pass next_cursor back as cursor; each page counts one request. An ASN the mapping does not list answers with no ranges.

Authorization

APIKey
AuthorizationBearer <token>

Your API key, which starts with sk_. Create one in the console.

In: header

Path Parameters

asn*string

An AS number, as 64500 or AS64500.

Query Parameters

limit?integer

Items per page, 1 to 1000. Free keys get at most 100 a page; a larger limit is lowered and next_cursor continues.

Range1 <= value <= 1000
Default100
cursor?|

The previous page's next_cursor, unchanged. Omit it for the first page.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl "https://api.ipalmanac.com/v1/asn/AS64500" \  -H "Authorization: Bearer $IPALMANAC_API_KEY"
{  "asn": 64500,  "is_bogon": true,  "bogon": {    "first": 64496,    "last": 64511,    "name": "Documentation",    "rfc": "RFC 5398"  },  "name": "EXAMPLE-CLOUD - Example Cloud, Inc.",  "country": "US",  "source": "IPtoASN",  "routes": {    "ipv4": 1,    "ipv6": 1  },  "ipv4_addresses": 65536,  "providers": [    {      "provider": "examplecloud",      "category": "cloud",      "ranges": 5    }  ],  "observed": {    "ips": 2,    "domains": 2  },  "ranges": [    {      "first": "54.10.0.0",      "last": "54.10.255.255",      "prefixes": [        "54.10.0.0/16"      ]    }  ],  "next_cursor": "eyJ...opaque",  "coverage": {    "observation_window": {      "first": "2026-10-01T00:00:00+00:00",      "last": "2026-10-06T01:55:00+00:00"    },    "vantage_count": 1,    "record_types": [      "A",      "AAAA"    ],    "seed": {      "source": "Majestic Million",      "names": 1000000    },    "ptr": {      "checked_ips": 87000,      "observed_ips": 588000    },    "semantics": [      "Coverage is the seed list, not the whole Internet. Empty means unobserved here, not absent.",      "is_datacenter and is_cdn are true only when the IP is inside a published provider range of that category; null means no range matched, not that the IP is not hosted.",      "provider and prefix come only from cloud, hosting and CDN ranges. A range of any other category in provider_ranges describes how the IP is used, not who hosts it."    ]  },  "attribution": [    {      "source": "Majestic Million",      "by": "Majestic",      "license": "CC BY 3.0"    },    {      "source": "IPtoASN",      "by": "Frank Denis",      "license": "PDDL 1.0"    }  ],  "release": {    "id": "20261006T020000Z",    "built_at": "2026-10-06T02:00:00+00:00"  }}