Zum Inhalt springen
GET /v1/lookup

Attribute an IP to a cloud/CDN

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cloudips-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/cloudips-api/v1/lookup" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cloudips-api/v1/lookup", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cloudips-api/v1/lookup");
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/cloudips-api/v1/lookup",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "ip": "52.94.76.5",
        "matches": [
            {
                "prefix": "52.94.76.0/22",
                "region": "us-west-2",
                "service": "AMAZON",
                "provider": "AWS"
            }
        ],
        "version": "ipv4",
        "is_cloud": true,
        "match_count": 1
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:53.280Z",
        "request_id": "560db8ff-94ed-4d16-8363-6e2d3e23365b"
    },
    "status": "ok",
    "message": "IP attribution retrieved",
    "success": true
}