Naar de inhoud
GET /v1/cooling

Air-conditioner cooling load

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Rule-of-thumb cooling load (≈20 BTU/h·ft² baseline). Estimate only — use a Manual J calculation for a real install.",
        "input": {
            "area_sqft": 300,
            "occupants": 4,
            "btu_per_sqft": 20,
            "ceiling_height_ft": 8
        },
        "cooling_kw": 2.11,
        "adjustments": [
            {
                "btu": 1200,
                "factor": "occupants"
            }
        ],
        "cooling_tons": 0.6,
        "cooling_btu_per_hour": 7200
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:18.242Z",
        "request_id": "1e2e0fd6-17a1-43ed-8366-795376ab0c55"
    },
    "status": "ok",
    "message": "Cooling load",
    "success": true
}