IP Address Geolocation with Confidence Area API
The IP Address Geolocation with Confidence Area API is based on the same data and accuracy as the IP Geolocation API, but with an additional layer of information on top - the Confidence Area.
The Confidence Area is an essential feature of the IP Address Geolocation, providing a list of coordinates that define a closed polygon representing the maximum possible service area where an IP address could be located. This information is based on the historical allocation of IP addresses by Internet Service Providers (ISPs) and the network topology.
The Confidence Area feature can be useful for various applications that require a higher level of precision in geolocation, such as fraud detection, risk analysis, and targeted advertising. For more detailed information on Confidence Area, you can refer to the What is Confidence Area? FAQ on our website.
https://api-bdc.net/data/ip-geolocation-with-confidenceParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ip | string | Optional | IPv4 IP address in a string or numeric format or IPv6 IP address in a string format. If omitted, the caller’s IP address is assumed |
localityLanguage | string | Optional | 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. |
key | string | Optional | Your API key |
Responses
Sample Request
https://api-bdc.net/data/ip-geolocation-with-confidence?ip=54.211.111.246&localityLanguage=en&key=[YOUR API KEY]Sample Response
Response Schema
▶countryobjectcountry object
▶isoAdminLanguagesarrayAdministrative languages as defined by ISO 3166-1 standard
▶currencyobjectcurrency object
▶wbRegionobjectwbRegion object
▶wbIncomeLevelobjectwbIncomeLevel object
▶locationobjectlocation object
▶fipsobjectFIPS code object, omitted if unavailable. FIPS (Federal Information Processing Standards) Codes are codes used by the Census Bureau to uniquely identify places in the US. Visit FIPS FAQ page for more information.
▶timeZoneobjecttimeZone object
▶localityInfoobjectlocalityInfo object
▶administrativearrayAdministrative authorities as ordered by area (most significant first). Omitted if no administrative boundaries are available
▶informativearrayNon-administrative boundaries as ordered by area (most significant first). Omitted if unavailable
▶networkobjectnetwork object
▶carriersarrayList of Autonomous Systems (AS) announcing this network on BGP
▶viaCarriersarrayList of Autonomous Systems (AS) detected at the last BGP hop before the network carriers. Capped to the 5 most significant upstream peers.
▶confidenceAreaarrayA closed polygon (list of latitude/longitude points) representing the maximum possible service area where this IP address could be located. Based on ISP historical allocation patterns and network topology. Use this to display an uncertainty region on a map.
Sample Response
Sample Response
Sample Response
Sample Response