On this page

ASN Info API

Introduction

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 which explains the fundamentals of these systems and the role of AS is available here.

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.

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.

Endpoint

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

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
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

Example query

https://api.bigdatacloud.net/data/asn-info?asn=AS7545&localityLanguage=en&key=[YOUR API KEY]
  

Example response

  • 1
    {
  • 2
    "asn": "AS7545",
  • 3
    "asnNumeric": 7545,
  • 4
    "organisation": "TPG Internet Pty Ltd",
  • 5
    "name": "TPG-INTERNET-AP",
  • 6
    "registry": "APNIC",
  • 7
    "registeredCountry": "AU",
  • 8
    "registeredCountryName": "Australia",
  • 9
    "registrationLastChange": "2020-11-04",
  • 10
    "totalIpv4Addresses": 3223828,
  • 11
    "totalIpv4Prefixes": 6159,
  • 12
    "totalIpv4BogonPrefixes": 0,
  • 13
    "rank": 151,
  • 14
    "rankText": "#151 out of 75,050"
  • 15
    }

Schema

application/json