/v1/mirror
Mirror equation
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}