Zum Inhalt springen
GET /v1/midpoint

Widest radius & clearance

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "The Fresnel zone is widest at the midpoint. Plan antenna heights so the line of sight clears obstacles by ≥ 60 % of this radius.",
        "inputs": {
            "zone": 1,
            "distance_km": 10,
            "frequency_ghz": 2.4
        },
        "wavelength_m": 0.124914,
        "clearance_60pct_m": 10.60293,
        "max_fresnel_radius_m": 17.67155
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:10.851Z",
        "request_id": "fdc99631-6f48-45df-b97f-60a7d6027b13"
    },
    "status": "ok",
    "message": "Midpoint clearance",
    "success": true
}