REST API
Plain HTTPS, JSON in, JSON out. No auth for the free ipcc lookup.
GET https://api.ipfacts.com/ipcc/8.8.8.8
→ { "countryCode": "US", "isPublic": true,
"addressFamily": "IPv4" }
api.ipfacts.com →
Country, public/private, IPv4 vs IPv6, Tor exit-node, and cloud-provider classification — for any IP address. Same data behind a REST API, an MCP server (x402-paid), and a CLI.
Pre-filled with the IP we see for your request.
Plain HTTPS, JSON in, JSON out. No auth for the free ipcc lookup.
GET https://api.ipfacts.com/ipcc/8.8.8.8
→ { "countryCode": "US", "isPublic": true,
"addressFamily": "IPv4" }
api.ipfacts.com →
Two tools for AI agents — ipcc (free) and ipfacts (paid per-call). Drop into any MCP-capable client.
mcp connect https://mcp.ipfacts.com
→ tools: ipcc, ipfacts
mcp.ipfacts.com →
The enriched ipfacts tool charges per-call via the x402 protocol — pay only for the calls you make, no subscription.
HTTP 402 Payment Required
→ client signs & retries
→ result + receipt
How it works →
Building something that needs IP classification? The free tier covers
ipcc — read the Learn page for the
enriched ipfacts shape, Tor detection, and Azure cloud
classification.