Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/impedance-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "Resistance/reactance in Ω, inductance in H, capacitance in F, frequency in Hz, voltage RMS in V. Phase is in degrees (positive = inductive, current lags).",
        "service": "impedance-api",
        "formulae": {
            "ac_ohm": "I = V / |Z|",
            "series": "Z = R + j(X_L − X_C) ; |Z| = √(R²+X²) ; φ = atan(X/R)",
            "parallel": "Y = 1/R + j(ωC − 1/ωL) ; Z = 1/Y",
            "reactance": "X_L = 2πf·L ; X_C = 1/(2πf·C)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ac-ohm": "RMS current and apparent power from voltage and impedance (R+jX or magnitude).",
            "GET /v1/series": "Series R-L-C complex impedance, magnitude, phase and reactances at a frequency.",
            "GET /v1/parallel": "Parallel R-L-C impedance via admittance, magnitude and phase."
        },
        "description": "AC complex-impedance calculator for R-L-C circuits: series impedance with magnitude and phase, parallel impedance via admittance, and AC Ohm's law for current and apparent power."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:38.069Z",
        "request_id": "5e4bc28c-d2af-499f-a391-75ed1ac0957a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}