AS Overview
This endpoint shows general informations about an ASN like its announcement status and the name of its holder according to the WHOIS service.
GET /data/as-overview/data.json?resource=AS3333
Parameters
| Key | Value | Info | Required |
|---|---|---|---|
| resource | as | states the as you want to get the resource info for | yes |
Data Output
| Key | Info | ||||||
|---|---|---|---|---|---|---|---|
| announced | "true" if the ASN is originating any prefixes which are visible by at least 10 RIS full-feed peers (see http://ris.ripe.net). Note that a transit-only ASN would be reported with "false". We will revise this in a future version and change the field name. | ||||||
| holder | Descriptive name of the ASN holder, when the ASN has been registered by an RIR. "null" otherwise | ||||||
| resource | Outputs the AS that query is based on | ||||||
| type | For this endpoint always "as" | ||||||
| block | information about this ASN as found in the IANA registries. Keys:
| ||||||
| resource | holds the resource this query based on | ||||||
| query_starttime/query_endtime | The time period the query covers |
Code Examples
bash
curl --location --request GET "https://stat.ripe.net/data/as-overview/data.json?resource=3333"js
const requestOptions = {
method: 'GET',
};
fetch("https://stat.ripe.net/data/as-overview/data.json?resource=3333", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));