IP 2 Country
A JSON API that returns geolocation data, including the country, for a supplied IPv4 or IPv6 address via a simple GET request (e.g., https://api.ip2country.info/ip?5.6.7.8).
Latency
672ms p95
Uptime
100.0% 30d
Playground
Verified
live
Endpoints
/ip
Map an IP to a country
1 endpoint auto-detected
curl -X GET \ "https://ip2country.info/ip"
ip2country.info · HTTPS only