Zum Inhalt springen
GET /v1/beam

Beam propagation

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/laser-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/laser-api/v1/beam" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/laser-api/v1/beam", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/laser-api/v1/beam");
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/beam",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Gaussian beam: z_R = πw₀²/λ, θ = λ/(πw₀), w(z) = w₀√(1+(z/z_R)²). M² ≥ 1 scales divergence.",
        "inputs": {
            "m_squared": 1,
            "wavelength_nm": 1064,
            "waist_radius_mm": 1
        },
        "distance_m": 10,
        "beam_radius_mm": 3.531363854,
        "beam_diameter_mm": 7.062727709,
        "depth_of_focus_m": 5.905249349,
        "rayleigh_range_m": 2.952624674,
        "divergence_full_angle_deg": 0.038810066,
        "divergence_full_angle_mrad": 0.677363438,
        "divergence_half_angle_mrad": 0.338681719
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:03.487Z",
        "request_id": "82c2c0fb-8d80-4847-b30f-33c4a5eb0a3c"
    },
    "status": "ok",
    "message": "Beam propagation",
    "success": true
}