5 comments

[ 0.21 ms ] story [ 39.7 ms ] thread
I was thinking about switching IP geolocation sources when MaxMind updated their license [1] and made it harder to include, and was shocked to see just how many different services are out there [2]. This is a utility page to compare the results of ones that have a free tier.

Let me know what you see. Anecdotally, they all seem decent, though IMHO I wouldn't count on anything besides country being completely accurate. A fair number of them seem to be "based on" the MaxMind data.

Note that I am using the free tier for everything: I am sure the slashdot effect will kick in, so if you are late to the party, you'll be able to see what their error/over-quota responses look like. And if my error handling is any good. Try again tomorrow!

I ended up keeping MaxMind, and jumping through a few hoops to have their db in the build, but encrypted. The source is available: encryption [2] & decryption [3]. I think I got the crypto right, so let me know if you see anything amiss.

[1] https://blog.maxmind.com/2019/12/18/significant-changes-to-a...

[2] https://resolve.rs/ip/geolocation.html#ipgeolist

[3] https://github.com/redirect2me/resolvers/blob/main/data/maxm...

[4] https://github.com/redirect2me/resolvers/blob/main/src/data/...

AbstractAPI uncannily comes up with my neighbourhood while others are just the city.

Wrong city: Maxmind, KeyCDN, ipdata, IP-API,

Failed to fetch: ipinfo, ipgeolocation, HostIP.info

Google AppEngine is scary accurate.
That's an interesting comparison but that's a shame to see great services such as IPregistry.co to not appear in your analysis.
Very comprehensive list, it would be useful to include uptime and performance stats as well.

Plug: If you would like to test your GeoIP implementation, we have a tool designed specifically for that here:

https://www.geoscreenshot.com