Get the location of any IPv4 or IPv6 address with our comprehensive IP geolocation and intelligence API. Integrate in minutes, and see why thousands of businesses trust IPLocate data. Free up to 1,000 requests per day.
Integrating IP geolocation into your product doesn’t have to be a pain. With our simple API and robust libraries, it’s fast and easy.
const client = new IPLocate('');
// Look up an IP address
const result = await client.lookup('17.253.0.0');
console.log(`IP: ${result.ip}`);
console.log(`Country: ${result.country}`);
console.log(`City: ${result.city}`);
// Check privacy flags
console.log(`Is VPN: ${result.privacy.is_vpn}`);
console.log(`Is Proxy: ${result.privacy.is_proxy}`);
const url = 'https://iplocate.io/api/lookup/17.253.0.0?apikey=';
const response = await fetch(url);
const data = await response.json();
console.log(data);
curl https://iplocate.io/api/lookup/17.253.0.0?apikey=
require 'iplocate'
results = IPLocate.lookup('17.253.0.0')
puts results.inspect
from iplocate import IPLocateClient
client = IPLocateClient(api_key="")
# Look up an IP address
result = client.lookup("17.253.0.0")
print(f"IP: {result.ip}")
print(f"Country: {result.country}")
print(f"City: {result.city}")
# Check privacy flags
print(f"Is VPN: {result.privacy.is_vpn}")
print(f"Is Proxy: {result.privacy.is_proxy}")
client := iplocate.NewClient(nil).WithAPIKey("")
// Look up an IP address
result, _ := client.Lookup("17.253.0.0")
fmt.Printf("IP: %s\n", result.IP)
fmt.Printf("Country: %s\n", *result.Country)
fmt.Printf("City: %s\n", *result.City)
// Check privacy flags
fmt.Printf("Is VPN: %v\n", result.Privacy.IsVPN)
fmt.Printf("Is Proxy: %v\n", result.Privacy.IsProxy)
<?php
use IPLocate\IPLocate;
$client = new IPLocate('');
// Look up an IP address
$result = $client->lookup('17.253.0.0');
echo "IP: {$result->ip}\n";
echo "Country: {$result->country}\n";
echo "City: {$result->city}\n";
// Check privacy flags
echo "Is VPN: " . ($result->privacy->isVpn ? 'Yes' : 'No') . "\n";
echo "Is Proxy: " . ($result->privacy->isProxy ? 'Yes' : 'No') . "\n";
IPLocateClient client = new IPLocateClient("");
// Look up an IP address
IPLocateResponse result = client.lookup("17.253.0.0");
System.out.println("IP: " + result.getIp());
System.out.println("Country: " + result.getCountry());
System.out.println("City: " + result.getCity());
// Check privacy flags
PrivacyDetails privacy = result.getPrivacy();
System.out.println("Is VPN: " + privacy.isVpn());
System.out.println("Is Proxy: " + privacy.isProxy());
Modern SDKs for common languages and frameworks, so you can get started in minutes.
of networks tracked and updated daily, covering billions of IP addresses
API requests per day, peaking at 15,000+ requests per second
average API response time from our global network
average historical uptime
The IPLocate API also includes company data, threat and privacy detection, and more — all included. One platform, one price.
data updates to millions of privacy and threat networks
See a live example of our comprehensive IP intelligence for your own IP address, or look up any IP address or ASN.
data updates to hundreds of millions of network and geolocation data points
Other providers charge for every individual data point, often on a monthly or yearly contract.
We believe reliable, accurate IP data should be accessible to everyone. So every plan — including our free tier — gives you complete access to all of our data.
And our pricing model is flexible, so you can pay for what you need in the way that works for you.
See how thousands of other companies around the world use IPLocate’s IP geolocation data to grow smarter businesses.
Using country, city, and currency_code, automatically display local languages, events, and pricing.
Enrich your analytics by mapping user activity against latitude, longitude, and asn data to visualize growth and user distribution.
Detect user location with the is_eu boolean and country_code to dynamically show GDPR/CCPA consent banners or restrict access.
Identify and rate-limit traffic from data centers and hosting providers by using the privacy.is_hosting flag and company.type data.
Leverage privacy data (VPN, proxy, datacenter detection) and country_code to flag high-risk signups or transactions.
IP geolocation is the process of determining the geographical location of a device based on its IP address. IPLocate.io provides comprehensive geolocation data including country, region, city, postal code, and latitude/longitude coordinates of the nearest city center. This is sometimes called ”IP to location” or ”IP to address” lookup.
You can view your own IP address information, including geolocation details, using our ‘What is my IP’ IP lookup tool. This free tool provides instant access to your IP's geolocation and network information.
IP geolocation data is commonly used for content personalization, fraud prevention, traffic analysis, regulatory compliance, targeted advertising, and cybersecurity applications. Our customers leverage our API for everything from localizing content to detecting suspicious login attempts.
From your IP address, someone can typically determine your general location (city/region), your Internet Service Provider, and whether you're using a proxy or VPN.
IPLocate processes terabytes of data every day to maintain one of the most accurate IP geolocation databases in the industry. We update our database daily to ensure the highest level of precision and coverage. However, geolocation accuracy can be affected by several factors, including the use of VPNs or proxies, mobile networks, rural or remote locations with limited infrastructure, and corporate networks that route traffic through centralized gateways. IPLocate’s security intelligence features help identify when users are masking their true location.
Our IP Geolocation API provides IP lookup results in JSON format.
Yes, our geolocation API fully supports lookups for both IPv4 and IPv6 addresses.
Yes, our IP info API provides IP to ASN and ISP information. This includes IP to Autonomous System Number, IP to Organization & Country Code, IP to Network & Domain. We also provide the type of organization and network — for example: hosting, ISP, government, education. This data is included on all free and paid plans.
Yes, our IP data API provides IP to Company information. This includes the company name, domain, and country code. This can be used for lead generation, fraud detection, and more.
Yes, our service includes threat intelligence data that can help identify if an IP address belongs to a proxy, VPN, or Tor exit node.
Our free IP location lookup API provides detailed, accurate geolocation data for any IP address. This includes the estimated latitude and longitude, as well as the city, region, country, time zone, and more. You can use this data to create maps, analyze user behavior, and more.
IP geolocation helps businesses comply with regional regulations such as GDPR in the European Union or CCPA in California by identifying user location. This allows companies to apply appropriate privacy notices, content restrictions, or regional pricing based on the user's geographical location.
IPLocate updates its IP geolocation database daily to ensure the most accurate and current information. This regular update schedule helps maintain high accuracy as IP allocations and network configurations change over time.
IPLocate provides an API that can be used with any programming language. For example, you can use our IP location lookup API in JavaScript, Python, Ruby, PHP, Go, Rust, Node.js, and more. We also offer client libraries for popular languages to simplify API integration. See our API documentation for more information on how to get started.
We think you’re in ...
Did we get it right?
Waiting for location...
Our policy for safe geolocation means we don’t identify specific individuals or households. When you submit your location here, we only keep a lower-accuracy version for a limited amount of time, without any other identifying data.
Read how this works in our privacy policy