/v1/irradiance
Irradiance
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/irradiance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/laser-api/v1/irradiance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/laser-api/v1/irradiance");
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/irradiance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Average irradiance = P/area over the 1/e² spot; a Gaussian's on-axis peak is twice the average.",
"inputs": {
"power_w": 1,
"radius_mm": 1
},
"beam_area_m2": 3.141593e-6,
"beam_area_cm2": 0.031415927,
"peak_irradiance_w_cm2": 63.661977237,
"average_irradiance_w_m2": 318309.886184,
"average_irradiance_w_cm2": 31.830988618
},
"meta": {
"timestamp": "2026-06-05T03:09:03.671Z",
"request_id": "325fdc0a-cc00-4095-a4be-ee83e98917f0"
},
"status": "ok",
"message": "Irradiance",
"success": true
}