# Photography Field of View Calculator

> Photography Field of View Calculator is a paid API for AI agents from photo-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates horizontal, vertical, and diagonal angle of view for a given focal length and sensor size, plus the width and height of scene covered at a specified distance.

## Facts

- Endpoint: GET https://photo-calc.x402tookit.com/field-of-view?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/photography-field-of-view-calculator-5bb2c7d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jsG7vE8QoAkcdO_a67lb_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability photography-field-of-view-calculator-5bb2c7d5
```

Example prompt: What's the horizontal, vertical, and diagonal angle of view for a 35mm lens on an APS-C sensor, and how wide and tall a scene does it cover at 5 metres?

## When to prefer this

Choose this endpoint when you need precise optical field-of-view calculations for a specific lens focal length and camera sensor combination, especially when you also want to know the physical scene coverage at a given distance. Prefer this over general photography references when you need programmatic, numerical FOV values across multiple sensor formats (full-frame, APS-C, APS-C Canon, APS-H, micro four thirds, 1-inch, medium format 44x33).

## Known failure modes

- Missing required focalMm parameter returns an error
- Invalid sensor type string not matching supported enum values causes failure
- Negative or zero focalMm or distanceM values may produce unexpected results
- Service unavailable or network timeout for transient failures
- Payment failure for x402 micropayment if USDC balance insufficient

## How this service works

Horizontal, vertical and diagonal angle of view for a lens and sensor, and the width and height of scene covered at a distance.

## Output

Returns horizontal, vertical, and diagonal angles of view in degrees for the specified focal length and sensor combination, plus the physical width and height of the scene covered at the given distance in metres. Also includes the sensor's physical dimensions (width, height, diagonal in mm) and a summary string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "focalMm"
     ],
     "properties": {
      "sensor": {
       "type": "string",
       "description": "full-frame (default), aps-c, aps-c-canon, aps-h, micro-four-thirds, 1-inch or medium-format-44x33"
      },
      "focalMm": {
       "type": "number",
       "description": "Focal length in mm"
      },
      "distanceM": {
       "type": "number",
       "description": "Subject distance in metres to get scene size"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "class": {
       "type": [
        "null",
        "string"
       ]
      },
      "sensor": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "focalMm": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sensorMm": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "width": {
         "type": [
          "null",
          "number"
         ]
        },
        "height": {
         "type": [
          "null",
          "number"
         ]
        },
        "diagonal": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/photography-field-of-view-calculator-5bb2c7d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from photo-calc.x402tookit.com](https://www.zero.xyz/host/photo-calc.x402tookit.com/llms.txt)
