/v1/focus
Focused spot
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/laser-api/v1/focus" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/laser-api/v1/focus", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/laser-api/v1/focus");
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/laser-api/v1/focus",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Diffraction-limited focal spot: w_f = λ·f/(π·w_in). A bigger input beam or shorter focal length gives a smaller spot.",
"inputs": {
"wavelength_nm": 1064,
"focal_length_mm": 100,
"input_radius_mm": 2
},
"f_number": 25,
"depth_of_focus_um": 1693.408594,
"focused_radius_um": 16.934086,
"rayleigh_range_um": 846.704297,
"focused_diameter_um": 33.868172
},
"meta": {
"timestamp": "2026-06-05T03:09:03.575Z",
"request_id": "5a8341f3-fcc7-4374-a1fc-dc0bc12e7dd0"
},
"status": "ok",
"message": "Focused spot",
"success": true
}