/v1/object-size
Object size
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/angularsize-api/v1/object-size" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/angularsize-api/v1/object-size", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/angularsize-api/v1/object-size");
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/angularsize-api/v1/object-size",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Physical size d = 2·D·tan(δ/2). The diameter is in the same units as the distance.",
"size": 3474.19111839,
"inputs": {
"distance": 384400,
"angular_size_radians": 0.009037896643
}
},
"meta": {
"timestamp": "2026-06-05T11:30:24.515Z",
"request_id": "8dff9ca6-99f6-46e9-ae0b-ee27857828f4"
},
"status": "ok",
"message": "Object size",
"success": true
}