ASN Info API
On this page
An Autonomous System (AS) is a collection of IP routing prefixes managed by a single administrative entity — typically an ISP, hosting provider, university, or large organisation. Each AS is identified by a globally unique Autonomous System Number (ASN), which governs how it exchanges routing information with neighbouring systems.
This API returns key information about an AS when given its ASN: registration details, the IPv4 address space it announces, and its ranking relative to other autonomous systems.
For a deeper explanation of how autonomous systems fit into the broader IP routing fabric — and why they matter for geolocation — see IP Geolocation Demystified and The Next Generation IP Geolocation Service.
Endpoint
https://api-bdc.net/data/asn-infoParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
asn | string | Optional | Autonomous System Number as numeric or ASN format (e.g. 123 or AS123 or ASN123) |
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 not available for a requested location, it will default to English. If no English variant is known, will provide the native, local names |
key | string | Optional | Your API key |
Responses
200OK
Sample Request
https://api-bdc.net/data/asn-info?asn=AS16509&localityLanguage=en&key=[YOUR API KEY]Sample Response
Response Schema
403Access denied, or your quota limit has exceeded
Sample Response
404Found no valid entry for the request
Sample Response
500An error has occurred and did not complete your request. Please try again
Sample Response