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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/zener-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zener-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zener-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/zener-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": "Voltages in V, currents in A, resistances in Ω, power in W. A shunt Zener regulator holds the output at Vz as long as the Zener keeps conducting (Iz > 0).",
        "service": "zener-api",
        "formulae": {
            "max_current": "Iz_max = Pz_max/Vz",
            "zener_current": "Iz = (Vin − Vz)/Rs − Il",
            "series_resistor": "Rs = (Vin − Vz)/(Iz + Il)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/power": "Zener dissipation and the maximum safe current from the power rating.",
            "GET /v1/regulator": "Zener/load currents, output voltage and whether the regulator is in regulation.",
            "GET /v1/series-resistor": "Series resistor and power ratings for a shunt Zener regulator."
        },
        "description": "Zener-diode voltage-regulator calculator: series-resistor sizing, regulator operating-point analysis, and Zener power dissipation and current limits."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:23.624Z",
        "request_id": "0e1e9af7-5f64-44d8-a8be-7ef706f07adb"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}