Skip to content
GET /v1/fov

Field of view from distance & size

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

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

Get an API key

Code snippets

curl "https://api.oanor.com/viewdistance-api/v1/fov" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/viewdistance-api/v1/fov", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/viewdistance-api/v1/fov");
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/viewdistance-api/v1/fov",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

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

{
    "data": {
        "note": "Horizontal field of view = 2 · atan(width / (2 · distance)). SMPTE recommends ≥30°, THX 36–40°.",
        "assessment": "Within the SMPTE–THX recommended range.",
        "aspect_ratio": "16:9",
        "diagonal_inches": 65,
        "distance_inches": 105,
        "horizontal_fov_degrees": 30.2
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:10.542Z",
        "request_id": "52228841-62da-466d-a842-38c149c2619b"
    },
    "status": "ok",
    "message": "Field of view from distance and screen size",
    "success": true
}