Maxmind GeoipLite 2 Database API server
10K+
Express app utilising Maxmind GeoLite2 database. The app updates the database file at 00:00 hrs on every Sunday.
You can take a look in the code at https://github.com/mib200/express-geoiplite2-maxmind
$ docker container run -d --name geoip-server mib200/geoiplite2-maxmind
Adding the following parameters of -p 8000:3000 will enable you to access the API from the URL http://localhost:8000/?ip=A.B.C.D
$ docker container run -d --name geoip-server -p 8000:3000 mib200/geoiplite2-maxmind
Send a query param of ?ip=A.B.C.D at the end of the hosted URL
http://localhost:3000/?ip=A.B.C.D
{
"ip": "A.B.C.D",
"continent": "Asia",
"country_code": "IN",
"country_name": "India",
"time_zone": "Asia/Kolkata",
"latitude": 17.3753,
"longitude": 78.4744,
"accuracy_radius": 10,
"city": "Hyderabad",
"region_name": "Telangana"
}
MIT
Content type
Image
Digest
Size
25.4 MB
Last updated
almost 9 years ago
docker pull mib200/geoiplite2-maxmind