Skip to content
Geolocation to IP API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.eslintrc.js
.gitignore
Dockerfile
README.md
app.js
getdb
package-lock.json
package.json

README.md

Country.is

Country.is is an IP to geolocation API that helps you look up the location of an IP address. It uses GeoLite2 data provided by MaxMind.

Usage

The interface is minimal.

The root route queries the IP of your browsing app.

https://api.country.is/

Or specify an IP explicitly.

https://api.country.is/8.8.8.8

Deployment

Run a private instance with

docker run -d -p 3000:3000 hakanensari/country
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.