Naar de inhoud
GET /v1/mirror

Mirror equation

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/lens-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/lens-api/v1/mirror" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lens-api/v1/mirror", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lens-api/v1/mirror");
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/lens-api/v1/mirror",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Real images form in front of the mirror (di > 0); virtual images behind it.",
        "formula": "1/f = 1/do + 1/di; f = R/2; m = −di/do.",
        "image_size": "reduced",
        "image_type": "real",
        "mirror_type": "concave (converging)",
        "focal_length": 10,
        "magnification": -0.5,
        "image_distance": 15,
        "object_distance": 30,
        "image_orientation": "inverted",
        "radius_of_curvature": 20
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:47.068Z",
        "request_id": "01e3a1b2-1a11-48f4-b4bb-b967a4e27369"
    },
    "status": "ok",
    "message": "Mirror equation",
    "success": true
}