DeveloperDeveloperDeveloperDeveloperDeveloper
Trusted by 10,000+ Developers

One API Call. All the Data.

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"
  }
}

15+ Data Points Per Request

Everything you need to know about any IP address

Calling Codes
International dialing codes
Capital
Country capital city
Continent
Continent code & name
Country
ISO country codes
Emoji
Country flag emoji
EU Member
EU membership status
Currency
Local currency codes
IP Version
IPv4 or IPv6
Coordinates
Latitude & longitude
Region
Subdivision & state
Timezone
Local timezone
Postal Code
ZIP / postal code
Proxy Detection
VPN & proxy detection
Tor Detection
Tor exit node check
Company
Organization & ISP
Get Started Today

Ready to Build Something Amazing?

Join thousands of developers using our IP Geolocation API. Start with a free 30-day trial.

No credit card required
30-day free trial
Cancel anytime