Viewing distance from screen size
API · /viewdistance-api
Viewing Distance API
TV and projector viewing-distance maths as an API, computed locally and deterministically. The distance endpoint takes a screen diagonal (inches or centimetres) and aspect ratio and returns the screen width and height and the recommended seating distance for each standard — SMPTE's 30° minimum viewing angle (the farthest comfortable seat), THX's 36° recommendation and THX's 40° maximum (the closest) — in inches, feet, centimetres and metres, plus an overall recommended range. Pass a resolution (720p, 1080p, 1440p, 4K or 8K) and it also gives the pixel-acuity distance, the point beyond which a 20/20 viewer can no longer resolve individual pixels, so moving closer stops adding detail. The screensize endpoint reverses it: from a seating distance it recommends the screen diagonal for each standard. The fov endpoint gives the horizontal field of view for a screen at a distance, with a verdict on whether it falls in the recommended range. The geometry is exact: width = diagonal × aspect-width / hypot(aspect), and distance = (width/2) / tan(angle/2). Everything is computed locally and deterministically, so it is instant and private. Ideal for home-theatre and AV apps, TV and monitor retail tools, room and seating planners, and AV-installer calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is viewing-distance geometry; for pixel density (PPI) from a resolution use a PPI API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 81 ms
- Server probes · 24h
- Subscribers
- 3,722
- active
- Total calls
- 44
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 13,235 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 13,235 calls/month
- 2 req/sec
- Distance + screen size + FOV
- No credit card
Starter
€14.75 /month
- 22,850 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 22.85k calls/month
- 8 req/sec
- SMPTE & THX, pixel acuity
- Email support
Pro
€34.65 /month
- 278,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 278.5k calls/month
- 20 req/sec
- Home-theatre / AV pipelines
- Priority support
Mega
€72.65 /month
- 1,435,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.435M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Star Trek API
The Star Trek universe as an API, powered by the open STAPI database. Search characters by name (e.g. Picard) or pull full detail by uid — species, titles, occupations, the actors who played them and their Starfleet organizations. Look up the television series (e.g. Voyager → 7 seasons, episode count, production years and original broadcaster), and search the spacecraft of the franchise (e.g. Enterprise) for their registry, class, status and operator. Across The Original Series, The Next Generation, Deep Space Nine, Voyager and beyond. Ideal for fan sites, trivia and quiz games, wikis, Discord bots and any Star Trek app.
api.oanor.com/startrek-api
Rick and Morty API
The Rick and Morty universe as an API — every character, location and episode from the show. Look up a character by id or search and filter the roster by name, status (alive, dead, unknown), species, type and gender (e.g. all living Mortys), browse locations by name, type and dimension, or pull episodes by name or episode code (e.g. S03E07 → The Ricklantis Mixup). Each character carries status, species, origin and last-known location, episode appearances and a portrait; locations carry their type and dimension; episodes carry the air date and cast size. Backed by the open rickandmortyapi.com dataset. Ideal for fan sites, trivia and quiz games, Discord bots, learning projects and any Rick and Morty app.
api.oanor.com/rickandmorty-api
Movies & TV API
Search TV shows and movies, then fetch full details (genres, rating, network, summary, IMDb id, artwork), the complete episode guide and the cast for any title. Powered by TVMaze.
api.oanor.com/movies-api
IMDB API
18 endpoints for live IMDB data — title + name search, detail, cast, known-for, ID/URL helpers.
api.oanor.com/imdb-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Viewing Distance API?
What's the rate limit for Viewing Distance API?
How much does Viewing Distance API cost?
Can I cancel my subscription anytime?
Is Viewing Distance API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/viewdistance-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/viewdistance-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/viewdistance-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/viewdistance-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.