Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/inductance-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Lengths and radii in m, area in m², inductance in H (mH/µH also returned), current in A. μ₀ = 4π×10⁻⁷ H/m; relative permeability defaults to 1 (air core).",
        "service": "inductance-api",
        "formulae": {
            "energy": "E = ½·L·I²",
            "toroid": "L = μ₀·μr·N²·h·ln(b/a)/(2π)",
            "solenoid": "L = μ₀·μr·N²·A/l"
        },
        "constants": {
            "mu0_h_per_m": 1.2566370614359173e-6
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/energy": "Stored magnetic energy and flux linkage from inductance and current.",
            "GET /v1/toroid": "Toroid inductance from turns, height, inner/outer radius and permeability.",
            "GET /v1/solenoid": "Solenoid inductance from turns, length, area/diameter and core permeability."
        },
        "description": "Inductance calculator from coil geometry: solenoid and toroid inductance, and the magnetic energy stored in an inductor."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:31.364Z",
        "request_id": "f1341cdd-6f59-4a86-b94a-c5d88358b42b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}