Do you agree with our list? Which API do you think is the best IP geolocation software or API? Let us know in the comments below.
What is the best IP geolocation API?
After reviewing over 36 IP geolocation APIs, we found these 10 APIs to be the very best and worth mentioning:
- IP Geo Location
Our Top 10 Best IP Geolocation APIs for 2019
|Telize||Best for getting visitor IP address & location information||Connect to API|
|Apilitiy.io||Best for free IP geolocation||Connect to API|
|geoPlugin||Best for geo-targeting & currency conversion||Connect to API|
|IPWHOIS.io||Best for bulk IP geolocation & filtering out bot traffic||Connect to API|
|Ipregistry||Best for IP geolocation and detecting threat data||Connect to API|
|Weatherbit||Best for JSON IP/GeoIP||Connect to API|
|BigDataCloud||Best for geolocation and network information||Connect to API|
|ipgeolocation.io||Best for geotargeting, geofencing and local time info||Connect to API|
|IP Geo Location||Best for geographic location & currency information||Connect to API|
|ClearIP||Best for location-aware web and mobile apps||Connect to API|
Our Top Picks for Best IP Geolocation APIs
This REST API is a service to get a visitor's IP address and query their location information. It returns JSON-encoded IP geolocation data, and supports both Cross-origin resource sharing (CORS) and JSONP.
Popularity Score: 9.8/10
Apility.io (formerly Moocher.io) offers a free IP geolocation API that returns the location of any IP, with relevant information including:
- Postal Code
- Latitude & Longitude
- Autonomous System
- Reverse Hostname
This API has a set of lists like IP, domains, emails, passwords, creditcard BIN/IIN. Some of them marked as 'abusers' by several groups and initiatives of users and communities, and others used to filter out potential abusers.
Popularity Score: 8.3/10
The IP Geolocation API by geoPlugin claims to be the original and largest free IP geolocation web service since 2006.
Not only does this API provide IP geolocation, but also has currency conversion built in.
The API has available integrations for:
Check out the API's status here: https://status.geoplugin.net/
Popularity Score: 8.0/10
IPWHOIS.io offers a free real-time geolocation REST API that is used by thousands of developers around the world.
This API is convenient for small projects and is free up to 1,000 requests/day (IP and Referer identification).
Some use cases for this API include:
- Filter out bot traffic
- customize content based on visitor's location
- display full country names
- perform bulk IP geolocation
Popularity Score: 7.9/10
Ipregistry is an excellent IP info API that assists in:
- pinpointing your users' locations (using IP addresses)
- extracting company names, domains, and carriers
- enhance user experience
- enforcing GDPR compliance
- detecting proxies, Tor exit nodes, spammers, bad bots, and more
Popularity Score: 6.7/10
Weatherbit is a high performance weather API used by thousands of developers around the world.
Weatherbit's Geo IP API allows you to obtain a visitor's IP address or get location data from any IP address. The API returns JSON, JSONP and plaintext and supports cross-origin resource sharing (CORS).
Get started with Weatherbit's Geo IP API for just $5/month (1000 requests/day).
Popularity Score: 2.1/10
BigDataCloud offers a multitude of APIs including time zone, country info, geocoding, and IP geolocation.
BigDataCloud's IP Geolocation API returns detailed information about the geographical location, ownership and connectivity of the provided IPv4 IP address. Powered by patent pending Next Generation IP Geolocation Technology.
BigDataCloud also provides an IP Geolocation service with Confidence Area, which includes confidence of area estimation for a specific geo.
Popularity Score: 1.8/10
Ipgeolocation.io offers a freemium geolocation API that returns:
- current time
- local currency
- country flags
The IP Location API can be used for:
- content personalization
- ad targeting
- digital rights management
- form auto-completion
This API is free to use up to 1,000 requests/month. Paid plans start at $15/month.
Popularity Score: n/a/10
9. IP Geo Location
The IP geo location API gives detailed information about IP location of your visitors. Data includes information about country, city, latitude and longitude, timezone, asn, currency and some security data. API supports IPv4 and IPv6 IP addresses.
The API also returns ASN, city population, country information, currency, postcode information, and more.
Popularity Score: 9.6/10
The Clearip API is an API to help build location-aware web and mobile applications. Based on an IP, the API returns:
- country flag
- country code
- lat and long
- time zone
- calling codes
- and much more
Popularity Score: n/a/10
All IP Geolocation APIs and their endpoints are available to consume in:
- Google Sheets
Learn more how to get started here with all the different code snippets.
Additional Info about IP Geolocation Software
Ip geolocation is almost accurate (reliable), but not 100%.
Accuracy of IP based GeoLocation varies depending on the database used to identify the user location.
Through GeoLocation, we can map IP addresses to the country, region, city, latitude/longitude, ISP, etc. All of this information is collected and stored in different database from different registrars. Some registrars may be very accurate in providing information about their IP, though some may enter not updated or incorrect data.
Geolocation IP Databases allow you to determine your website visitor's location. These databases of IP addresses contain the latitude and longitude of a particular IP address.
IP geolocation databases are generally gathered based on the following:
- IP spidering--traceroutes and other automated methods designed to map the routing infrastructure of the Internet. These techniques can be fairly complex and time consuming, given the task (4+billion IP addresses that constantly are allocated, deallocated, or moved). Plus, with IPv6, this becomes orders of magnitude more difficult.
- Data supplied by users tied to IP addresses--some companies take anonymous user data (postal codes/city) tied to IP addresses and use that to help populate their databases. Obviously, this data needs to be carefully scrubbed to make sure it's reliable.
- Sharing relationships with ISPs. Companies such as mine (Digital Element...https://www.digitalelement.com/) are often contacted by ISPs to make sure our data is accurate, because they don't want their users to be incorrectly targeted by services such as Hulu or ESPN and possibly blocked from content when they should otherwise be able to get it. This data is usually highly accurate, assuming it is kept up to date, because ISPs have perfect knowledge of the location of their own IP addresses.
- Registry data--looking at ARIN, RIPE, etc. [Generally not that accurate.]
Summary: Best IP Geolocation APIs for Developers
|API||Popularity Score||Latency||Success Rate||Pricing||# of Free Requests|
|IP Geo Location||9.6/10||43ms||100%||Free||Unlimited|
Complete List of the Best IP Geolocation APIs
- SmartIP.io - With SmartIP you can enrich any IP address with geolocation data, ASN and hostname information, enforce GDPR compliance, assess potential risks and much more.
- ipTwist - The reliable, secure, and simple IP geolocation API.
- Telize - Telize offers a JSON IP and GeoIP REST API allowing to get a visitor IP address and to query location information from any IP address. It outputs JSON-encoded IP geolocation data, and supports both Cross-origin resource sharing (CORS) and JSONP.
- IP Geolocation - This API endpoint returns the geo location of any IP, with relevant information like Continent, Country, Region, City, Postal code, Latitude and Longitude, Autonomous System and Reverse Hostname.
- IP Geo Location - API returns location data such as country, city, latitude, longitude, timezone, asn, currency, security data for IPv4 and IPv6 addresses in JSON or XML formats.
- Free IP Geolocation - A Free IP Geolocation service
- BIN Lookup - Perform a BIN (Bank Identification Number) or IIN (Issuer Identification Number) lookup. This API is ideal for fraud protection systems and payment analysis. Our BIN database is comprehensive and covers all countries, we update it on a regular basis as new cards are issued. This API also includes some extra fraud detection measures if a customer IP address is passed in. In this mode the API will also perform IP geolocation and IP blocklist lookups. Please Note: processing and transmitting BIN numbers is perfectly safe as long as no other card information is present, BIN numbers on there own pose no security risk to the card holder or merchant. To prevent abuse this API is restricted to a maximum of 5 API calls per day for Free API accounts.
- IP Geolocation - The endpoint returns the geo location of any IP, with relevant information like Continent, Country, Region, City, Postal code, Latitude and Longitude, Autonomous System, Networks and Reverse Hostname. Apility.io is a Minimal and Simple Anti-Abuse API for Everyone.
- IP Address Geolocation - This API returns the location of an IP address (country, region, city, zipcode, latitude and longitude) and the associated timezone in JSON or XML format.
- IP Info - Get location information about an IP address. Depending on the specific IP address you can determine the country, region, city, longitude and latitude of the address. Our high quality database for geolocation data is being constantly updated as the internet address allocation changes (the database is usually updated at least once per month). This API can also be used to do reverse DNS (PTR) lookups.
- IP Geolocation - IPWHOIS.io - You can use https://ipwhois.io/ to filter out bot traffic, customize content based on visitor's location, display full country names, perform bulk IP geolocation, and more.
- Ipregistry - Fast, Reliable IP Geolocation and Threat Data API.
- BIN - Issuer Identification Number database - This API endpoint returns the information of BIN/IIN numbers. BIN typically show the type of card like Debit or Credit, brand of card (e.g. Visa, MasterCard, Discover, American Express, etc.), and level of card such as Classic, Standard, Gold, Platinum, and World Signia. All these information combined with geolocation of the user, card and IP can help to reduce fraud.
- Geo Location - Get Geo Location based on IP or dns name
- IP Sidekick - IP Sidekick is a geolocation API that returns information about an IP address. You can use it to customize your content based on the visitor's location or display their country.
- IP2Location IP Geolocation Web Service - IP2Location web service provides reverse lookup of an IP address to an ISO3166 country code, region or state, city, latitude and longitude, ZIP/Postal code, time zone, ISP, net speed, area code, weather station code, weather station name, mobile carrier data, elevation, and usage type. Visit https://www.ip2location.com/web-service for more info.
- Geo IP - The Geo IP API from Weatherbit offers a JSON IP / GeoIP API which allow you to obtain a visitor's IP address, or query location data from any IP address. Valid outputs include JSON, JSONP, and plantext. Supports Cross-origin resource sharing (CORS).
- geolocation - Geolocation api. Have you ever needed to know where the person visiting your website is coming from? Just use this API.
- IP Geolocation - This API returns detailed information about the geographical location, ownership and connectivity of the provided IPv4 IP address. Powered by patent pending Next Generation IP Geolocation Technology.
- IP GEOLOCATION - Output Json format. Check location latitude and longitude, city name, country name, country code, isp name, region, zip code and more.
- Magento 2 Currency Language Switcher - Magento 2 currency and language switcher automatically changes the store's language and currency based upon the user's location. The extension detects every visitor's Geo location with the help of its MaxMind IP database and redirects them to a store view with their local language and currency.
- IP Address Geolocation - IP Address Geolocation Service to Identify the Continent, Country Code, Country Name, Region (State, County, Province, Region, Territory, District, etc), City, Postal/ZIP Code, Metro Code, Area Code, Latitude, Longitude, Internet Service Provider (ISP) and Organization
- IP2Location - The IP2Location Geolocation Web Service allows instant identification of online visitors geographical location by using IP address. The IP2Location Geolocation Web Service returns geographic information such as country, region, city, latitude, longitude, ISP and domain name.
- IP to Geolocation - IP addresses to Geolocation RESTful API. Geolocalize IPv4 and IPv6, multi output formats. Simple and well documented, easy and fast to implement. Large free plan available.
- IP Geolocation with Confidence Area - This API returns detailed information about the geographical location, ownership and connectivity of the provided IPv4 IP address. This particular API also includes Geolocation confidence and area estimation. Powered by patent pending Next Generation IP Geolocation Technology.
- DB-IP IP Geolocation - Lookup geographical location data like country code, state and city by IPv4 or IPv6 address.
- Clearip - API to build location-aware web and mobile applications. The only IP to Geolocation API you will ever need.
- IP Geolocation by ipgeolocation.io - IP Geolocation API allows developers to get geolocation information for a given IP address. Data points returned by this GeoIP API include city, state, province, country, continent, latitude, longitude, region, timezone, current time, organization, ISP, local currency, and country flags. This IP Location API can be used for content personalization, geotargeting, geofencing, ad targeting, digital rights management, form auto-completion, etc. With the free plan, you can make 15,000 IP lookup API calls per month. Paid plans are starting from $15 per month.
- IP 2 Location - IP2Location offers a powerful, real-time IP to geolocation API capable of looking up accurate location data and assessing security threats originating from risky IP addresses. Results are delivered within milliseconds in JSON. Using the IP2Location API you will be able to locate website visitors at first glance and adjust your user experience and application accordingly
- IP geolocation - Instantly find an IP address' physical location.
- IP Anomaly Detection - Monapi's digital assets API enables business to automate lookup Real Time Reputation for any given IPv4. Get Threat Classification, Geo Location & more Data in one API Call. Devs can use this API to reduce undesirable signups, localize IPs and Domains, reduce Fraud, secure Deployment Pipelines and so much more! Join our secure your App Movement and enjoy build in security.
- Geo Location - Real-time IP address to location JSON API
- IP to Country Geolocation - This API returns detailed information about the country identified by geolocating the provided IPv4 IP address. This includes ISO defined names, languages, currencies, United Nations and Word Bank defined region names and income levels. Powered by patent pending Next Generation IP Geolocation Technology.
- IP - The IP API offers a JSON REST API to retrieve geo location and network information of IP addresses and users. IPv4 and IPv6 is supported.
- https://ipfinder.io/ - ipfinder offers one of the leading IP to geolocation APIs and global IP database services worldwide.