/v1/heat-index
NWS heat index
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}