Aller au contenu
GET /v1/heat-output

Usable heat from pellets

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/pellet-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/pellet-api/v1/heat-output" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pellet-api/v1/heat-output", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pellet-api/v1/heat-output");
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/pellet-api/v1/heat-output",
    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 usable heat from a quantity of pellets = the mass × the calorific value × the boiler efficiency. 1 tonne of ENplus pellets is about 4,800 kWh of gross energy, of which a 90 % boiler delivers ~4,320 kWh to the house — the equivalent of roughly 480 litres of heating oil or 432 m³ of natural gas. The rest goes up the flue as losses, which is why efficiency and clean burning matter.",
        "inputs": {
            "pellet_kg": 2314.81,
            "efficiency_pct": 90,
            "calorific_value_kwh_kg": 4.8
        },
        "usable_heat_kwh": 9999.98,
        "gross_energy_kwh": 11111.09
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:48.639Z",
        "request_id": "d854cb1e-dfff-407c-a927-a37abab5aca7"
    },
    "status": "ok",
    "message": "Heat output",
    "success": true
}