Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/heatpump-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}