Country.is

IP to Geolocation API

Country.is is a free, open source app that helps you look up the location of an IP address. It uses GeoLite2 data created by MaxMind.

Usage

The interface is minimal.

The root route queries the IP of your browsing app.

      GET https://api.country.is/ HTTP/1.1
    

Or specify an IP explicitly.

      GET https://api.country.is/4.4.4.4 HTTP/1.1
    

Deployment

Run a private instance with

      docker run -d -p 3000:3000 hakanensari/country