Vai al contenuto
GET /v1/midpoint

Widest radius & clearance

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}