Zum Inhalt springen
GET /v1/power

Power & current limit

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Zener dissipation P = Vz·Iz. The maximum safe current is Iz_max = Pz_max/Vz; stay well below it (derate for temperature).",
        "inputs": {
            "power_rating": 0.5,
            "zener_current": 0.01,
            "zener_voltage": 5.1
        },
        "dissipation_w": 0.051,
        "max_current_a": 0.09803922,
        "within_rating": true,
        "max_current_ma": 98.0392
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:23.327Z",
        "request_id": "5a6b5a6d-f38f-4ff7-9120-d94033d86369"
    },
    "status": "ok",
    "message": "Power & current limit",
    "success": true
}