Zum Inhalt springen
GET /v1/linkbudget

Link budget

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/pathloss-api/v1/linkbudget" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pathloss-api/v1/linkbudget", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pathloss-api/v1/linkbudget");
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/pathloss-api/v1/linkbudget",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "note": "Prx = Ptx + Gtx + Grx − path loss − losses (all in dB/dBm/dBi). Link margin = Prx − receiver sensitivity; aim for > 10 dB.",
        "inputs": {
            "losses": 2,
            "rx_gain": 5,
            "tx_gain": 5,
            "tx_power": 20,
            "path_loss": 100.0442
        },
        "link_ok": true,
        "eirp_dbm": 23,
        "link_margin_db": 17.9558,
        "sensitivity_dbm": -90,
        "received_power_dbm": -72.0442
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:11.454Z",
        "request_id": "447f6fda-7bce-4d11-b0ed-977be5836e86"
    },
    "status": "ok",
    "message": "Link budget",
    "success": true
}