{"id":5763,"date":"2018-09-21T11:40:36","date_gmt":"2018-09-21T06:40:36","guid":{"rendered":"https:\/\/thedevcouple.com\/?p=5763"},"modified":"2018-09-21T11:41:14","modified_gmt":"2018-09-21T06:41:14","slug":"ip-geolocation-api-review","status":"publish","type":"post","link":"https:\/\/thedevcouple.com\/ip-geolocation-api-review\/","title":{"rendered":"IP Geolocation API by WhoisXMLAPI Review"},"content":{"rendered":"<p>Almost all of us\u00a0have come across the term\u00a0<strong>IP Address<\/strong> while using the internet. An IP address is a numerical label used to identify the presence of a digital device on the Internet. In other words, it is the physical address of a device in the online world.<\/p>\n<p>Whenever a device communicates with other devices over the Internet, they use IP addresses to keep track of each other. So, for example, if you want to load a website on your device, a request will be sent with your IP address to the site&#8217;s server.<\/p>\n<p>Any information regarding the geolocation of an IP address of your site&#8217;s visitor can tell you from which part of the world he visited your website. This type of information can be handy to any person who wants to know more about their visitors.<\/p>\n<p>There are many tools available on the Internet which can tell the geolocation of the IP addresses and we have reviewed a couple of them at WPCouple. Recently, while finding such a tool for one of my client projects, I came across this incredible API known as\u00a0<a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">IP Geolocation API by Whois API Inc<\/a>.<\/p>\n<p>I jumped on the opportunity to try out this API, and it proved that it was worth every second of my time. This incredible API help you <strong>instantly find the physical location of an IP address along with other related parameters<\/strong> \u2014 more on this later.<\/p>\n<p>After integrating this API with my client&#8217;s project, and seeing this API in action, I am super excited to share it with you. So let&#8217;s get started, shall we?<\/p>\n<h2>\ud83d\udccc IP Geolocation API by WhoisXMLAPI<\/h2>\n<div class=\"eckosc eckosc_full_width_block\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5788 size-full\" src=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image.jpg\" alt=\"Ip Geolocation Api Review Header Image\" width=\"1440\" height=\"811\" srcset=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image.jpg 1440w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-300x169.jpg 300w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-768x433.jpg 768w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-1024x577.jpg 1024w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-1240x698.jpg 1240w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-860x484.jpg 860w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-680x383.jpg 680w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-500x282.jpg 500w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-400x225.jpg 400w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-250x141.jpg 250w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-200x113.jpg 200w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-100x56.jpg 100w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-76x43.jpg 76w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review-Header-Image-50x28.jpg 50w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/p>\n<\/div>\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">IP Geolocation API<\/a> is a product of <a href=\"https:\/\/main.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">Whois API Inc.<\/a> \u2014 one of the leading Whois API Webservices and data providers.\u00a0The incredible\u00a0<a href=\"https:\/\/www.linkedin.com\/in\/jonathanmzhang\/\" target=\"_blank\" rel=\"noopener nofollow\">Jonathan Zhang<\/a>, the CEO of Whois API LLC, leads this company. It was launched eight years ago in 2010. Their headquarters is in\u00a0Walnut, California.<\/p>\n<p>Besides IP Geolocation API, they also have a great range of other web products. A few of them are:<\/p>\n<ul>\n<li>\ud83d\udcee<strong>\u00a0<a href=\"https:\/\/emailverification.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">Email Verification API<\/a><\/strong> \u2014 An API to verify email address individually or in bulk. We recently <a href=\"https:\/\/thedevcouple.com\/email-verification-api-by-whoisxmlapi-review\/\" target=\"_blank\" rel=\"noopener\">reviewed this API<\/a> at WPCouple.<\/li>\n<li>\ud83d\udd0d<strong>\u00a0<a href=\"https:\/\/reverse-ip-api.whoisxmlapi.com\/\" target=\"_blank\" rel=\"noopener nofollow\">Reverse IP API<\/a>\u00a0<\/strong>\u2014 An interesting API for discovering connected domains hosted on the same IP address.<\/li>\n<li>\ud83d\udea8<strong>\u00a0<a href=\"https:\/\/main.whoisxmlapi.com\/cyber-security-research\/threat-intelligence-api\" target=\"_blank\" rel=\"noopener nofollow\">Threat Intelligence API<\/a>\u00a0<\/strong>\u2014 This one lets you analyze host for any suspicious activity and we plan to review it soon. So, stay updated!<\/li>\n<li>\u2705\u00a0<a href=\"https:\/\/www.whoisxmlapi.com\/domain-availability-api.php\" target=\"_blank\" rel=\"noopener nofollow\"><strong>Domain Availability AP<\/strong>I<\/a>\u00a0\u2014 It enables you to check the availability of domain names in almost every TLDs.<\/li>\n<\/ul>\n<div class=\"eckosc eckosc_contrast_block\"><div class=\"eckosc_contrast_block_inner\">\n<h2 style=\"text-align: center;\">\ud83c\udfc6<\/h2>\n<p style=\"text-align: center;\">During this period of less than a decade, Whois API Inc managed to serve the fortune 500 companies. They have an impressive list of clients including big names like <strong>Apple<\/strong>, <strong>Cisco<\/strong>, <strong>AT&amp;T<\/strong>, <strong>eBay<\/strong>, <strong>Amazon<\/strong>, <strong>IBM<\/strong>, and <strong>Symantec<\/strong>. They manage an extensive database of <strong>5 billion+ historic WHOIS records<\/strong>, <strong>1.2 billion+ domains and subdomains<\/strong>, <strong>2,864+ TLDs &amp; ccTLDs<\/strong>, <strong>8.7 million+ IP netblocks<\/strong>, and <strong>99.5% IP addresses<\/strong> in use.<\/p>\n<\/div><\/div>\n<p>Getting back to IP Geolocation API, it currently has <strong>~1100 satisfied customers<\/strong> with <strong>15M+ IP blocks and locations<\/strong>. You can inquire about any email address using an HTTP request. The API can respond in one of these two formats \u2014 <strong>JSON or XM<\/strong>L.<\/p>\n<h2>\ud83c\udfa9 Features of the IP Geolocation API<\/h2>\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> allows you to query the geo information related to an IP address. Let&#8217;s quickly take a look at the information returned by this API.<\/p>\n<ul>\n<li>\ud83c\udf06 City<\/li>\n<li>\u23f0 Timezone<\/li>\n<li>\ud83d\udceb Postal Code<\/li>\n<li>\ud83d\udccd Latitude\/Longitude<\/li>\n<li>\ud83d\uddfa Region\/State\/Province<\/li>\n<li>\ud83c\uddfa\ud83c\uddf8 Country \u2014 Name of the country in which the IP address is located.<\/li>\n<\/ul>\n<div class=\"eckosc eckosc_full_width_block\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5787 size-full\" src=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results.jpg\" alt=\"Ip Geolocation Api Results\" width=\"1440\" height=\"811\" srcset=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results.jpg 1440w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-300x169.jpg 300w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-768x433.jpg 768w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-1024x577.jpg 1024w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-1240x698.jpg 1240w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-860x484.jpg 860w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-680x383.jpg 680w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-500x282.jpg 500w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-400x225.jpg 400w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-250x141.jpg 250w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-200x113.jpg 200w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-100x56.jpg 100w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-76x43.jpg 76w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Results-50x28.jpg 50w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/p>\n<\/div>\n<h2>\ud83d\ude80 Performance<\/h2>\n<p>Performance of an API is one of the most important metrics that anyone can use to judge its ability. If an API is not able to deliver results promptly, then it might just not work at all. Because in a real-time system, waiting time should be next to zero.<\/p>\n<p>Since this API has <strong>over 15 million IP blocks and locations<\/strong>, I decided to the conduct a little performance testing of my own on this API. The results were nothing better than hitting a home run. \ud83d\udd25<\/p>\n<p>I used the <strong>desktop App of Postma<\/strong>n to perform a bunch of queries for the same IP address, and the following are the shining details of my little experiment.<\/p>\n<ul>\n<li>\u23f1 Response time for my first request was around <strong>~1 \u2013 2 seconds<\/strong>.<\/li>\n<li>\u26a1\ufe0f Average response time for my request, when I made the same request again &amp; again, was reduced to<strong> ~400 \u2013 600 milliseconds<\/strong>.<\/li>\n<\/ul>\n<div class=\"eckosc eckosc_full_width_block\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5786 size-full\" src=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results.jpg\" alt=\"Ip Geolocation Api Performance Results\" width=\"1440\" height=\"811\" srcset=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results.jpg 1440w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-300x169.jpg 300w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-768x433.jpg 768w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-1024x577.jpg 1024w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-1240x698.jpg 1240w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-860x484.jpg 860w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-680x383.jpg 680w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-500x282.jpg 500w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-400x225.jpg 400w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-250x141.jpg 250w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-200x113.jpg 200w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-100x56.jpg 100w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-76x43.jpg 76w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Performance-Results-50x28.jpg 50w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/p>\n<\/div>\n<p>\ud83d\udc49<em> You can see from the results that the response time decreased by more than 50% which indicates that this API is using caching to reduce their response time.<\/em><\/p>\n<h2>\ud83e\udd18 Benefits of Using IP Geolocation API<\/h2>\n<p>There are a lot of benefits of using <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> that any online business owner can take advantage of. Let&#8217;s briefly take a look at some of these advantages.<\/p>\n<h3>\ud83d\uddbc Content Personalization<\/h3>\n<p>You can build <strong>custom experiences<\/strong> for visitors from different countries. It is\u00a0a great feature for an e-commerce website. Using the geolocation data, a store owner can show the products related to a specific region of the world.<\/p>\n<p>E-commerce websites can also use the <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> to detect the country of their visitors and then use this information to <strong>switch the currency<\/strong> to the currency of the visitor&#8217;s country or offer different percentages of discount to your products.<\/p>\n<h3>\ud83d\udd11 Location Based Access Control<\/h3>\n<p>You can <strong>control the access to your website<\/strong> using this API. Since the API provides the geolocation of an incoming visitor, you can check whether they are allowed to view your website or not and control their view accordingly.<\/p>\n<p>You can also use this API to give your users access to your services present within a specific IP geolocation range.<\/p>\n<h3>\ud83d\udc6e Security Applications<\/h3>\n<p>You can keep a c<strong>lose watch on the IP addresses<\/strong> visiting your website from any part of the world. If any IP address is showing a suspicious behavior or doing something that it is not supposed to do, then you can <strong>track down the originating location<\/strong>, and then act on the information accordingly.<\/p>\n<p>Another great benefit of using <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> is that you can <strong>compare visitor IP addresses<\/strong> on your e-commerce website with some known customer data to detect online fraud and identity theft.<\/p>\n<h2>\u2699\ufe0f Working<\/h2>\n<p>As mentioned earlier, this API is pretty straightforward to use. If you want geo-information about an IP address, you need to send an HTTP request to the API along with some parameters. Let&#8217;s take a look at how you can perform this query.<\/p>\n<p>Before making a request, you need to <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">sign up for the IP Geolocation API.<\/a> After signing up, you get a <strong>free monthly quota of 1000 queries<\/strong>. If you are performing more than a 1000 requests, you need to buy credits.<\/p>\n<h3>\u2192 HTTP Request<\/h3>\n<p>There are two parameters required to send an HTTP request to the API.<\/p>\n<ol>\n<li>\ud83d\udd11<strong> API Key<\/strong> \u2014 You will get yours once you sign up for the API.<\/li>\n<li>\ud83d\udcbb\u00a0<strong>IP Address<\/strong> \u2014 IP address whose information needs to be queried.<\/li>\n<li>\ud83c\udfa8 <strong>Output Format (Optional)<\/strong> \u2014 Response output format.<\/li>\n<\/ol>\n<p>You can grab your API key from the dashboard of the API website and make an HTTP request at the following endpoint.<\/p>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/asharirfan\/06b2ebfd9ea0ff13c3fcfd24647a7e79.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/asharirfan\/06b2ebfd9ea0ff13c3fcfd24647a7e79\" rel=\"nofollow noopener\" target=\"_blank\">Gist<\/a>.<\/noscript><\/div>\n<p>If you go to the website of <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">IP Geolocation API<\/a>, you will find <a href=\"https:\/\/geoipify.whoisxmlapi.com\/#a-sample-code\" target=\"_blank\" rel=\"noopener nofollow\">code samples<\/a> for all the major programming languages. These languages include\u00a0<strong>C#<\/strong>, <strong>Java<\/strong>, <strong>JavaScript<\/strong>, <strong>NodeJS<\/strong>, <strong>Perl<\/strong>, <strong>PHP<\/strong>, <strong>PowerShell<\/strong>, <strong>Python<\/strong>, and <strong>Ruby<\/strong>. Now, all you need to do is grab the sample code, make the appropriate changes, and your code will be ready to rock and roll. \ud83e\udd18<\/p>\n<div class=\"eckosc eckosc_contrast_block\"><div class=\"eckosc_contrast_block_inner\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/i.imgur.com\/Le7wlnq.gif\" alt=\"IP Geolocation API \u2013 Sample Codes\" width=\"1170\" height=\"584\" \/><\/a><\/p>\n<\/div><\/div>\n<h2>\ud83c\udfaf Performing a GeoIP Lookup with NodeJS<\/h2>\n<p>JavaScript is slowly becoming a new standard language for developing web applications. If you&#8217;re one of those guys who uses NodeJS to build their web apps, then you&#8217;re in luck! There is an <strong>NPM package explicitly written<\/strong> for<a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\"> IP Geolocation API<\/a>. Follow the quick steps below to get started.<\/p>\n<h3>\u2192 Step #1<\/h3>\n<p>Get yourself an account on IP Geolocation API&#8217;s website. As I mentioned earlier, you get <strong>1000 GeoIP requests free per month<\/strong>. In case, you need more; you can purchase more queries\u00a0from their site.<\/p>\n<h3>\u2192 Step #2<\/h3>\n<p>The NPM package which I mentioned earlier is called\u00a0<strong>simple-geoip<\/strong>. You can install it using NPM inside your application. Follow these steps to whip up a new NodeJS application quickly:<\/p>\n<ul>\n<li>\u2705 Open your terminal.<\/li>\n<li>\ud83c\udfaf Create a new directory \u2014 sample-app \u2014 and go inside this directory.<\/li>\n<li>\ud83d\udc47 Enter the following command to create a new NodeJS application.<\/li>\n<\/ul>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/asharirfan\/090b0bfd0e7ea5bff9a2a1ff3e7b358e.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/asharirfan\/090b0bfd0e7ea5bff9a2a1ff3e7b358e\" rel=\"nofollow noopener\" target=\"_blank\">Gist<\/a>.<\/noscript><\/div>\n<ul>\n<li>\ud83d\udc4a Now enter the following command to install\u00a0<em>simple-geoip.<br \/>\n<\/em><\/li>\n<\/ul>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/asharirfan\/024c51a523abe06e11967cd221e01f76.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/asharirfan\/024c51a523abe06e11967cd221e01f76\" rel=\"nofollow noopener\" target=\"_blank\">Gist<\/a>.<\/noscript><\/div>\n<h3>\u2192 Step #3<\/h3>\n<p>Since you have installed the NPM package successfully inside your application, the next step is considerably simple. Now you need to include the package inside your application file to <strong>perform a GeoIP Lookup of an IP address<\/strong>. Below is a heavily commented gist to help you accomplish that.<\/p>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/asharirfan\/c41744e89127ac8c6b919ee88fbe34a8.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/asharirfan\/c41744e89127ac8c6b919ee88fbe34a8\" rel=\"nofollow noopener\" target=\"_blank\">Gist<\/a>.<\/noscript><\/div>\n<p>This is the simplest way of getting the\u00a0geo-information of an IP address in your application. You can read the <a href=\"https:\/\/geoipify.whoisxmlapi.com\/blog\/how-to-perform-a-geo-ip-lookup-with-node-js?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">detailed documentation<\/a> on their website to start customizing your code. A <strong>sum of three steps<\/strong> is enough to get your application up and running with <a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a>. Awesome! \ud83d\udc4c<\/p>\n<h2>\ud83d\udd25 Support &amp; Documentation<\/h2>\n<p>A product is only as good as its support and documentation. If the support of a product is not reachable, then you might not want\u00a0to use it in your projects \u2014 to be on the safe side.<\/p>\n<p>I found the support of this API to be reachable within a few hours when you first approach them. After that, their response time decreases with every support query which is commendable. Thumbs up for the service\u00a0\ud83d\udc4d<\/p>\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> also has a section of <a href=\"https:\/\/geoipify.whoisxmlapi.com\/docs\/?utm_source=WPCouple&amp;utm_medium=Partner\" target=\"_blank\" rel=\"noopener nofollow\">API Docs<\/a>\u00a0available for everyone on their website. The documentation covers everything which an individual needs to know before using this API and the expected results after using it.<\/p>\n<div class=\"eckosc eckosc_contrast_block\"><div class=\"eckosc_contrast_block_inner\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/docs\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/i.imgur.com\/S2mGI8p.gif\" alt=\"IP Geolocation API \u2013 Documentation\" width=\"1161\" height=\"567\" \/><\/a><\/p>\n<\/div><\/div>\n<h2>\ud83d\udcb0 Pricing<\/h2>\n<p>There are <strong>three types of payment packages<\/strong> available for the API queries, which are:<\/p>\n<ul>\n<li>1\ufe0f\u20e3 One-time Purchase<\/li>\n<li>2\ufe0f\u20e3 Monthly Subscription<\/li>\n<li>3\ufe0f\u20e3 Yearly Subscription<\/li>\n<\/ul>\n<p>There is also a <strong>custom package available<\/strong> for those who want a different package according to their needs. Contact the company using their contact form to negotiate the custom pricing.<\/p>\n<p>\ud83c\udf1f<em> For those who want to get the hang of the API, there are a 1000 API queries available for free on a monthly basis.<\/em><\/p>\n<div class=\"eckosc eckosc_full_width_block\">\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/pricing\" target=\"_blank\" rel=\"noopener nofollow\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5790 size-full\" src=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing.jpg\" alt=\"Ip Geolocation Api Pricing\" width=\"1440\" height=\"811\" srcset=\"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing.jpg 1440w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-300x169.jpg 300w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-768x433.jpg 768w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-1024x577.jpg 1024w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-1240x698.jpg 1240w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-860x484.jpg 860w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-680x383.jpg 680w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-500x282.jpg 500w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-400x225.jpg 400w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-250x141.jpg 250w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-200x113.jpg 200w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-100x56.jpg 100w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-76x43.jpg 76w, https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Pricing-50x28.jpg 50w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/p>\n<\/div>\n<h2>\ud83d\ude4c Final Thoughts!<\/h2>\n<p><a href=\"https:\/\/geoipify.whoisxmlapi.com\/?utm_source=WPCouple&amp;utm_medium=Partner\" rel=\"nofollow noopener\" target=\"_blank\">IP Geolocation API<\/a> is an impressive API for getting GeoIP data of an IP address. It is <strong>straightforward to implement<\/strong> and can be used to <strong>detect fraud<\/strong>, <strong>identify suspicious behavior<\/strong>, and <strong>access management<\/strong> on your online store.<\/p>\n<p>So, whether you are a business manager or a developer, you should give this API a shot. You can use this API to make your website more secure and reliable. It can also help you build a list of safe and loyal customers.<\/p>\n<p><em>Are you already using this API in your business? Or are you looking for one right now? Let me know your comments in the section below.<\/em><\/p>\n<p>Peace! \u270c\ufe0f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IP Geolocation API is an impressive API for getting GeoIP data of an IP address. It is straightforward to implement and can be used to detect fraud, identify suspicious behavior, and access management on your online store.<\/p>\n","protected":false},"author":3,"featured_media":5789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[18],"tags":[169],"coauthors":[81],"jetpack_featured_media_url":"https:\/\/thedevcouple.com\/wp-content\/uploads\/2018\/08\/IP-Geolocation-API-Review.jpg","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/posts\/5763"}],"collection":[{"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/comments?post=5763"}],"version-history":[{"count":5,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/posts\/5763\/revisions"}],"predecessor-version":[{"id":6436,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/posts\/5763\/revisions\/6436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/media\/5789"}],"wp:attachment":[{"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/media?parent=5763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/categories?post=5763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/tags?post=5763"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/thedevcouple.com\/api\/wp\/v2\/coauthors?post=5763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}