Returns the controlled number of transitTo entries for an Autonomous System (AS)
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
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-transit-to
Request
Parameter
Type
Required
Description
Parameter
asn
Type
string
Required
Yes
Description
Autonomous System Number as numeric or ASN format (e.g. 123 or AS123 or ASN123)
Parameter
batchSize
Type
integer (int32)
Required
Yes
Description
number of transitTo entries to retrieve. 50 is the hard limit
Parameter
offset
Type
integer (int32)
Required
Yes
Description
the number of transitTo entries to skip
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
key
Type
string
Required
Yes
Description
Your API key
Responses
200
Success
Sample Query
GET
https://api-bdc.net/data/asn-info-transit-to?asn=AS14618&batchSize=10&offset=0&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
rankinteger
Global rank by total number of IP addresses announced
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
Sample Response
JSON View
JSON data copied
400
Bad request
Sample Response
JSON View
JSON data copied
403
Access denied, or your quota limit has exceeded
Sample Response
JSON View
JSON data copied
404
Found no valid entry for the request
Sample Response
JSON View
JSON data copied
500
An error has occurred and did not complete your request. Please try again