IP Geolocation API
4 endpoints for IP geolocation: single IP lookup (country, region, city, ISP, ASN, lat/lng, timezone, datacenter heuristic), batch lookup of up to 20 IPs in parallel, caller's-IP introspection (via x-forwarded-for chain), and great-circle distance between two IPs in km/miles. Backed by ip-api.com (primary) with ipapi.co fallback.
1 of 4 routes settlement-verified · $0.001 USDC/request · 4 endpoints / 4 tools · Data · base network · x402 protocol
Verified routes
/lookup/ip· $0.001 · 2026-08-03 · receipt
Other routes are unverified.
Networks: Base (settlement-verified)
Discovery is free. Agents search the catalogue here. Payment happens on the listing 402, not on PayAPI.
url https://payapi.market/mcp
Turn an IP address into country, city, ASN, ISP and timezone. Single, bulk, caller-IP and distance lookups.
Endpoints
POST /lookup/ip: Geolocate a single IP: country, city, ASN, ISP, timezone. ($0.001)POST /lookup/bulk: Geolocate many IPs in one call. ($0.001)POST /lookup/myip: Geolocate the caller's own IP. ($0.001)POST /lookup/distance: Distance between two IP locations. ($0.001)
Example request
curl -X POST https://ipgeo.payapi.market/lookup/ip \
-H 'content-type: application/json' \
-d '{"ip":"8.8.8.8"}'
Example response
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"asn": "AS15169",
"isp": "Google LLC",
"timezone": "America/Los_Angeles"
}
How an agent calls this
Where is IP 8.8.8.8 located and which network operator owns it?
An MCP-connected agent discovers this API, picks it for the task, and pays per call in USDC. No keys, no account.
About this API
IP Geolocation API is listed in the Data category with pricing at $0.001 USDC/request. One route has been settlement-verified by PayAPI Market on 2026-08-03. View receipt on Basescan.
Payments settle on base in USDC via the x402 protocol. AI agents discover this API through the PayAPI Market MCP server and pay per request without API keys or accounts.
This API exposes 4 endpoints. Only the verified route has been tested by PayAPI Market. Other routes are unverified.
How to call this API
Every protected route returns HTTP 402 with x402 payment requirements. An agent pays the stated USDC amount on Base and retries with the payment header. No API keys, no accounts. Browse the marketplace or list your own API.
Related APIs
- Synthetic Universe Data APIs · 1 of 38 routes verified · Pay-per-call data APIs for AI agents on Base, Polygon, Arbitrum, Avalanche, Solana via x402 — $0.01 USDC/call, no API keys or accounts. Live catalog: brianbooms.com/agents/
- TELAGO Domain Age & RDAP Trust Signal · 1 route verified · Domain age checker and RDAP trust signal for autonomous agents. Returns registration date, age in days/years, expiry, registrar, nameservers, DNSSEC, trust signal, and machine-readable escalation into domain due diligence, counterparty screening, vendor onboarding and supplier payment control.
- CSV Data Quality Checker · Check a CSV before import: missing cells, duplicate rows, required columns and declared types (string, integer, number, boolean, date), with row/column positions. Comma, semicolon or tab. Up to 1 MiB, 10,000 rows, 100 columns. Deterministic, body not stored; failed executions are not settled.
- x402 Integrity Check · 1 route verified · Call before trusting or paying a third-party x402 seller: checks an x402 listing's price, network and bazaar presence against our sampled ecosystem snapshot, and probes endpoint reachability - flagging dead or mismatched endpoints and prices so an agent can skip them before paying (JSON).
- SEC Form D Startup Funding & Private Placement API · 1 route verified · Search official SEC EDGAR Form D notices for startup funding, private placements, issuers, offering amounts, amounts sold, investor counts, exemptions, securities, and amendments. Supports recent filings plus exact CIK, accession, keyword, date, state, industry, fund, entity, security, exemption, amendment, amount, and investor filters with bounded results and source links. Form D is issuer-filed notice evidence—not SEC approval, verified or completed financing, investment advice, or proof reported amounts were ultimately raised; investor counts do not identify investors. Deterministic test: daysBack=7&maxResults=1&maxFilingsScanned=25. MCP tool: search_sec_form_d_filings.
- ForgeMesh Fare Intelligence · 1 of 2 routes verified · Agent-payable travel fare intelligence. Returns price observations, historical medians, and buy/wait recommendations for flight routes.