Geo IP Detection APIs

By 9th July 2018Resources

A list of Geo IP APIs that you can use for your project and applications. Bare in mind that some APIs doesn’t support HTTPS atm and so it causes it not to work if your domain is HTTPS.

Have a look at this feed for a list of all the free and paid option Geo IP APIs available.

How to get Clients IP address using javascript

<script>
// https://stackoverflow.com/questions/391979/how-to-get-clients-ip-address-using-javascript
// https://app.ipgeolocation.io/
jQuery.getJSON('https://api.ipgeolocation.io/ipgeo?apiKey=a759dab4af1f462496dda90b3575f7c7', function(data) {
  console.log(JSON.stringify(data, null, 2));
  if (data.is_eu) {
  	alert('Hello, you are from the EU - Great stuff');
  }
});
</script>

List of useful links:

  • https://stackoverflow.com/questions/391979/how-to-get-clients-ip-address-using-javascript
  • https://app.ipgeolocation.io/
  • https://api.ipgeolocation.io/ipgeo?apiKey=f2d8e48d9f0c4ebca41121e758fe8a0b
  • http://gd.geobytes.com/GetCityDetails
  • https://www.geoplugin.com/
  • http://geobytes.com/get-city-details-api/
  • https://api.db-ip.com/addrinfo?api_key=bc2ab711d740d7cfa6fcb0ca8822cb327e38844f&addr=116.12.250.1
  • https://ipapi.co/json
  • http://ip-api.com/json