Network by IP Address API
Introduction
This API returns detailed information about the active network a specific IP address belongs to, including Autonomous Systems (AS) that announce and serve that network.
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.
Endpoints
IPv4 only API Endpoint
Use this endpoint to force API calls routed over the IPv4 network only
Dual-Stack API Endpoint
This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks
Request
Responses
Example query
https://api-bdc.net/data/network-by-ip?ip=8.8.8.8&localityLanguage=en&key=[YOUR API KEY]
Example response
Schema
Requested IP address in a string format
The Regional Internet Registry (RIR), the network registered with
Registration status
Registered Country ISO 3166-1 Alpha-2 code
Registered Country name localised to the language is as defined by 'localityLanguage' request parameter
organisation or a segment the network is registered for
Indicates whether the network was announced on BGP and reachable globally or not
Indicates whether the IP address is excluded from public Internet use by the authorities but announced into the global routing table via BGP
The BGP prefix detected on the global network, announcing the network
BGP prefix network (the first) address
BGP prefix last address
Total number of IP addresses in the Network
List of Autonomous Systems (AS) announcing this network on BGP
List of Autonomous Systems (AS) detected at the last hop before the announced parties. Capped to the most significant 5.