In this article, I will share with you 6 of the most incredible and Free GeoIP Databases that you can access nowadays.

GeoIP is the technique of obtaining the geographic area of a particular gadget by its IP. Numerous choices to gain access to info of this kind permit you to get as well much more specific info such as:

  • city
  • state
  • district
  • neighborhood currency
  • latitude and longitude,
  • firm information
  • ISP lookup (access provider),
  • language, postal code
  • country calling code
  • time zone, present time
  • sundown as well as sunup time
  • moonset and moonrise time from any given IPv4 and also IPv6 address.

According to the type of implementation, you may read these details either from an API over HTTP or the specific GeoIP databases to get these details in JSON or XML style.

1. Maxmind GeoLite2 Data source (self-hosted).

GeoLite2 data sources are free IP geolocation databases similar to, however much less precise, MaxMind’s GeoIP2 databases. The GeoLite2 Country, the City, and ASN data sources are upgraded weekly, every Tuesday.

MaxMind does not give direct support for the cost-free GeoLite2 data sources. If you have inquiries regarding the GeoLite2 databases or GeoIP2 APIs, please see StackOverflow’s GeoIP searches as well as solutions or our GeoLite Frequently Asked Question. The GeoLite2 end-user certificate arrangement, which incorporates the Creative Commons Attribution-ShareAlike 4.0 International Permit components, can be located right here.

Geolite 2 may fulfill the acknowledgment requirement by complying with all marketing and documents stating functions of or use this data source. They also supply redistribution licenses for GeoLite2 databases that permit you to package the data sources with your commercial items without the requirement for acknowledgment.

2. IP2Location Lite (self-hosted).

IP2Location LITE databases consist of IP addresses utilized to establish the geolocation details of an IP address like country, area or state, city, latitude, longitude, zip code, and time zone.

If you are seeking high data accuracy, even more records, and consumer support, please kindly try the industrial edition. IP2Location ™ LITE IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE-TIMEZONE Database supplies a solution to determine the country, region or state, city, latitude, longitude, ZIP code, as well as the time zone of origin for any IP address in a couple of necessary steps. Initially, recover the IP address from the networking protocol or server-side variable of the Web web server.

Next, equate the IP address to an IP number in decimal layout to speed up the database query. Finally, reverse lookup the IP number from the IP2Location ™ database to identify the specific geographical location.
The LITE version is a cost-free version of the database with restricted accuracy & several records compare to business release. It is cost-free for individual or business usage with attribution called for by discussing using this data.

 3. IP Geolocation (API).

Free IP API is a cost-free and paid service that offers country, city, state, province, neighborhood money, latitude and longitude, company detail, ISP lookup, language, postal code, country calling code, time zone, current time, sundown,
and sunup time, moonset, and even moonrise time from any IPv4 and IPv6 address in REST, JSON, and XML format over HTTPS.

The IP Geolocation API permits you to Lookup any IPv4 or IPv6 address with our API to recognize its physical location, discover TOR, Proxy, VPN, risk, robot, and individual agent. Obtain the exact sunrise, sunset, moonset, and moonrise timings with our API from an IP Address or GPS Coordinates. Get precise date time and local time details from an IP address, GPS Works with, and time zone string.

4. IP2C (API).

ip2c.org is hugely beneficial on the internet tool/service to solve IPs to nation codes/names. You can access this API with numerous languages with an HTTP request.

5. IPAPI (API).

ipapi provides a simple API user interface permitting clients to consider different items of info IPv4 and IPv6 addresses are connected with. The API returns more than 45 unique data factors for each IP address processed, such as area information, connection information, ISP information, time zone, money, and security assessment data.

The API is REST-based, lookup requests are made using uncomplicated HTTP GET URLs, and also outcomes are returned in lightweight JSON or XML layout within an issue of a couple of nanoseconds.

This API paperwork will describe the API’s spec, accessibility thoroughly, and also features. At the lower, you will undoubtedly discover code examples in various programs languages. In case any technological concerns are left unanswered, please do not hesitate to call ipapi Customer Service.

6. ipinfodb.com

IPInfoDB can be used to get IP information quickly. It offers a wide range of free services based on IP address geolocation database:

  • Web-based IP geolocation lookup
  • IP geolocation API (XML, JSON and CSV format)
  • API that generates IP CIDR by the country for iptables or .htaccess blocklist
  • E-commerce fraud detection API
  • IP database updated monthly

Over to you

Have you ever used Free GeoIP Databases for your projects? Where do you find them? Share your thoughts in the comments below.

Stay tuned for more!