/v1/retina
Retina / viewing-distance analysis
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/ppi-api/v1/retina" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ppi-api/v1/retina", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ppi-api/v1/retina");
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/ppi-api/v1/retina",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "‘Retina’ ≈ pixels indistinguishable at the viewing distance (≈60 pixels/degree for 20/20 vision). At or beyond retina_distance the display is retina.",
"input": {
"ppi": 326,
"distance_cm": 25.4,
"distance_inches": 10
},
"is_retina": false,
"pixels_per_degree": 56.9,
"retina_distance_cm": 26.8,
"retina_threshold_ppd": 60,
"retina_distance_inches": 10.55
},
"meta": {
"timestamp": "2026-06-03T17:41:56.024Z",
"request_id": "af37958d-786f-41c4-8a41-30b6e3a8df98"
},
"status": "ok",
"message": "Retina / viewing distance",
"success": true
}