Free tool · IPv4 & IPv6
IP address lookup
Enter an IP address to see where it is located and which provider and network it belongs to.
We store your IP address and your location rounded to about 1 km for 12 months to improve ipbase's accuracy. Details in our privacy policy.
What you get
Country, region, city and postal code, ISP and organization, ASN and network range, time zone, the VPN, proxy and Tor flags with a threat score, and the number of domains hosted on the address.
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.
Building this into an app? Use the IP lookup API and its IP info endpoint documentation.
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 and time zone for any IPv4 or IPv6 address, up to 1,000 addresses per POST request. Security flags (VPN, proxy, Tor, data center) are on the Small plan and above.
Read the documentation150 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": null, "is_tor": null, "threat_score": null }
}
}Free IP tools
Example lookups: 8.8.8.8 · 8.8.8.0/24 · AS15169 · example.com · all IPv4 ranges