Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/photometry-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}