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/transmissionline-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/transmissionline-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transmissionline-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transmissionline-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/transmissionline-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": "Impedances in Ω (load as resistance + reactance), electrical length in degrees, physical length in m, frequency in Hz. Lossless line. Velocity factor 0–1 (default 1).",
        "service": "transmissionline-api",
        "formulae": {
            "wavelength": "λ = vf·c/f",
            "quarter_wave": "Z0' = √(Z1·Z2)",
            "input_impedance": "Zin = Z0·(ZL + jZ0·tanβl)/(Z0 + jZL·tanβl)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/quarter-wave": "Quarter-wave transformer impedance to match two real impedances.",
            "GET /v1/input-impedance": "Input impedance of a line from Z0, the complex load and the electrical length.",
            "GET /v1/electrical-length": "Electrical length (wavelengths/degrees) from physical length, frequency and velocity factor."
        },
        "description": "Transmission-line calculator: input impedance of a loaded lossless line, quarter-wave matching-transformer impedance, and physical-to-electrical length conversion."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:30.069Z",
        "request_id": "65e33f9e-4427-48bb-997a-d21859ca31a7"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}