What is the Best IP Geolocation API?

The ipdata Team
Jul 4, 2018 · 14 min read

Notes;

  • We used a third party monitoring tool to monitor each API for 24 hrs. We sent a request every 30 seconds from 8 locations globally. Los Angeles - US, Miami - US, Montreal - Canada, Gravelines - France, Frankfurt - Germany, Singapore, Tokyo - Japan, Sydney - Australia.

IPData.co Fast Geolocation with Reliable Performance

  1. Carrier Detection — we’ll return the Carrier’s brand name for example Verizon, T-Mobile, their Mobile Country Code and Mobile Network Code
  2. Tor Detection — We return a flag that tells you whether an IP address is a Tor Exit node
  3. Proxy Detection — We aggregate multiple lists that track open proxies and return a flag telling you whether an IP address is a proxy or not
  4. Threat Data — This checks whether an IP address has recently been reported to be a source of malicious activity
  5. Currency Data — The major currency in the country the IP address belongs to. Including the symbol, code and name.
  6. Timezone Data — The timezone of the region the IP address belongs to
  7. Language Data — The major languages in the country the IP address belongs to
  8. EU Detection — whether an IP address belongs to a country in the European Union
{
"ip": "1.1.1.1",
"is_eu": false,
"city": "Research",
"region": "Victoria",
"region_code": "VIC",
"country_name": "Australia",
"country_code": "AU",
"continent_name": "Oceania",
"continent_code": "OC",
"latitude": -37.7,
"longitude": 145.1833,
"asn": "AS13335",
"organisation": "Cloudflare Inc",
"postal": "3095",
"calling_code": "61",
"flag": "https://ipdata.co/flags/au.png",
"emoji_flag": "🇦🇺",
"emoji_unicode": "U+1F1E6 U+1F1FA",
"languages": [
{
"name": "English",
"native": "English"
}
],
"currency": {
"name": "Australian Dollar",
"code": "AUD",
"symbol": "AU$",
"native": "$",
"plural": "Australian dollars"
},
"time_zone": {
"name": "Australia/Melbourne",
"abbr": "AEST",
"offset": "+1000",
"is_dst": false,
"current_time": "2018-07-05T05:22:19.138894+10:00"
},
"threat": {
"is_tor": false,
"is_proxy": false,
"is_anonymous": false,
"is_known_attacker": false,
"is_known_abuser": false,
"is_threat": false,
"is_bogon": false
}
}
{
"name": "T-Mobile",
"mcc": "310",
"mnc": "160"
}
{
“is_tor”: true,
“is_proxy”: false,
“is_anonymous”: true,
“is_known_attacker”: false,
“is_known_abuser”: true,
“is_threat”: true,
“is_bogon”: false
}
  • Ohio (US)
  • North California (US)
  • Oregon (US)
  • Canada
  • Frankfurt (Germany)
  • London (UK)
  • Seoul (S. Korea)
  • Sydney (Australia)
  • Mumbai (India)
  • Sao Paulo (Brazil)
  1. Lite — 10,000 requests daily or 300,000 requests a month at $30
  2. Startup — 50,000 requests daily or 1,500,000 requests a month at $50
  3. Business — 100,000 requests daily or 3,000,000 requests a month at $120
curl https://api.ipdata.co?api-key=test
curl https://api.ipdata.co/1.1.1.1?api-key=test
curl https://api.ipdata.co/1.1.1.1/country_name?api-key=test
curl https://api.ipdata.co/1.1.1.1/is_eu?api-key=test

Maxmind GeoIP2 Precision Services

{
"city": {
"confidence": 0,
"geoname_id": 2151718,
"names": {
"en": "Research"
}
},
"continent": {
"code": "OC",
"geoname_id": 6255151,
"names": {
"ja": "オセアニア",
"pt-BR": "Oceania",
"ru": "Океания",
"zh-CN": "大洋洲",
"de": "Ozeanien",
"en": "Oceania",
"es": "Oceanía",
"fr": "Océanie"
}
},
"country": {
"confidence": 99,
"iso_code": "AU",
"geoname_id": 2077456,
"names": {
"zh-CN": "澳大利亚",
"de": "Australien",
"en": "Australia",
"es": "Australia",
"fr": "Australie",
"ja": "オーストラリア",
"pt-BR": "Austrália",
"ru": "Австралия"
}
},
"location": {
"accuracy_radius": 1000,
"latitude": -37.7,
"longitude": 145.1833,
"time_zone": "Australia/Melbourne"
},
"maxmind": {
"queries_remaining": 2457
},
"postal": {
"confidence": 0,
"code": "3095"
},
"registered_country": {
"iso_code": "AU",
"geoname_id": 2077456,
"names": {
"en": "Australia",
"es": "Australia",
"fr": "Australie",
"ja": "オーストラリア",
"pt-BR": "Austrália",
"ru": "Австралия",
"zh-CN": "澳大利亚",
"de": "Australien"
}
},
"subdivisions": [{
"confidence": 0,
"iso_code": "VIC",
"geoname_id": 2145234,
"names": {
"ru": "Виктория",
"en": "Victoria",
"pt-BR": "Vitória"
}
}],
"traits": {
"user_type": "content_delivery_network",
"autonomous_system_number": 13335,
"autonomous_system_organization": "Cloudflare Inc",
"isp": "APNIC and Cloudflare DNS Resolver project",
"organization": "APNIC and Cloudflare DNS Resolver project",
"ip_address": "1.1.1.1"
}
}
  • San Jose, California (US)
  • London (UK)
  • Singapore
