/v1/cop
COP and EER from capacity and power
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/heatpump-api/v1/cop" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heatpump-api/v1/cop", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heatpump-api/v1/cop");
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/heatpump-api/v1/cop",
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": {
"cop": 3.52,
"note": "COP = the heat moved ÷ the electrical power, in the same units — a COP of 3.5 means 3.5 kW of heating or cooling for every 1 kW of electricity, which is why heat pumps beat resistance heating (COP = 1). EER is the same thing in Btu per watt-hour (COP × 3.412), the US cooling rating. Both fall as the temperature lift grows, so a quoted COP only holds at its rating conditions.",
"inputs": {
"capacity_kw": 7.034,
"power_input_kw": 2
},
"capacity_tons": 2,
"eer_btu_per_wh": 12,
"capacity_btu_hr": 24001
},
"meta": {
"timestamp": "2026-06-06T23:53:55.638Z",
"request_id": "e3687876-2cd4-45d5-a72b-64680c6a6e91"
},
"status": "ok",
"message": "COP / EER",
"success": true
}