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/resonance-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/resonance-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/resonance-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/resonance-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/resonance-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": "Base SI units: frequency Hz, capacitance F, inductance H, resistance Ω. Convenience inputs accepted: capacitance_uf/_nf/_pf, inductance_mh/_uh.",
        "service": "resonance-api",
        "formulae": {
            "rc_cutoff": "fc = 1/(2πRC), τ = RC",
            "rl_cutoff": "fc = R/(2πL), τ = L/R",
            "lc_resonance": "f₀ = 1/(2π√(LC))",
            "inductive_reactance": "Xl = 2πfL",
            "capacitive_reactance": "Xc = 1/(2πfC)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/cutoff": "RC or RL filter cutoff frequency and time constant.",
            "GET /v1/resonant": "LC resonant frequency, or solve C or L for a target frequency.",
            "GET /v1/reactance": "Capacitive/inductive reactance at a frequency and net series reactance."
        },
        "description": "AC reactance and LC/RC tuning calculator: capacitive and inductive reactance at a frequency, LC resonant frequency (or solve the missing component), and RC/RL filter cutoff frequency and time constant."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:10.659Z",
        "request_id": "c3c9c9fc-523a-47eb-88ee-820d659fd4a0"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}