IP Address Geolocation with Confidence Area and Hazard Report API
This API combines everything in the IP Address Geolocation with Confidence Area API with the Hazard Report — a set of risk signals designed to help you make faster, more informed decisions about incoming traffic.
Most risk tools only look backwards: is this IP on a blocklist? Has it been flagged before? The Hazard Report adds a forward-looking dimension. It assesses whether an IP belongs to hosting infrastructure rather than a residential network — a strong indicator of automated or non-human traffic — even when there's no prior incident history. That combination of reactive signals and proactive indicators gives you a more complete picture of threat likelihood than blocklist checks alone.
For a detailed breakdown of what the Hazard Report contains and how to interpret it, see Understanding the Hazard Report.
https://api-bdc.net/data/ip-geolocation-fullParameters
| 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-full?ip=18.209.237.103&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.
▶hazardReportobjecthazardReport object
Sample Response
Sample Response
Sample Response
Sample Response