/v1/exit-pupil
Exit pupil
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/telescope-api/v1/exit-pupil" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/telescope-api/v1/exit-pupil", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/telescope-api/v1/exit-pupil");
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/telescope-api/v1/exit-pupil",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Exit pupil = aperture ÷ magnification — the width of the beam of light leaving the eyepiece. Match it to the job: a big 4–7 mm exit pupil gives a bright, wide view for nebulae and the Milky Way (but beyond ~7 mm, more than a dark-adapted eye, light is wasted), while a small ~0.5–2 mm exit pupil at high power suits the Moon, planets and double stars. The exit pupil also sets the image brightness per unit area.",
"inputs": {
"aperture_mm": 200,
"magnification": 100
},
"exit_pupil_mm": 2
},
"meta": {
"timestamp": "2026-06-07T08:18:03.694Z",
"request_id": "c25aba4c-d2fd-4795-a742-8ae6390d2668"
},
"status": "ok",
"message": "Exit pupil",
"success": true
}