/v1/wbgt
WBGT from measured temperatures
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/wbgt-api/v1/wbgt" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wbgt-api/v1/wbgt", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wbgt-api/v1/wbgt");
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/wbgt-api/v1/wbgt",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"flag": "red",
"mode": "outdoor",
"note": "General athletic/occupational WBGT guidance; follow your local standard (e.g. ISO 7243, ACSM, TB MED 507) for binding limits.",
"wbgt_c": 27.5,
"wbgt_f": 81.5,
"formula": "WBGT = 0.7·Tnwb + 0.2·Tg + 0.1·Tdb (outdoor, in sun).",
"globe_c": 35,
"guidance": "High risk. Limit intense exertion; increase rest and hydration.",
"dry_bulb_c": 30,
"risk_level": "high",
"natural_wet_bulb_c": 25,
"recommended_work_rest": "30 min work / 30 min rest",
"recommended_water_l_per_h": 1
},
"meta": {
"timestamp": "2026-06-04T10:18:52.304Z",
"request_id": "2c994a21-9f6d-42dc-aef4-b3d7955969f0"
},
"status": "ok",
"message": "WBGT from measurements",
"success": true
}