Zum Inhalt springen
GET /v1/fspl

Free-space path loss

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

Beispiel-Response

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

{
    "data": {
        "note": "FSPL(dB) = 20·log₁₀(d_km) + 20·log₁₀(f_MHz) + 32.44. Free-space, line-of-sight only — real paths add obstruction and multipath loss.",
        "inputs": {
            "distance_km": 1,
            "frequency_mhz": 2400
        },
        "fspl_db": 100.0442,
        "wavelength_m": 0.124914
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:11.355Z",
        "request_id": "e4df9836-7348-44b3-b3d3-6cf7b2241604"
    },
    "status": "ok",
    "message": "Free-space path loss",
    "success": true
}