/v1/wien
Wien's displacement law
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}