Fast, Accurate Geolocation Data with

By (Sponsor)  on  

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, is a great source: fast, reliable, and accurate!

Quick Hits

  • 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:

{ "ip":"", "success":true, "type":"IPv4", "continent":"North America", "continent_code":"NA", "country":"United States", "country_code":"US", "country_flag":"https:\/\/\/flags\/us.svg", "country_capital":"Washington", "country_phone":"+1", "country_neighbours":"CA,MX,CU", "region":"California", "city":"Mountain View", "latitude":37.3860517, "longitude":-122.0838511, "asn":"AS15169", "org":"Google LLC", "isp":"Google LLC", "timezone":"America\/Los_Angeles", "timezone_name":"Pacific Standard Time", "timezone_dstOffset":0, "timezone_gmtOffset":-28800, "timezone_gmt":"GMT -8:00", "currency":"US Dollar", "currency_code":"USD", "currency_symbol":"$", "currency_rates":1, "currency_plural":"US dollars", "completed_requests":3 }

The XML endpoint provides a brilliant XML payload:

<?xml version="1.0" encoding="UTF-8"?>
   <continent>North America</continent>
   <country>United States</country>
   <city>Mountain View</city>
   <org>Google LLC</org>
   <isp>Google LLC</isp>
   <timezone_name>Pacific Standard Time</timezone_name>
   <timezone_gmt>GMT -8:00</timezone_gmt>
   <currency>US Dollar</currency>
   <currency_plural>US dollars</currency_plural>

You can also specify a select collection of fields you want in the payload:

  "country": "United States",
  "city": "Mountain View",
  "timezone": "America/Los_Angeles"

Using the lang parameter, you can get localized location information:

Another awesome bonus is the ability to use JSONP:

	method: 'GET',
	contentType: 'application/json',
	url: '' + ip,
	dataType: 'json',
	success: function(json) {
	    // Country code output, field "country_code"
}); 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 a look when you need accurate, fast geolocation information!


    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!