/v1/fromvswr
From a VSWR figure
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/vswr-api/v1/fromvswr" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vswr-api/v1/fromvswr", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vswr-api/v1/fromvswr");
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/fromvswr",
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)/(VSWR+1). A VSWR of 1 is a perfect match (no reflection).",
"vswr": 2,
"inputs": {
"vswr": 2
},
"return_loss_db": 9.5424,
"mismatch_loss_db": 0.51153,
"reflection_coefficient": 0.333333,
"power_reflected_percent": 11.1111,
"power_transmitted_percent": 88.8889
},
"meta": {
"timestamp": "2026-06-04T18:38:11.660Z",
"request_id": "b1af4af1-4304-40b6-a645-5a2fc8545c20"
},
"status": "ok",
"message": "From VSWR",
"success": true
}