/v1/meta
Spec
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/photometry-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/photometry-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/photometry-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/photometry-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Distances in metres, angles in degrees. Photometric (perceived-light) quantities; for radiometric watts use a radiometry/Wien API and for sound levels a sound-level API.",
"units": {
"flux": "lumen (lm)",
"intensity": "candela (cd)",
"illuminance": "lux (lx = lm/m²)",
"solid_angle": "steradian (sr)"
},
"service": "photometry-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/illuminance": "Illuminance E = I·cosθ/d² from intensity and distance.",
"GET /v1/flux-intensity": "Convert luminous flux ↔ intensity via beam/solid angle.",
"GET /v1/inverse-square": "Scale illuminance to a new distance."
},
"description": "Photometry / lighting: illuminance (lux), the inverse-square law, and luminous flux (lm) ↔ intensity (cd) via solid angle."
},
"meta": {
"timestamp": "2026-06-05T19:50:24.402Z",
"request_id": "6078b875-abdb-465f-b65b-4a1d0a793bb2"
},
"status": "ok",
"message": "Meta",
"success": true
}