Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "kW (power/thermal), °C, plus BTU/hr and tons. COP = capacity ÷ power; EER = COP × 3.412; Carnot heating = Th/(Th−Tc), cooling = Tc/(Th−Tc) (kelvin). Estimates at the stated conditions. For room sizing use an HVAC API; for moist air a psychrometric API.",
        "service": "heatpump-api",
        "endpoints": {
            "GET /v1/cop": "COP and EER from the thermal capacity and electrical power.",
            "GET /v1/meta": "This document.",
            "GET /v1/carnot": "Ideal (Carnot) COP from the source/sink temperatures, with second-law efficiency.",
            "GET /v1/capacity": "Delivered thermal capacity from power and COP."
        },
        "description": "Heat-pump / refrigeration performance maths: COP and EER from capacity and power, the Carnot limit from temperatures, and the delivered capacity from power and COP."
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:55.729Z",
        "request_id": "0d722c74-6575-4a46-b787-1c6b9c40b9bf"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}