/v1/search
Search ASNs by organisation name
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/asn-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/asn-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/asn-api/v1/search");
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/asn-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 12,
"limit": 20,
"query": "cloudflare",
"total": 12,
"offset": 0,
"country": null,
"results": [
{
"asn": 13335,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET-AS",
"country": "US"
},
{
"asn": 14789,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET",
"country": "US"
},
{
"asn": 132892,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARE",
"country": "US"
},
{
"asn": 133877,
"name": "Cloudflare Hong Kong LLC",
"handle": "CLOUDFLARE",
"country": "US"
},
{
"asn": 139242,
"name": "Cloudflare Sydney LLC",
"handle": "CSL-AS-AP",
"country": "US"
},
{
"asn": 202623,
"name": "Cloudflare Inc",
"handle": "CLOUDFLARENET-CORE",
"country": "US"
},
{
"asn": 203898,
"name": "Cloudflare Inc",
"handle": "CLOUDFLARENET-UK",
"country": "US"
},
{
"asn": 209242,
"name": "Cloudflare London LLC",
"handle": "CLOUDFLARESPECTRUM",
"country": "US"
},
{
"asn": 394536,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET-SFO",
"country": "US"
},
{
"asn": 395747,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET-SFO05",
"country": "US"
},
{
"asn": 400095,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET",
"country": "US"
},
{
"asn": 402542,
"name": "Cloudflare Inc.",
"handle": "CLOUDFLARENET",
"country": "US"
}
]
},
"meta": {
"timestamp": "2026-05-31T05:47:59.534Z",
"request_id": "4d83c84d-73ad-41a9-be0e-02001af7181c"
},
"status": "ok",
"message": "ASNs listed",
"success": true
}