Skip to content
GET /v1/host

A host's exposed ports, products & CVEs

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/internetdb-api

It works. Grab an API key and use it in your project.

Get an API key

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

Example response

A real response from this endpoint, captured by the latest 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
}