/v1/heat-index
NWS heat index
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}