Best IP to Country Database

77,785

Solution 1

We use Maxmind and it's very good, and pretty accurate. You can get scenarios where, say, a German company has offices in the US but is using a German IP range for internal purposes. So, they'll report as Germany while being based in the US. It won't be 100% reliable.

Solution 2

Totally free, LGPL, not easily found in google: ip2c.org

Share:
77,785
Henry Wilson
Author by

Henry Wilson

Software developer primarily working with Javascript. Spent 10 years in .Net land before that...

Updated on July 08, 2022

Comments

  • Henry Wilson
    Henry Wilson almost 2 years

    We've got a requirement in a couple of our systems to detect a user's country based on their IP address. We'd prefer to use a database rather than a Web Service (to prevent issues with downtime/network access to an externally hosted service) so I'm looking for recommendations, anyone got any good or bad stories of the various IP to Country databases?

    What I've found from google:

    Paid

    Free

    Any information on how the free ones compare to the paid ones would be good. Right now I'm leaning towards Maxmind's paid service since it includes automatic updates that we can run via script once a week.