19

I have an open source project. I need a similarly open source IP GeoLocation database i.e. IP address to country (and ideally city). Ideally with a license that allows redistribution.

This is a question that's been asked before (Advice on geocoding IP addresses, and https://stackoverflow.com/questions/3232516/geocode-an-ip-address most noteably), but they were for RESTful/API interfaces; I want a database that can be downloaded and used offline.

So far I've found two potentials:

IP2Location's 'Lite' - which claims to be open source but doesn't allow redistribution and has a very restrictive set of terms of use.

MaxMind's GeoLite2 - Released under a Attribution ShareAlike Unported License, but again with restrictions on redistribution.

Does anyone know of any suitable datasets?

0

3 Answers 3

2

Here is a database I wrote for IP to country that is open source under Apache2: https://github.com/geoacumen/geoacumen-country

If anyone has any insight on how one would build an IP to City mapping database I would also be very interested.

1
  • ASN doesn't mean geolocation, but it is better than nothing, thank you.
    – puchu
    Jul 24 at 22:29
0

Sure, you try this one https://ipinfodb.com/free-database

You can try this one as well: https://db-ip.com/db/.

Now, remember, they are there for your money, so the free db is lite version of what their commercial products is.

0
-1

Maybe a bit late, but will add it anyways for any future visitor of this post.

I developed a Database with every IPv4 / IPv6 with over 21 properties per IP range. The project can be found here: ip.js0.ch

Visit the website if you are interested, still need feedback / suggestions for improvement :)

1
  • This site can’t be reachedCheck if there is a typo in ip.js0.ch. If spelling is correct, try running Windows Network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN Jun 5 at 2:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.