/v1/earthbulge
Earth-curvature bulge
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}