v1

latestOpenAPI 3.0.02026-07-1314094.0 KB

Lookup any AS Number and receive it's details

This 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.

get/lookup/asn

Query parameters

asnstring
Example:15169

The asn command is used to specify the AS Number you want to lookup.

Sample value: AS6167 or 6167

isListstring
Example:no

Set this to yes if you want to list all routes of both IPv4 and IPv6.

formatstring
Example:JSON

The format command is used to get a response in a specific format.

Expected values: JSON, XML, CSV, or Newline.

For more information please refer to Response Format.

callbackstring
Example:my_function_name

The callback command can help you make the response as a JSONP format.

Expected values: any name that can be used as a function name in Javascript, e.g: myFunctionName.

modestring
Example:test

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.

Response

OK