ASN Lookup API
An Autonomous System (AS) is a group of IP networks run by one or more network operators with a single, clearly defined routing policy.
When exchanging exterior routing information, each AS is identified by a unique number: the Autonomous System Number (ASN). An AS is also sometimes referred to as a routing domain.
Autonomous system numbers can be public or private. Public ASNs are required for systems to exchange information over the Internet. A private ASN can be used instead if a system is communicating solely with a single provider via Border Gateway Protocol (BGP).
In this API method, Greip will help you lookup any given AS Number and returning all data related to it, like:
org(the organization name),
totalIPs, list of all routes (v4 & v6) related the given AS Number, etc.
The information returned from this method — like any other method in Greip — is real-time data, you'll always get the up-to-date data no matter what's the type of your subscription.
Here's a list of all parameters can be used for this method:
The AS Number you want to validate
Set this to true if you want to list all routes of both IPv4 and IPv6. Accpts:
The format of the API response. (
Lets you use our Development Environment to test the API without affecting your available requests (Learn more).
All parameters with (*) are required.
curl --location 'https://gregeoip.com/ASNLookup?asn=AS6167&key=your-api-key-goes-here'
"org": "Verizon Business",
"email": "[email protected]",