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/heatsink-api

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/heatsink-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heatsink-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heatsink-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/heatsink-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": "Power in watts, temperatures in °C, thermal resistances in °C/W (K/W). jc = junction-to-case, cs = case-to-sink (interface), sa = sink-to-ambient. Steady-state conduction model.",
        "service": "heatsink-api",
        "formulae": {
            "power": "P = (Tj_max − Ta)/Rθtotal",
            "junction": "Tj = Ta + P·(Rθjc + Rθcs + Rθsa)",
            "required": "Rθsa = (Tj_max − Ta)/P − Rθjc − Rθcs"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/power": "Maximum power dissipation for a thermal path.",
            "GET /v1/junction": "Junction (and case/sink) temperature from power, ambient and the Rθ chain.",
            "GET /v1/required": "Maximum allowable heatsink Rθsa to stay under a junction limit."
        },
        "description": "Heatsink / thermal-resistance calculator: junction temperature, required heatsink thermal resistance, and maximum power dissipation."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:12.470Z",
        "request_id": "b64707b5-a214-4e11-a4da-dbba65f39ee4"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}