Naar de inhoud
GET /v1/host

A host's exposed ports, products & CVEs

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/internetdb-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}