Aller au contenu
GET /v1/vswr

VSWR & return loss

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/vswr" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vswr-api/v1/vswr", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vswr-api/v1/vswr");
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/vswr",
    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": {
        "note": "VSWR = (1+|Γ|)/(1−|Γ|). Γ = (ZL−Z0)/(ZL+Z0) = √(Pr/Pf). Return loss = −20·log₁₀|Γ| dB.",
        "vswr": 1.5,
        "inputs": {
            "from": "reflection_coefficient",
            "load_impedance": 75,
            "source_impedance": 50
        },
        "return_loss_db": 13.9794,
        "mismatch_loss_db": 0.17729,
        "reflection_coefficient": 0.2,
        "power_reflected_percent": 4,
        "power_transmitted_percent": 96
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:11.908Z",
        "request_id": "5fb0b477-8700-4679-8cae-00e8f8403867"
    },
    "status": "ok",
    "message": "VSWR",
    "success": true
}