Introduction to IP2Location Database

IP2Location has more than 20 years of experience in detecting user geolocation information and detecting anonymous proxies. The detecting uses IP as the keyword and uses non-intrusive IP location lookup technology to finally determine the approximate geographic location of an IP address along with some other useful information like country, region or state, city, latitude and longitude, ZIP/Postal code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, usage type, address type and advertising category.

IP address geolocation technology is widely used in our life and work, such as network attack traceability & forensics, analysis of user portraits, online advertising positioning, network security protection, website operation optimization, and improvement of network analysis capabilities, so as to maximize conversions, sales and more. The IP2Location IP address geolocation database supports IPv4 and IPv6 queries. The trial version does not require registration and offers free IP geolocation query up to 50 IP addresses per day. Registered users can query 200 IP addresses per day. Currently, the API calls reach 10B+.


What product packages does IP2Location's IP address geolocation database offer?

The IP address geolocation database of IP2Location is a mapping table with IP as the key and country/city/latitude and longitude as the value. The richer the value, the higher the accuracy of the IP information. There are 25 product packages in the IP address geolocation database listed as DB1~DB25. The following is the official introduction and annual fee.

Number Product Name [Standard License - Internal Use] Yearly Price/Server Buy Online
DB1 IP-Country Database $49 Buy
DB2 IP-Country-ISP Database $199 Buy
DB3 IP-Country-Region-City Database $199 Buy
DB4 IP-Country-Region-City-ISP Database $349 Buy
DB5 IP-Country-Region-City-Latitude-Longitude Database $349 Buy
DB6 IP-Country-Region-City-Latitude-Longitude-ISP Database $499 Buy
DB7 IP-Country-Region-City-ISP-Domain Database $499 Buy
DB8 IP-Country-Region-City-Latitude-Longitude-ISP-Domain Database $649 Buy
DB9 IP-Country-Region-City-Latitude-Longitude-ZIPCode Database $499 Buy
DB10 IP-Country-Region-City-Latitude-Longitude-ZIPCode-ISP-Domain Database $799 Buy
DB11 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone Database $649 Buy
DB12 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain Database $949 Buy
DB13 IP-Country-Region-City-Latitude-Longitude-TimeZone-NetSpeed Database $649 Buy
DB14 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed Database $1099 Buy
DB15 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-AreaCode Database $799 Buy
DB16 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode Database $1249 Buy
DB17 IP-Country-Region-City-Latitude-Longitude-TimeZone-NetSpeed-Weather Database $799 Buy
DB18 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode-Weather Database $1399 Buy
DB19 IP-Country-Region-City-Latitude-Longitude-ISP-Domain-Mobile Database $799 Buy
DB20 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode-Weather-Mobile Database $1549 Buy
DB21 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-AreaCode-Elevation Database $949 Buy
DB22 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode-Weather-Mobile-Elevation Database $1699 Buy
DB23 IP-Country-Region-City-Latitude-Longitude-ISP-Domain-Mobile-UsageType Database $18980 Buy
DB24 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode-Weather-Mobile-Elevation-UsageType Database $36980 Buy
DB25 IP-Country-Region-City-Latitude-Longitude-ZIPCode-TimeZone-ISP-Domain-NetSpeed-AreaCode-Weather-Mobile-Elevation-UsageType-AddressType-Category Database - Request Quote

What are the pros of the IP2Location's IP address geolocation database?

  • High accuracy. IP2Location uses a variety of algorithms to detect the IP's location, the result is highly accurate, and it allocates team members to manually review and correct.
  • Support IPv4 & IPv6. The database supports IPv4 and IPv6 address queries.
  • Easy Integration. It can be seamlessly integrated into any software platforms to retrieve IP geolocation information using database, REST API and SDK (Java, .NET, PHP, Ruby, Python, Perl and more).
  • Multiple Granularity. It comes with different IP database packages with varying levels of IP geolocation information granularity to suit your business needs.
  • Support downloading database.
  • Update per month.
  • IP2Location LITE database is free and available for users.
  • Support upgrading at any time.
  • Provide web services.
  • Offer a variety of free tools, such as redirecting visitors by country, IP address map, and widget.
  • Provide detailed tutorials.

How to get IP2Location's IP address geolocation database?

1. Sign up an account. Fill in the information on the official website of IP2Location to create an account. Then, log in to your account after you have verified your email address.
sign up

2. Select the database you want to buy. There are 25 databases, and the IP location level of each database is different. Click "Buy Online" to view the database product list immediately.

3. Pay for the product. After adding the product to the shopping cart, you should go to checkout. DB1~DB22 supports credit card. DB23~DB25 package is more advanced and the total amount is bigger. The payment page will prompt you to contact for alternative payment method.

4. Download database. After checkout, the page will be redirected to your personal center, where you can view the product information you purchased, and you will be enabled to download the database you purchased in the "Download" column. The database is compressed by ZIP, you can download either a CSV (comma-separated values) file or a BIN binary data file.

How to get data from IP2Location's IP address geolocation database?

1. Convert IP address format. The format of the IP address in the database is an Int number, you should convert them to a string format first. It is recommended to write a function to complete this process as the amount of data is so large.

2. Integrate data. Here we take PHP module as an example, first run the command: composer require ip2location/ip2location-php, and then write on the page: require 'vendor/autoload.php';

3. Query the database. For example, to query IP, you only need to write down:
$db = new IP2LocationDatabase('./data/data.BIN', IP2LocationDatabase::FILE_IO);
$records = $db->lookup('', IP2LocationDatabase::ALL);
The information of IP in the database will be displayed immediately.


To conclude, you should have learned that IP2Location provides rich products, detailed descriptions, and large and accurate data. Most importantly, it's easy to integrate and offers many useful additional tools. For users who have a large number of IP geographic location information to retrieve and detect, IP2Location is undoubtedly a very good choice.

Click to get IP2Location database

📚 Comment