/v1/neighbours
AS BGP neighbours
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/ripestat-api/v1/neighbours" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ripestat-api/v1/neighbours", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ripestat-api/v1/neighbours");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/ripestat-api/v1/neighbours",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asn": "AS15169",
"count": 200,
"counts": {
"left": 135,
"right": 20,
"unique": 333
},
"neighbours": [
{
"asn": "AS1136",
"type": "left",
"v4_peers": 491,
"v6_peers": 0
},
{
"asn": "AS12310",
"type": "left",
"v4_peers": 1,
"v6_peers": 0
},
{
"asn": "AS12389",
"type": "left",
"v4_peers": 3,
"v6_peers": 8
},
{
"asn": "AS1257",
"type": "left",
"v4_peers": 8809,
"v6_peers": 510
},
{
"asn": "AS12586",
"type": "left",
"v4_peers": 4648,
"v6_peers": 440
},
{
"asn": "AS1267",
"type": "left",
"v4_peers": 4612,
"v6_peers": 0
},
{
"asn": "AS1273",
"type": "left",
"v4_peers": 347,
"v6_peers": 634
},
{
"asn": "AS12735",
"type": "left",
"v4_peers": 0,
"v6_peers": 492
},
{
"asn": "AS12956",
"type": "left",
"v4_peers": 4991,
"v6_peers": 544
},
{
"asn": "AS1299",
"type": "left",
"v4_peers": 30949,
"v6_peers": 4739
},
{
"asn": "AS13030",
"type": "left",
"v4_peers": 9445,
"v6_peers": 1529
},
{
"asn": "AS13194",
"type": "left",
"v4_peers": 7,
"v6_peers": 0
},
{
"asn": "AS132696",
"type": "left",
"v4_peers": 0,
"v6_peers": 103
},
{
"asn": "AS137409",
"type": "left",
"v4_peers": 372,
"v6_peers": 31
},
{
"asn": "AS14840",
"type": "left",
"v4_peers": 14818,
"v6_peers": 1479
},
{
"asn": "AS153759",
"type": "left",
"v4_peers": 15,
"v6_peers": 2
},
{
"asn": "AS15412",
"type": "left",
"v4_peers": 76,
"v6_peers": 0
},
{
"asn": "AS15576",
"type": "left",
"v4_pe
…