Skip to content
GET /v1/exit-pupil

Exit pupil

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/telescope-api

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

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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
}