For an autonomous system: how many upstream and downstream
security_asn_peers_upstreamFor an autonomous system (e.g. AS13335): how many upstream (transit) and downstream neighbours RIPEstat sees in BGP, the top upstreams ranked by 'power' with their IPv4 and IPv6 peer counts, and the top downstreams. Built from RIS route collector paths, so it is an observed view, not the contract. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asn": "<asn>"
},
"name": "security_asn_peers_upstream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | Yes | AS number such as AS13335 or 13335 (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | No | ||
| counts | No | ||
| source | No | ||
| checkedAt | No | ||
| upstreams | No | ||
| downstreams | No |