Ir al contenido
GET /v1/capacity

Delivered capacity from power and COP

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/heatpump-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/heatpump-api/v1/capacity" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heatpump-api/v1/capacity", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heatpump-api/v1/capacity");
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/capacity",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Delivered heat (or cooling) = the electrical power × the COP. A 2 kW compressor at a COP of 3.5 moves 7 kW of heat — about 23,900 BTU/hr or 2 tons. The electricity is not 'lost': the extra energy is pulled from the outdoor air, ground or water, which is the whole point of a heat pump over a resistance heater.",
        "inputs": {
            "cop": 3.5,
            "power_input_kw": 2
        },
        "capacity_kw": 7,
        "capacity_tons": 1.99,
        "capacity_btu_hr": 23885
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:55.458Z",
        "request_id": "0b4a7625-793a-4872-81a6-5c8f591b991e"
    },
    "status": "ok",
    "message": "Capacity",
    "success": true
}