How to Get IP Geolocation Database for Free (July 2015 Edition)
IP geolocation is a technique to lookup for visitor's geolocation information, such as country, region, city, ZIP code, latitude, longitude, domain, ISP, and so on, using an IP address. IP geolocation can help you customize your website content based on your visitor's location, improve your ad targeting, analyze your traffic demographics, and enhance your network security.
IP GeoLocation Database | 07-2015
DOWNLOAD: https://conttooperting.blogspot.com/?l=2tFKTC
But how can you get IP geolocation data for free? There are many IP geolocation services and databases available online, but not all of them are reliable, accurate, or up to date. In this article, we will show you how to get IP geolocation database for free from a trusted source: DB-IP. DB-IP is one of the most comprehensive and accurate IP address databases that has grown to more than 34 million IPv4 and IPv6 blocks. It covers the whole IPv4 and IPv6 address spaces with more than 2 million unique locations in 215,000+ cities worldwide. It also supports country, state, city name localization in more than fifty languages.
DB-IP offers a free IP geolocation API and a free IP geolocation database that you can download and use for your own projects. The free API allows you to make up to 1,000 requests per day and returns JSON or XML data. The free database is updated monthly and contains country, city, latitude, longitude, and time zone information for IPv4 and IPv6 addresses. You can download the free database in CSV format from their website.
To use the free API, you need to sign up for an account and get an API key. Then you can make requests to the API endpoint with your API key and an IP address as parameters. For example:
https://api.db-ip.com/v2/free/8.8.8.8
The API will return a JSON object with the following fields:
\"ipAddress\": \"8.8.8.8\",
\"continentCode\": \"NA\",
\"continentName\": \"North America\",
\"countryCode\": \"US\",
\"countryName\": \"United States\",
\"stateProv\": \"California\",
\"city\": \"Mountain View\",
\"latitude\": 37.40599,
\"longitude\": -122.078514,
\"timeZone\": \"-08:00\"
You can also specify the output format (json or xml) and the language (en or other supported languages) as optional parameters. For example:
https://api.db-ip.com/v2/free/8.8.8.8?output=xml&lang=fr
The API will return an XML document with the same fields but in French:
8.8.8.8
NA
Amerique du Nord
US
Etats-Unis
Californie
Mountain View
37.40599
-122.078514
-08:00
To use the free database, you need to download it from their website and unzip it. The database contains two files: dbip-country-lite-YYYY-MM.csv and dbip-city-lite-YYYY-MM.csv. The first file contains country information for IPv4 and IPv6 addresses, while the second file contains city information for IPv4 addresses only. The files have the following format:
start_ip,end_ip,country_code,country_name
\"::\",\"::ffff:ffff:ffff\",ZZ,\"Reserved\"
\"::1\",\"::1\",ZZ,\"Loopback\"
\"::ffff:0:0\",\"::ffff:ffff:ffff\",ZZ,\"IPv4-mapped addresses\"
\"64:ff9b::\",\"64:ff9b::ffff:ffff\",ZZ,\"IPv4-IPv6 translation\"
\"100::\",\"100::ffff:ffff:ffff:ffff\",ZZ,\"Discard prefix e3ff22d237