Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man ip-asn

/ip-asn

PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
ip-asn looks up asn and geolocation for any ipv4 or ipv6 address: asn number, asn org, isp, country, region, city, postal, latitude/longitude, a…
SYNOPSIS
POST https://x402.agentutility.ai/ip-asn
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Looks up ASN and geolocation for any IPv4 or IPv6 address: ASN number, ASN org, ISP, country, region, city, postal, latitude/longitude, and timezone. Primary backend: ipapi.co (1k req/day free); fallback: ip-api.com (45 req/min free). Both are free public APIs with no auth. Use it as an IP-to-ASN, IP geolocation, IP-to-ISP lookup, WHOIS for IP, or cloud-provider attribution tool.

INPUTrequest schema
propertytypedescriptionreq?
ipstringIPv4 or IPv6 address.required
OUTPUTresponse shape
fieldtypedescription
ipstringEchoes back the IPv4 or IPv6 address that was looked up.
asnstringAutonomous System Number announcing the prefix (e.g. AS15169).
asn_orgstringOrganization name registered to that ASN (e.g. Google LLC, Cloudflare Inc).
country_codestringISO 3166-1 alpha-2 country code for the IP (e.g. US, DE, JP).
countrystringFull country name geolocated for the IP.
regionstringState, province, or top-level administrative region for the IP.
citystringCity name geolocated for the IP.
postalstringPostal or ZIP code geolocated for the IP.
latitudestringApproximate latitude of the IP in decimal degrees as a string.
longitudestringApproximate longitude of the IP in decimal degrees as a string.
timezonestringIANA timezone name for the IP's location (e.g. America/Los_Angeles).
sourcestringUpstream backend that served the lookup: ipapi.co (primary) or ip-api.com (fallback).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/ip-asn \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the ip-asn tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probeip-lookupgeolocationasnwhoisispip-intelligence
methods
POST
cluster
webprobe
price
$0.001 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
hacker-news-searchSearch 30M+ Hacker News stories and comments via the Algolia HN index.$0.001
hn-searchSearches 30M+ Hacker News stories and comments via the public Algolia HN index.$0.001
qr-generatorGenerates PNG or SVG QR codes from text, URLs, vCards, WiFi strings, and plain text with configurable size, margin, colors, and error cor…$0.001
qr-makerMakes a QR code from text, URL, vCard, WiFi join string, or plain text and returns it as PNG or SVG.$0.001
keyword-suggestKeyword and autocomplete suggestions for any seed query.$0.002
crates-io-statsFetches the public crates.io API record for a Rust crate and returns description, license, repository, homepage, documentation, keywords,…$0.003
crypto-news-apiReturns recent cryptocurrency headline metadata and sentiment.$0.003
homoglyph-checkDetects Unicode lookalike characters that impersonate ASCII Latin letters, a common phishing-domain trick.$0.003
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org