Naar de inhoud
GET /v1/capacity

Delivered capacity from power and COP

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

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