/v1/power
Power & current limit
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}