/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/lighting-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lighting-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lighting-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Lumen-method estimate; target levels are typical guidance (EN 12464 / IES). Add room/utilisation factors for a full design.",
"service": "lighting",
"endpoints": {
"/v1/lux": "Convert between lux, footcandles and lumens over an area.",
"/v1/room": "Total lumens (and fixtures/watts) for a room from its area and a target lux or room type.",
"/v1/efficacy": "Convert between lumens, watts and luminous efficacy (lm/W), with lamp-type presets."
},
"bulb_types": [
"incandescent",
"halogen",
"cfl",
"fluorescent",
"led",
"hps",
"sodium"
],
"room_types": [
"living",
"lounge",
"bedroom",
"hallway",
"corridor",
"garage",
"closet",
"kitchen",
"bathroom",
"diningroom",
"laundry",
"stairs",
"office",
"study",
"classroom",
"retail",
"workshop",
"kitchencounter",
"warehouse",
"supermarket",
"drawingoffice",
"surgery",
"garageworkshop"
],
"description": "Lighting maths: lumens needed for a room, lux/footcandle conversion, and lumens↔watts via luminous efficacy."
},
"meta": {
"timestamp": "2026-06-03T17:41:55.239Z",
"request_id": "4b96a35e-f853-4b05-b7c2-6917d6127150"
},
"status": "ok",
"message": "Meta",
"success": true
}