← All APIs Network

ASN Lookup API

Finds the network owner and details behind an IP address or ASN

Given an internet address (IP) or a network identification number (ASN), this tool returns who operates that piece of the internet: the network number, the owner's name, the country it's registered in, the regional registry that manages it, and the exact address range it belongs to.

POSThttps://asn-lookup.underscoredone.com/lookup
Pricing

$0.01 per request — pay via x402/USDC. No account needed.

How to use

Send a query that is either a plain IP address (like 8.8.8.8) or an ASN reference (like AS15169 or 15169). The tool figures out which one it is automatically. It looks up live data from the RIPEstat public information service (no key required) and returns the owning network's details. If the query is invalid or nothing is found, it returns a clear error message instead of guessing.

Input parameters
NameTypeRequiredDescription
querystringyesAn internet address such as 8.8.8.8 or 2001:4860:4860::8888, or a network reference such as AS15169 or 15169, that you want information about.
Example response
{
  "api_version": "1.0.0",
  "query": "8.8.8.8",
  "asn": "AS15169",
  "holder": "GOOGLE",
  "country": "US",
  "registry": "arin",
  "prefix": "8.8.8.0/24",
  "allocated": "1992-12-01"
}
Error responses
StatusMeaning
400Bad request — your input failed validation or could not be processed. Check the detail field for specifics.
402Payment required. Send a signed USDC payment on Base Mainnet or Solana Mainnet using the x402 protocol.
422Unprocessable — a required field is missing or the wrong type. Check the detail field for specifics.
Links