Country

Country is a browser-friendly and privacy-conscious geolocation API that gets your users' country (and nothing else) from their IP.

Usage

Country has a minimal :fire: interface.

Query yourself.

https://api.country.is

Query any IP.

https://api.country.is/9.9.9.9

See the age of the underlying data file.

https://api.country.is/version

Country automatically checks for a newer version every 24 hours.

Deployment

If you prefer not to use the hosted service, run a private instance with Docker.

Notes

Country uses GeoLite2 data created by MaxMind. Since 30 December 2019, you need to register for a license key to download their data.

The hosted service does not log requests.