Zum Inhalt springen
GET /v1/wien

Wien's displacement law

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "formula": "λmax = b/T (b = 2.8978×10⁻³ m·K); f_peak = T·5.879×10¹⁰ Hz/K.",
        "spectrum": "visible",
        "temperature_k": 5778,
        "wien_constant": 0.002897771955,
        "peak_frequency_hz": 339684330239460,
        "peak_wavelength_m": 5.01518e-7,
        "peak_wavelength_nm": 501.518165,
        "peak_wavelength_um": 0.50151816
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:47.983Z",
        "request_id": "b5620e4e-d39c-4eb7-bed1-c93ac4517d8e"
    },
    "status": "ok",
    "message": "Wien's displacement law",
    "success": true
}