Naar de inhoud
GET /v1/heat-index

NWS heat index

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "The heat index is how hot it feels when humidity is folded into the air temperature, from the US NWS Rothfusz regression. High humidity stops sweat evaporating, so the body cannot shed heat and the apparent temperature climbs well above the thermometer — at 90 °F and 70 % humidity it feels like about 106 °F. It is defined for shade and light wind; full sun can add up to ~15 °F.",
        "inputs": {
            "temp_f": 90,
            "humidity_pct": 70
        },
        "heat_index_c": 41.1,
        "heat_index_f": 105.9,
        "risk_category": "danger — heat exhaustion likely"
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:54.325Z",
        "request_id": "856eef77-c6ab-46af-9945-b61497888751"
    },
    "status": "ok",
    "message": "Heat index",
    "success": true
}