Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/zener-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}