ASN Info API
An autonomous system (AS) is a collection of connected Internet Protocol (IP) routing prefixes managed by one or more network operators on behalf of a single administrative entity or domain. It has a single and clearly defined external routing policy.
An autonomous system number (ASN) is a unique number used to identify an autonomous system. It enables that system to exchange exterior routing information with other neighbouring autonomous systems.
A detailed two-part blog post that explains the fundamentals of these systems and the role of AS is available below:
The AS Info APIs provide valuable information about the autonomous systems which allows you to identify the ownership of the systems and discover their neighbouring systems.
This API returns extended and detailed information about an Autonomous System (AS) when provided with an AS number. The information includes the registration, IPv4 address space announcements and ranking.
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.
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
https://api-bdc.net/data/asn-info?asn=AS15169&localityLanguage=en&key=[YOUR API KEY]
Autonomous System Number string
Autonomous System Number
The Regional Internet Registry (RIR) the AS is registered with
Registered Country ISO 3166-1 Alpha-2 code
Registered Country localised name. The language is as defined by the 'localityLanguage' request parameter
Registration date in 'yyyy-mm-dd' format
Registration modification date in 'yyyy-mm-dd' format
Total number of IP addresses announced by the AS
Total number of ipV4 BGP prefixes announced by the AS
Total number of ipV4 bogon prefixes announced by the AS
Total number of ipV6 BGP prefixes announced by the AS
Total number of ipV6 bogon prefixes announced by the AS
Global rank by total number of IP addresses announced
Global rank by total number of IP addresses announced including total