curl -u “{account_id}:{license_key}” \ “https://geoip.maxmind.com/geoip/v2.1/insights/me?pretty"
curl -u “{account_id}:{license_key}” \
“https://geoip.maxmind.com/geoip/v2.1/insights/{ip_address}?pretty"

IPInfo.io Geolocation and Data Solutions

  1. Standard Plan — Basic plus the ASN type, that is whether the ASN is business, hosting or ISP. You also get to do lookups by ASN and get Priority support.
  2. Pro Plan — Everything in Standard plus Company and Carrier details. You also get the IP type, that is whether an IP address belongs to a business, hosting provider or ISP.
{
"ip": "1.1.1.1",
"hostname": "1dot1dot1dot1.cloudflare-dns.com",
"city": "Research",
"region": "Victoria",
"country": "AU",
"loc": "-37.7000,145.1830",
"postal": "3095",
"org": "AS13335 Cloudflare, Inc."
}
{
“ip”: “38.104.128.99”,
“name”: “American Heart Association”,
“domain”: “americanheart.org”
}
{
“ip”: “201.144.87.19”,
“carrier”: “Telcel”,
“country”: “MX”,
“mcc”: “334”,
“mnc”: “20”
}
  1. London
  2. Frankfurt
  1. Standard Plan — 2,000,000 requests a month for a $249 monthly subscription
  2. Pro Plan — 6,000,000 requests a month for a $999 monthly subscription
curl ipinfo.io
curl ipinfo.io/8.8.8.8
curl -u {api-key}: ipinfo.io
curl -H ‘Authorization: Bearer {api-key}’ ipinfo.io
curl ipinfo.io?token={api-key}

IP-API.com

  1. Germany
  2. Missouri (US)
  • 6 months access for €85
  • 12 months access for €160 or €13 per month
curl http://ip-api.com/json
curl http://ip-api.com/json/1.1.1.1
{
"ip": "1.1.1.1",
"city": "Research",
"region": "Victoria",
"region_code": "VIC",
"country": "AU",
"country_name": "Australia",
"continent_code": "OC",
"in_eu": false,
"postal": "3095",
"latitude": -37.7,
"longitude": 145.1833,
"timezone": "Australia/Melbourne",
"utc_offset": "+1000",
"country_calling_code": "+61",
"currency": "AUD",
"languages": "en-AU",
"asn": "AS13335",
"org": "Cloudflare Inc"
}
  • 2000 requests daily for $15 monthly
  • 5000 requests daily for $25 monthly
  • 15,000 requests daily for $49 monthly
  • 50,000 requests daily for $99 monthly
  • 200,000 requests daily for $199 monthly
  • 500,000 requests daily for $399 monthly

ipstack.com

  1. Basic — SSL support. Location, Currency, Timezone and Connection data.
  2. Professional — Everything in Basic and access to a Bulk Lookup endpoint.
  3. Professional Plus — Everything in Professional plus access to security data including; proxy, crawler and tor detection.
{
"ip": "134.201.250.155",
"type": "ipv4",
"continent_code": "NA",
"continent_name": "North America",
"country_code": "US",
"country_name": "United States",
"region_code": "CA",
"region_name": "California",
"city": "Huntington Beach",
"zip": "92648",
"latitude": 33.6746,
"longitude": -118.0086,
"location": {
"geoname_id": 5358705,
"capital": "Washington D.C.",
"languages": [{
"code": "en",
"name": "English",
"native": "English"
}],
"country_flag": "http:\/\/assets.ipstack.com\/flags\/us.svg",
"country_flag_emoji": "\ud83c\uddfa\ud83c\uddf8",
"country_flag_emoji_unicode": "U+1F1FA U+1F1F8",
"calling_code": "1",
"is_eu": false
}
}
  1. Professional — 500,000 requests a month for $50
  2. Profressional Plus — 2,000,000 requests a month for $100
curl http://api.ipstack.com/check?access_key={api-key}
curl http://api.ipstack.com/134.201.250.155?access_key={api-key}

db-ip.com

{
"ipAddress": "1.1.1.1",
"continentCode": "OC",
"continentName": "Oceania",
"countryCode": "AU",
"countryName": "Australia",
"stateProv": "Queensland",
"city": "South Brisbane"
}
  • Premium — 1,000,000 requests daily for 99.90 Euros
  • Enterprise — Unlimited requests for 499.90
curl ‘https://api.ipify.org'
curl ‘https://api.ipify.org?format=json'

The ipdata Team

Written by

Doing IP Geolocation at https://ipdata.co

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade