Look up an ASN
/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 Your API key, which starts with sk_. Create one in the console.
In: header
Path Parameters
An AS number, as 64500 or AS64500.
Query Parameters
Items per page, 1 to 1000. Free keys get at most 100 a page; a larger limit is lowered and next_cursor continues.
1 <= value <= 1000100The 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" }}Show the networks a domain moved through GET
Hosting history: the networks a domain's A/AAAA answers moved through, one run per stretch on one network (routing ASN and cloud, hosting or CDN provider), oldest first, with when it was first and last seen there and when it left.
Check an API key GET
Check that your API key works.