ASN Info Extended API

Introduction

The ASN Info Extended API is an advanced ASN lookup API that provides a list of active networks from which the ASN receives traffic and transits it. Additionally, the API utilises BigDataCloud's proprietary technology to provide the geographic coordinates of the most active region where the ASN is operating, if available.

Our proprietary network datasets are updated every two hours to ensure accurate and up-to-date information on the ASN. With the extended ASN information, in conjunction with BigDataCloud's network APIs, network engineers and security professionals can monitor and understand the AS routing policies, allowing them to troubleshoot and optimise their network infrastructure.

Get Started

This API is part of the Network Engineering API Package and is available in free and paid plans. Please visit the Network Engineering API Package 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

GET
https://api.bigdatacloud.net/data/asn-info-full

Dual-Stack API Endpoint

This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks

GET
https://api-bdc.net/data/asn-info-full

Request

Parameter
asn
Type
string
Required
Yes
Description
Autonomous System Number as numeric or ASN format (e.g. 123 or AS123 or ASN123)
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 not available for a requested location, it will default to English. If no English variant is known, will provide the native, local names
Parameter
peersCap
Type
integer (int32)
Required
Yes
Description
This parameter caps the max number of 'receivingFrom' and 'transitTo' entries to retrieve. The default value and the hard limit are 50
Parameter
key
Type
string
Required
Yes
Description
Your API key

Responses

200
Success

Sample Query

GET
https://api-bdc.net/data/asn-info-full?asn=AS14618&localityLanguage=en&key=[YOUR API KEY]

Schema

application/json
asnstring
Autonomous System Number string
asnNumericinteger
Autonomous System Number
organisationstring
Registered Organisation
namestring
Registered name
registrystring
The Regional Internet Registry (RIR) the AS is registered with
registeredCountrystring
Registered Country ISO 3166-1 Alpha-2 code
registeredCountryNamestring
Registered Country localised name. The language is as defined by the 'localityLanguage' request parameter
registrationDatestring
Registration date in 'yyyy-mm-dd' format
registrationLastChangestring
Registration modification date in 'yyyy-mm-dd' format
totalIpv4Addressesinteger
Total number of IP addresses announced by the AS
totalIpv4Prefixesinteger
Total number of ipV4 BGP prefixes announced by the AS
totalIpv4BogonPrefixesinteger
Total number of ipV4 bogon prefixes announced by the AS
totalIpv6Prefixesinteger
Total number of ipV6 BGP prefixes announced by the AS
totalIpv6BogonPrefixesinteger
Total number of ipV6 bogon prefixes announced by the AS
totalReceivingFrominteger
The total number of active Autonomous Systems which receiving traffic from that ASN
rankinteger
Global rank by total number of IP addresses announced
receivingFromarray
The list of active Autonomous Systems which send traffic to that ASN. Hard limited to 50 most prominent entries
asnstring
Autonomous System Number string
asnNumericinteger
Autonomous System Number
organisationstring
Registered Organisation
namestring
Registered name
registrystring
The Regional Internet Registry (RIR) the AS is registered with
registeredCountrystring
Registered Country ISO 3166-1 Alpha-2 code
registeredCountryNamestring
Registered Country localised name. The language is as defined by the 'localityLanguage' request parameter
totalIpv4Addressesinteger
Total number of IP addresses announced by the AS
rankinteger
Global rank by total number of IP addresses announced
rankTextstring
Global rank by total number of IP addresses announced including total
rankTextstring
Global rank by total number of IP addresses announced including total
totalTransitTointeger
The total number of active Autonomous Systems which receiving traffic from that ASN
transitToarray
The list of active Autonomous Systems which receiving traffic from that ASN. Hard limited to 50 most prominent entries
asnstring
Autonomous System Number string
asnNumericinteger
Autonomous System Number
organisationstring
Registered Organisation
namestring
Registered name
registrystring
The Regional Internet Registry (RIR) the AS is registered with
registeredCountrystring
Registered Country ISO 3166-1 Alpha-2 code
registeredCountryNamestring
Registered Country localised name. The language is as defined by the 'localityLanguage' request parameter
totalIpv4Addressesinteger
Total number of IP addresses announced by the AS
rankinteger
Global rank by total number of IP addresses announced
rankTextstring
Global rank by total number of IP addresses announced including total
confidenceAreaarray
The most active geographical area detected for the current ASN. Presented as list of coordinates resembling a closed polygon path
latitudenumber
Latitude in in EPSG:4326 projection, as used in GPS
longitudenumber
Longitude in EPSG:4326 projection, as used in GPS

Sample Response

JSON View
403
Access denied, or your quota limit has exceeded

Sample Response

JSON View
404
Found no valid entry for the request

Sample Response

JSON View
500
An error has occurred and did not complete your request. Please try again

Sample Response

JSON View
Was this page helpful?