The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the IP Geolocation API listing page.
Geolocate any IP address -- country, city, ISP, ASN, VPN/proxy/Tor detection. IPv4 and IPv6 support. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
ip_lookup_geolocation | GET | /api/lookup | $0.008 | Geolocate a single IP address |
ip_lookup_geolocation_batch | POST | /api/lookup/batch | $0.02 | Geolocate up to 20 IP addresses in one call |
ip_lookup_geolocationUse this when you need to geolocate an IP address. Returns full location and network data in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ip | string | yes | IP address to lookup (e.g. 8.8.8.8) |
Example response:
When to use: fraud detection, content localization, access control by region, analytics enrichment, and bot detection.
Not for: domain data (use domain_lookup_intelligence), DNS records (use network_lookup_dns).
ip_lookup_geolocation_batchUse this when you need to geolocate multiple IP addresses at once (up to 20). Returns an array of geolocation results in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ips | array | yes | Array of IP addresses to lookup (max 20) |
Example response:
When to use: bulk log analysis, batch fraud screening, and enriching analytics data with location info. More cost-effective than single lookups.
Not for: single IPs (use ip_lookup_geolocation), domain data (use domain_lookup_intelligence).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT