10
I realize this question is old, but this may still help other people. I found a free / open source (so you can even run your own instance and not be subject to their hourly limit of 10,000 requests) IP geolocation database: http://freegeoip.net/