/v1/toroid
Toroid inductance
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/inductance-api/v1/toroid" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/inductance-api/v1/toroid", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/inductance-api/v1/toroid");
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/inductance-api/v1/toroid",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Rectangular-cross-section toroid L = μ₀·μr·N²·h·ln(b/a)/(2π). The toroidal shape confines the flux, so there is little external field.",
"inputs": {
"turns": 200,
"height_m": 0.01,
"inner_radius_m": 0.05,
"outer_radius_m": 0.06,
"relative_permeability": 1
},
"inductance_h": 1.4585724544e-5,
"inductance_mh": 0.014585725,
"inductance_uh": 14.585725
},
"meta": {
"timestamp": "2026-06-05T11:30:31.259Z",
"request_id": "cee64f35-0a8c-4911-bad6-da76fdbe3472"
},
"status": "ok",
"message": "Toroid inductance",
"success": true
}