Zum Inhalt springen
GET /v1/vswr

VSWR & return loss

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/vswr-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}