ASN API Icon

ASN lookup API

Look up the autonomous system behind any IP address: its number, organization, country, IP count and every registered range.

asn: "AS13335", organization: "Cloudflare, Inc.", domain: "cloudflare.com", country: "AU", isp: "APNIC Research and Development", ip_count: 512, ranges_count: 2

ASN lookup API

Every routed IP address belongs to an autonomous system. Its ASN tells you who runs the network.

What the ASN API returns

One request returns the full ASN record as JSON.

See all data fields & code snippets
ASN
Organization
Domain
Country
ISP
IP Count
Ranges Count
Range Details
Customer logos: SAP, Accenture, Heineken, Oracle, Microsoft and Volkswagen

Tell hosting, business and consumer IPs apart

The ASN shows whether an address belongs to a hosting provider, a business or a consumer ISP, so you can segment users, flag data center traffic and tailor what you show.

Know your users' networks

See which ISPs and networks your users come from, and what that means for their connection speed and data limits.

breatheilo

"We recently implemented ipbase.com and were very impressed with their ASN API. We are using the API to analyze and optimize the user experience of our app users. We had quite a lot of questions as part of the integration phase and their support team never got tired of helping us out."

Wernhard Berger
Wernhard Berger CEO @ Breatheilo

Built for developers

Plain REST and JSON, code examples, client libraries and a Postman collection, so you can test every endpoint before you write a line of code.

Integration Documentation

Get started for free. No credit card required.

Frequently asked questions

What is an ASN? How is ASN data used? What does the ASN API return? Why do some IP addresses not have ASN data?