Aller au contenu
GET /v1/humidex

Canadian humidex

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/apparenttemp-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/apparenttemp-api/v1/humidex" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/apparenttemp-api/v1/humidex", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/apparenttemp-api/v1/humidex");
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/humidex",
    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": {
        "note": "The humidex is Canada's feels-like index, combining the air temperature with the humidity through the water-vapour pressure. It is read on the same Celsius scale as the temperature: 30–39 is some discomfort, 40–45 great discomfort and 46+ dangerous. Like the heat index it assumes shade — it is only defined for warm, humid conditions, so it is reported as the air temperature when it would fall below it.",
        "inputs": {
            "temp_c": 30,
            "humidity_pct": 70
        },
        "humidex": 40.9,
        "risk_category": "great discomfort — avoid exertion",
        "vapour_pressure_hpa": 29.64
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:54.429Z",
        "request_id": "07c2850e-1530-4f33-ba73-10e6b22a19b7"
    },
    "status": "ok",
    "message": "Humidex",
    "success": true
}