Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
nodejs geo lookup module
branch: master


Simple and fast IP to Country/Region lookup module for nodejs. Pull Requests are welcome!

GEO databases

You can download fresh geo database from this website: Database contains major ranges for all countries worldwide and presice ranges for most Russian cities/regions. Also it could be extended with another geo data.


npm install geotools


var geo = require('geotools');
var res = geo.lookup("");
// output is { country: 'RU', region: 1056 }

Speed / Benchmark

Approximate speed on average laptop is about 1.5M calls per second. Benchmark is simple, but it gives you an idea about module's performance. Test it yourself:

node ./lib/bench.js
Something went wrong with that request. Please try again.