Aller au contenu
GET /v1/heat-index

Heat index

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/feelslike-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/feelslike-api/v1/heat-index" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/feelslike-api/v1/heat-index", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/feelslike-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/feelslike-api/v1/heat-index",
    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": "NWS Rothfusz heat index (apparent temperature in warm, humid air ≥ 27 °C). High humidity slows sweat evaporation, so it feels hotter.",
        "inputs": {
            "humidity_pct": 70,
            "temperature_c": 32
        },
        "applicable": true,
        "heat_index_c": 40.41,
        "heat_index_f": 104.74
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:35.658Z",
        "request_id": "005eee40-4d25-4769-8edb-ba607839af50"
    },
    "status": "ok",
    "message": "Heat index",
    "success": true
}