On this page

IP Address Geolocation with Confidence Area API

Introduction

Due to the global shortage of IPv4 addresses, Internet Service Providers (ISPs) are working hard trying to utilise the IP address space available to them, in the most effective way possible. Hence, they usually dedicate a pool of IP addresses, to a section of their network, which sometimes covers a substantial geographical area. 

This method of dynamic address allocation significantly minimises the number of IP addresses required to serve the area because it effectively covers the active users rather than the entire clients' base. 

Also, when the number of active users is higher than the IP address pool available, ISPs often employ techniques such as network address translation (NAT) to share a single IP address amongst multiple users. Mobile internet users, for instance, almost always share a pool of IP addresses that is much fewer than the number of devices connected.

Therefore, any point-based IP Geolocation can only estimate where an IP address is likely to be accessed from, as it is servicing anywhere within the service area determined by its operator. As a result, it is important to have an estimation of the service area for better decision making. 

The IP Address Geolocation with Confidence Area API is designed to provide such crucial insights, and it is unlike any other API that can be found. You can view a demonstration of this on our “What is my IP?” page.

Unprecedented Update Rate

  • Geolocation data re-evaluated every 2 hours or at least once a day
  • BGP data updated every 2 hours
  • Registry data updated at least once a day
  • Country object data usually update at least once in a month

Get started

This API is part of the IP Geolocation package and is available in free and paid plans. Please visit the IP Geolocation package page for limits and pricing information.

Endpoint

GET
https://api.bigdatacloud.net/data/ip-geolocation-with-confidence

Request

Parameter
Type
Required
Description
Parameter
ip
Type
string
Required
Optional, default value: [Caller's IP]
Description
IPv4 IP address in a string or numeric format. If omitted, the caller’s IP address is assumed
Parameter
localityLanguage
Type
string
Required
Optional, default value: en
Description
Preferred language for locality names in ISO 639-1 format, such as 'en' for English, 'es' for Spanish etc. If the requested language is unavailable for a requested location, it will default to English. If no English variant is available, will provide the native, local names. Use 'default' as the requested value to automatically adjust the language to the first administrative language in the Country.
Parameter
key
Type
string
Required
Yes
Description
Your API key

Responses

Example query

https://api.bigdatacloud.net/data/ip-geolocation-with-confidence?ip=193.114.112.1&localityLanguage=en&key=[YOUR API KEY]
  

Example response

Schema

application/json