Naar de inhoud
GET /v1/regulator

Regulator analysis

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/zener-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Zener current Iz = (Vin − Vz)/Rs − Il > 0, so the output is held at Vz. As the load draws more, the Zener gives up current; if Iz reaches 0 regulation is lost.",
        "inputs": {
            "load_current": 0.02,
            "input_voltage": 12,
            "zener_voltage": 5.1,
            "series_resistor": 230
        },
        "regulating": true,
        "zener_power_w": 0.051,
        "load_current_a": 0.02,
        "total_current_a": 0.03,
        "zener_current_a": 0.01,
        "output_voltage_v": 5.1,
        "resistor_power_w": 0.207
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:23.410Z",
        "request_id": "9f61e4cd-fa7f-43c5-b481-1ba0c5174e72"
    },
    "status": "ok",
    "message": "Regulator analysis",
    "success": true
}