# Example Resources
This data call returns sample resources for ASN, IPv4 and IPv6 resources. All are taken from routing data.
/data/example-resources/data.json
# Parameters
Key | Value | Info | Required |
---|---|---|---|
- | - | - | - |
# Data Output
Key | Info |
---|---|
"asn" | Example AS number. |
"ipv4" | Example IPv4 address. |
"ipv6" | Example IPv6 address. |
"range4" | Example IPv4 address range. |
# Code Examples
curl --location --request GET "https://stat.ripe.net/data/example-resources/data.json"
var requestOptions = {
method: 'GET',
};
fetch("https://stat.ripe.net/data/example-resources/data.json", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));