Vai al contenuto
GET /v1/fromvswr

From a VSWR figure

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/vswr-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

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