# Video & Timecode Calc – Resolution Info

> Video & Timecode Calc – Resolution Info is a paid API for AI agents from video-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns aspect ratio, megapixel count, common name, and uncompressed data rate for a given video frame size with configurable chroma subsampling, bit depth, and frame rate.

## Facts

- Endpoint: GET https://video-calc.x402tookit.com/resolution-info?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/video-timecode-calc-resolution-info-d71f29d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5REK2fxNOtJY4s97fgVzb

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 video-timecode-calc-resolution-info-d71f29d0
```

Example prompt: What's the aspect ratio, megapixel count, common name, and uncompressed data rate for a 3840x2160 frame at 24fps with 4:2:0 chroma subsampling and 10-bit depth?

## When to prefer this

Choose this endpoint when you need precise, authoritative calculations for video resolution metadata — aspect ratio, common name, megapixels, and uncompressed data rate — without implementing the math yourself. It is ideal for production planning, storage estimation, and camera spec lookups where parameters like chroma subsampling and bit depth matter.

## Known failure modes

- Missing required width or height query parameters returns an error
- Non-integer or negative pixel dimensions cause validation failure
- Unsupported chroma value (not 444, 422, or 420) may return an error or default
- Unsupported bit depth value may cause unexpected behavior
- Payment failure (402) if USDC payment is not included or insufficient

## How this service works

Aspect ratio, megapixels, common name and uncompressed data rate for a video frame size, chroma subsampling and fps.

## Output

A JSON object containing the aspect ratio string and decimal, megapixel count, pixel total, common resolution name, fps, bits per pixel, raw bits per frame, raw Mbps, raw MB/s, and raw GB/hour for the specified frame size and encoding parameters.

## 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": [
      "width",
      "height"
     ],
     "properties": {
      "fps": {
       "type": "number",
       "description": "Frames per second for the data rate (default 24)"
      },
      "width": {
       "type": "integer",
       "description": "Frame width in pixels"
      },
      "chroma": {
       "type": "string",
       "description": "444, 422 or 420 (default 420)"
      },
      "height": {
       "type": "integer",
       "description": "Frame height in pixels"
      },
      "bitDepth": {
       "type": "integer",
       "description": "Bits per sample: 8 (default), 10, 12 or 16"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "fps": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "width": {
       "type": [
        "null",
        "number"
       ]
      },
      "height": {
       "type": [
        "null",
        "number"
       ]
      },
      "pixels": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "commonName": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "megapixels": {
       "type": [
        "null",
        "number"
       ]
      },
      "notChecked": {
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/video-timecode-calc-resolution-info-d71f29d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from video-calc.x402tookit.com](https://www.zero.xyz/host/video-calc.x402tookit.com/llms.txt)
