In the world of marketing and content targeting, having accurate geolocation data can be the difference between a thriving enterprise and a floundering business. Accurate data is everything, especially in the targeted marketing. When you need trustworthy geolocation data, IPWHOIS.io is a great source: fast, reliable, and accurate!
- Start for free, very competitive pricing
- Provides information about location, currency, language, and more
- Helpful documentation and code samples
- Fast and secure payload delivery
- Provides data in CSV, JSON, and XML formats
To use IPWHOIS, make a request to their API with the desired return format and user IP address as part of the URL:
Your payload will look like:
The XML endpoint provides a brilliant XML payload:
188.8.131.52 1 IPv4 North America NA United States US https://cdn.ipwhois.io/flags/us.svg Washington +1 CA,MX,CU California Mountain View 37.3860517 -122.0838511 AS15169 Google LLC Google LLC America/Los_Angeles Pacific Standard Time 0 -28800 GMT -8:00 US Dollar USD $ 1 US dollars 8
You can also specify a select collection of fields you want in the payload:
// http://ipwhois.app/json/184.108.40.206?objects=country,city,timezone "country": "United States", "city": "Mountain View", "timezone": "America/Los_Angeles"
lang parameter, you can get localized location information:
Another awesome bonus is the ability to use JSONP:
$.ajax( method: 'GET', contentType: 'application/json', url: 'http://ipwhois.app/json/' + ip, dataType: 'json', success: function(json) // Country code output, field "country_code" console.log(json.country_code); );
IPWHOIS.io is a super simple, useful service that can help you to customize your advertising and content to the user’s location, which in turn can greatly improve your chances of conversion and user satisfaction. Give IPWHOIS.io a look when you need accurate, fast geolocation information!