/v1/object-height
Object height for a target range
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/horizon-api/v1/object-height" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/horizon-api/v1/object-height", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/horizon-api/v1/object-height");
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/horizon-api/v1/object-height",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Turning the geographic-range formula around: the object height needed to be seen at a target range = (range ÷ 1.169 − √eye_height)², in feet. It is how tall a tower, light or headland must stand to break the horizon at the distance you want — or, the other way, how close you must be before a known landmark of a given height appears.",
"inputs": {
"range_nm": 15.2,
"eye_height_ft": 9
},
"object_height_ft": 100.05
},
"meta": {
"timestamp": "2026-06-07T08:17:58.683Z",
"request_id": "17f0caa9-ae57-4285-966c-23e871e0eb23"
},
"status": "ok",
"message": "Object height",
"success": true
}