/v1/efficacy
Lumens / watts / efficacy
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/lighting-api/v1/efficacy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lighting-api/v1/efficacy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lighting-api/v1/efficacy");
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/lighting-api/v1/efficacy",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Luminous efficacy (lm/W) relates light output to power. Presets: incandescent 14, halogen 20, CFL 60, fluorescent 80, LED 90.",
"input": {
"watts": null,
"lumens": 800,
"efficacy": 90,
"bulb_type": "led"
},
"watts": 8.89,
"lumens": 800,
"efficacy_lm_per_w": 90
},
"meta": {
"timestamp": "2026-06-03T17:41:54.976Z",
"request_id": "d984cdaa-8a91-4936-8db7-d10c68c4d598"
},
"status": "ok",
"message": "Lumens / watts / efficacy",
"success": true
}