/v1/focus
Focused spot
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}