ASN lookup API
Look up any autonomous system by its number: organization, country, IP count and IP ranges. The ASN of an IP address comes with every IP API lookup.
The ASN API is part of the Small plan and above.
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 snippetsTell 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.
"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."
Built for developers
Plain REST and JSON, code examples and an OpenAPI spec. Load the spec into your API client to try every endpoint before you write a line of code.
Integration DocumentationThe ASN API is part of the Small plan and above.
