Naar de inhoud
GET /v1/irradiance

Irradiance

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/laser-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}