Integrate in minutes with any language. No SDK required.
# Get location data for any IP
curl "https://api.ip2loc.com/YOUR_API_KEY/8.8.8.8"
# Response
{
"success": true,
"connection": {
"ip": "8.8.8.8",
"ip_version": "4"
},
"location": {
"country": {
"name": "United States",
"alpha_2": "US"
},
"city": "Mountain View"
}
}Everything you need to know about any IP address
From fraud detection to personalization, see how developers use our API
{"city": "Nuremberg","country": "DE","is_tor": false}{"latitude": 49.4423,"longitude": 11.0191,"timezone": "Europe/Berlin"}{"country": "DE","eu_member": true,"continent": "EU"}{"country_emoji": "🇩🇪","postal_code": "60313","currency": "EUR"}Join thousands of developers using our IP Geolocation API. Start with a free 30-day trial.