I work at IPinfo. We offer unlimited free requests through the IPinfo Lite API. By unlimited, I mean millions of requests per day. The free API provides country and ASN data.
As far as I know, GeoLite2 does not have city-level data for a large number of IP addresses. Even when it does, the city-level accuracy can be quite poor.
So I'd suggest just using our API and pointing to the capital city. That would also remove the need to pay for a VM.
2 comments
[ 2.7 ms ] story [ 16.1 ms ] threadAs far as I know, GeoLite2 does not have city-level data for a large number of IP addresses. Even when it does, the city-level accuracy can be quite poor.
So I'd suggest just using our API and pointing to the capital city. That would also remove the need to pay for a VM.