Geolocation — the concept of figuring out where your user is from — is one of those things that always sounded simple, but that I had never actually done. The fact is, no client had ever asked me for it.
Then, today, one did. So, I went looking around, and I found MaxMind. I’m absolutely tickled with it.
It’s $20 for 50,000 requests, with no expiration. You call a URL, with your license key and the IP in the querystring, and you get back a short, comma-delimited string with country, state, city, lat, and lon.
I had this up and running in 15 minutes with zero human contact. There’s more information, if you want to pay for access to additional databases. See all the info they can find on your IP address.
This is an example of a small, fast, simple service that I will gladly pay for. The world needs more of these.