Naar de inhoud
GET /v1/humidex

Canadian humidex

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/apparenttemp-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}