Lookup any AS Number and receive its details
Changed onThis API method allows you to look up any given Autonomous System Number (ASN) and retrieve comprehensive data associated with it.
The information returned includes the ASN name, organization name, country, associated domain, contact email, phone number, total IPs, and a detailed list of all related routes (both IPv4 and IPv6). This functionality is essential for network analysis, troubleshooting, and understanding the infrastructure behind IP addresses.
Request
- Base URLhttps://v2.greipapi.com
- URLhttps://v2.greipapi.com/lookup/asn/{asn}
- AuthHTTP bearer
Path parameters
Query parameters
The format command is used to get a response in a specific format.
The mode command is used to in the development stage to simulate the integration process before releasing it to the production environment.
Expected values: live, or test.
The user_id query parameter identifies requests from specific users for monitoring in the Events page. See the user identifier options page for details.
Response
OK
Example response
{
"success": true,
"execution_ms": 42
}Changes
- info
api tag
Lookupadded - info
added the media type
application/jsonfor the response with the status
- info
- info
endpoint added
- info