IP Geolocation API
Provider's Description
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 route settlement-verified · $0.001 USDC/request · 1 endpoint / 4 tools · Data · base network · x402 protocol
Verified routes
/lookup/ip· $0.001 · Verified with a $0.001 test payment on 3 Aug 2026 · 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.
Listing facts
- Provider
- PayAPI Market
- Hosted at
ipgeo.payapi.market- Category
- Data
- Price
- $0.001 USDC per request
- Endpoint
- 1
- MCP tools
- 4
- Payment networks
- Base
- Settlement-verified
- 1 route, last checked 2026-08-03
- Listed on PayAPI Market
- 2026-08-02
Try IP Geolocation API
Call a verified route without paying first. The server should answer HTTP 402 Payment Required with the price, the USDC asset, the network and the wallet to pay. An x402 client pays that amount on Base and retries with the payment header.
curl -i "https://ipgeo.payapi.market/lookup/ip"
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 1 endpoint.
Add this badge to your README
Paste this on your site. The link points at this listing. Listing is free and PayAPI takes 0% of each job.
Markdown
[](https://payapi.market/api/ip-geolocation-api)
HTML
<a href="https://payapi.market/api/ip-geolocation-api"><img src="https://payapi.market/badge/ip-geolocation-api.svg" alt="Settlement-verified on PayAPI Market" height="20"></a>
How do I call this?
Send GET /lookup/ip on ipgeo.payapi.market.
The listed price is $0.001 USDC per request.
Which networks can I pay on?
You can pay in USDC on Base.
Which APIs are similar?
- IP Geolocation API
- KestrelRelay Fast IP Geolocation, ASN & ISP Intelligence
- Postcode & Address Lookup API
- IP geolocation for any IPv4 or IPv6 address: country, city, latitude/longitude
- UK Postcode & Address API
- ipv4.fr IP geolocation
Questions about this API
What does IP Geolocation API do?
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. It is provided by PayAPI Market.
How much does IP Geolocation API cost?
IP Geolocation API is priced at $0.001 USDC per request, paid per call with no subscription. Verified with a $0.001 test payment on 3 Aug 2026. The exact amount for each call is in the HTTP 402 response before any money moves.
Do I need an API key or account to use IP Geolocation API?
No. IP Geolocation API uses the x402 protocol, so an agent pays per request in USDC on Base and gets the response, with no API key, account or signup.
Has IP Geolocation API been verified?
Yes, 1 route. PayAPI Market paid for a real call from its own wallet, received real data back and recorded the USDC settlement on-chain, most recently on 2026-08-03.
How does an AI agent find IP Geolocation API?
Through the free PayAPI Market MCP server at https://payapi.market/mcp, using search_apis or get_api, or over plain HTTP at https://payapi.market/agent/search. Discovery is free; the agent pays the provider directly on the listing's own 402.
More Data APIs · Browse the marketplace · List your own API