Zum Inhalt springen
GET /v1/host

A host's exposed ports, products & CVEs

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "ip": "8.8.8.8",
        "tags": [],
        "ports": [
            {
                "port": 53,
                "service": "dns"
            },
            {
                "port": 443,
                "service": "https"
            }
        ],
        "vulns": [],
        "products": [],
        "hostnames": [
            "dns.google"
        ],
        "port_count": 2,
        "vuln_count": 0,
        "queried_host": null
    },
    "meta": {
        "timestamp": "2026-06-01T16:22:46.524Z",
        "request_id": "b5cd451a-ce57-44df-a39b-4bb493079cca"
    },
    "status": "ok",
    "message": "Host exposure retrieved",
    "success": true
}