Country.is is an open-source geolocation API that finds a user's country (and nothing else) from their IP address.
The public intance hosted here is free to use. No API keys or usage quotas.
Country has a minimal 🔥 interface.
Have your browser or app query its own IP address.
Query any IP.
Introspect the underlying data sources.
Country.is automatically checks for new MaxMind data every 24 hours.
If you prefer not to use the hosted service, run your own private server with Docker.
Country.is uses geolocation data provided by Cloudfare and MaxMind.
Since 30 December 2019, you need to register for a license key to download the MaxMind data if you're running a private instance.