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/vswr-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/vswr-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vswr-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vswr-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/vswr-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 ohms (Z0 default 50 Ω), power in any consistent unit. Reflection coefficient magnitude 0–1. Assumes real (resistive) impedances; complex matching needs the full reflection vector.",
        "service": "vswr-api",
        "formulae": {
            "vswr": "VSWR = (1+|Γ|)/(1−|Γ|)",
            "gamma": "Γ = (ZL−Z0)/(ZL+Z0) = √(Pr/Pf)",
            "return_loss": "RL = −20·log₁₀|Γ| dB"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/vswr": "VSWR, return loss and mismatch loss from Γ, load/source impedance, or forward/reflected power.",
            "GET /v1/power": "Reflected and transmitted power from forward power and a VSWR or Γ.",
            "GET /v1/fromvswr": "Reflection coefficient, return loss and power split from a VSWR figure."
        },
        "description": "VSWR and impedance-match calculator for RF: VSWR, return loss and mismatch loss from a reflection coefficient, impedances or power; plus the forward/reflected power split."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:12.014Z",
        "request_id": "b56ef0d1-e376-4d15-a158-6b3a843e850f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}