Zum Inhalt springen
GET /v1/cooling

Air-conditioner cooling load

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/hvac-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}