Zum Inhalt springen
GET /v1/heat-index

NWS heat index

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}