Free tool · IPv4 & IPv6
IP address lookup
Enter an IP address to see where it is located, which provider and network it belongs to and whether it is a VPN, proxy or data center address.
What you get
Country, region, city and postal code, ISP and organization, ASN and network range, time zone and security flags.
How accurate is it?
Country-level data is very reliable. City-level accuracy depends on the network: good for fixed broadband, lower for mobile and VPN traffic.
IP geolocation by API
curl "https://api.ipbase.com/v2/info?ip=8.8.8.8" -H "apikey: YOUR-API-KEY"
Use the fields parameter to return only what you need, e.g. fields=ip,location.country.alpha2,security.
Frequently asked questions
How do I look up an IP address?
Where does the data come from?
Can I look up IP addresses from server logs?
IP geolocation API
Get this data in your app
ipbase returns location, ISP, ASN, time zone and security flags (VPN, proxy, Tor, data center) for any IPv4 or IPv6 address, up to 100 addresses per request.
150 free requests every month. No credit card required.
GET https://api.ipbase.com/v2/info?ip=1.1.1.1
{
"data": {
"ip": "1.1.1.1",
"type": "v4",
"connection": {
"asn": 13335,
"organization": "APNIC and Cloudflare DNS Resolver project",
"isp": "Cloudflare, Inc",
"range": "1.1.1.0/24"
},
"location": {
"country": { "alpha2": "AU", "name": "Australia" },
"zip": "4000"
},
"security": { "is_vpn": false, "is_tor": false, "threat_score": 0 }
}
}