# Screenshot-x402 Analyze Screenshot

> Screenshot-x402 Analyze Screenshot is a paid API for AI agents from screenshotx402.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-10).

Captures a webpage screenshot and runs a vision model to produce a natural-language description or analysis of the page content.

## Facts

- Endpoint: POST https://screenshotx402.com/tool/analyze_screenshot?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/screenshot-x402-analyze-screenshot-3cad7576
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9vC5A_6wEpsxTV_QtetL3

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 screenshot-x402-analyze-screenshot-3cad7576 -d '<json body>'
```

Example prompt: Screenshot the page at https://example.com at 1280x800 in dark mode and describe what you see in three short sentences — hide the cookie banner using '#cookie-notice' before capturing.

## When to prefer this

Choose this endpoint when you need both a visual capture of a webpage AND an immediate AI-generated textual interpretation of that capture in a single pay-per-request call with no API key setup. Ideal for agents that need to understand what a page looks like without storing or processing raw image bytes themselves. Prefer over plain screenshot endpoints when the downstream task requires natural language understanding of page content.

## Known failure modes

- Invalid or unreachable URL returns an error with no screenshot
- Vision model fails to process image, returning empty content array
- Viewport dimensions out of allowed range (100–3840 x 100–2160) cause validation error
- CSS selectors list exceeds 40 items, triggering schema validation failure
- Payment not completed via x402 protocol results in 402 Payment Required response
- Page takes too long to render, causing timeout with no result

## How this service works

Screenshot-x402 is a pay-per-request screenshot API for AI agents. No API keys, no subscriptions, x402 payments, Cloudflare Browser Rendering, optional vision.

## Output

A JSON object containing a 'content' array with a 'text' field holding the vision model's natural-language description of the captured page, plus a '_meta' object with render time in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Page to capture"
  },
  "width": {
   "type": "number",
   "default": 1920,
   "maximum": 3840,
   "minimum": 100,
   "description": "Viewport width"
  },
  "height": {
   "type": "number",
   "default": 1080,
   "maximum": 2160,
   "minimum": 100,
   "description": "Viewport height"
  },
  "prompt": {
   "type": "string",
   "default": "Describe this page in three short sentences.",
   "description": "Instruction for the vision model"
  },
  "fullPage": {
   "type": "boolean",
   "default": false,
   "description": "Full page capture"
  },
  "colorScheme": {
   "enum": [
    "light",
    "dark",
    "no-preference"
   ],
   "type": "string",
   "default": "no-preference",
   "description": "Emulates prefers-color-scheme before navigation"
  },
  "hideSelectors": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 500,
    "minLength": 1
   },
   "default": [],
   "maxItems": 40,
   "description": "CSS selectors to hide with display:none before capture"
  },
  "deviceScaleFactor": {
   "type": "number",
   "default": 1,
   "maximum": 3,
   "minimum": 1,
   "description": "Viewport pixel ratio (1=normal, 2=Retina-style sharpness)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "_meta": {
   "renderTimeMs": 2100
  },
  "content": [
   {
    "text": "The page features a product headline and a primary signup button in the header.",
    "type": "text"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/screenshot-x402-analyze-screenshot-3cad7576/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from screenshotx402.com](https://www.zero.xyz/host/screenshotx402.com/llms.txt)
