IP Address Geolocation API
Most IP geolocation providers work backwards from database records — WHOIS registrations, user submissions, or latency probes — all of which have well-documented accuracy limits. BigDataCloud takes a different approach.
Our patented technology (US Patent No. 11,792,110 B2) maps the actual routing structure of the internet: every public router interface is identified and categorised, its geographic service area is calculated using verified ground truth data, and any IP address is then located by finding the router responsible for delivering traffic to it. This means our results are grounded in how the network actually works, not how it's registered or how it responds to pings.
For an independent view of our accuracy across different network types and regions, see the Daily IP Geolocation Accuracy Report. For a full explanation of the technology, read The Next Generation IP Geolocation Service.
https://api-bdc.net/data/ip-geolocationParameters
| 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?ip=35.170.52.252&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.
Sample Response
Sample Response
Sample Response
Sample Response