/v1/distance
Resolvable separation at a distance
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/resolution-api/v1/distance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/resolution-api/v1/distance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/resolution-api/v1/distance");
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/resolution-api/v1/distance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"formula": "s = θ·L = 1.22·λ·L/D (small-angle resolvable separation).",
"distance_m": 1000,
"wavelength_nm": 550,
"aperture_diameter_m": 0.1,
"angular_resolution_rad": 6.71e-6,
"resolvable_separation_m": 0.00671,
"resolvable_separation_mm": 6.71
},
"meta": {
"timestamp": "2026-06-04T10:18:43.294Z",
"request_id": "dae56398-d692-4f2b-b766-6f5497fc3e3a"
},
"status": "ok",
"message": "Resolvable separation at a distance",
"success": true
}