Zum Inhalt springen
GET /v1/meta

Spec

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

Beispiel-Response

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

{
    "data": {
        "notes": "Distances in km, frequency in GHz, radii in m. k-factor ≈ 4/3 for a standard atmosphere. Keep ≥ 60 % of the first zone clear for a near-free-space link.",
        "service": "fresnel-api",
        "formulae": {
            "radius": "rₙ = √(n·λ·d1·d2/(d1+d2))",
            "clearance": "60 % of the first Fresnel zone",
            "earth_bulge": "h = d1·d2/(12.75·k)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/radius": "Fresnel-zone radius at a point a distance d1/d2 from the ends.",
            "GET /v1/midpoint": "Maximum Fresnel radius at the path midpoint and 60% clearance.",
            "GET /v1/earthbulge": "Earth-curvature bulge and total obstruction clearance for a path."
        },
        "description": "Fresnel-zone and line-of-sight calculator for radio links: zone radius at a point, the widest (midpoint) radius with 60% clearance, and earth-curvature bulge."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:11.094Z",
        "request_id": "ef7e2325-a46e-412c-81a9-ef0b2fdcf194"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}