Skip to content
GET /v1/earthbulge

Earth-curvature bulge

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/fresnel-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Earth bulge h = d1·d2/(12.75·k), k≈4/3 for standard atmosphere. Total clearance ≈ earth bulge + 60 % of the first Fresnel zone.",
        "inputs": {
            "k_factor": 1.333,
            "distance1_km": 5,
            "distance2_km": 5
        },
        "earth_bulge_m": 1.47096,
        "frequency_ghz": 2.4,
        "fresnel_radius_m": 17.67155,
        "total_clearance_m": 12.07389
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:10.763Z",
        "request_id": "415532f5-07b9-46cc-99d9-76ecdc720c0b"
    },
    "status": "ok",
    "message": "Earth bulge",
    "success": true
}