Highly available REST/JSON/JSONP IP Geolocation lookup API
Add to Slack

Packed full of features

  • HTTPS only
  • Multiple formats
  • Highly available and geo routed
  • IPv4 and IPv6
  • No rate limits (yet)
  • Cross-origin resource sharing (CORS)

And most importantly, ChatOps integration. Lookup IPs from the comfort of chat.

Getting started is easy!

Checkout the text below, its generated on the fly by GeoJS itself.

Hello . The IP you're behind has a country code of .

All that from this little snippet:

Hello <span id="user_ip"><span class="icon"><i class="loader"></i></span></span>. The IP you're behind has a country code of <span id="user_countrycode"><span class="icon"><i class="loader"></i></span></span>.

<script type="application/javascript"> function geoip(json){ var userip = document.getElementById("user_ip"); var countrycode = document.getElementById("user_countrycode"); userip.textContent = json.ip; countrycode.textContent = json.country_code; } </script> <script async src=""></script>



GeoJS is powered by the DigitalOcean cloud and Cloudflare network that enables us to cache our heavily dynamic API. Use our referral link to get $100 free credit on DigitalOcean upon signup.

Notes & Acknowledgements

I'd like to thank Telize for inspiring me to create this and MaxMind, as all GeoIP data is sourced from their GeoLite database, available at

GeoJS is made with by jloh. I can be found online at my blog, Twitter, GitHub and Keybase.