/v1/efficacy
Lumens / watts / efficacy
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}