# Web Screenshot Capture API

> Web Screenshot Capture API is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Captures a screenshot of any URL and returns a base64-encoded image, with support for full-page capture

## Facts

- Endpoint: GET https://x402-gateway-production.up.railway.app/api/web/screenshot
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-5f32694c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zc33tiqd_7qktEHMcqTST

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 x402-gateway-production-up-railway-app-5f32694c
```

Example prompt: Take a full-page screenshot of https://example.com and give me the base64 image so I can review what it looks like right now.

## When to prefer this

Use this endpoint when you need a visual snapshot of a live webpage rendered as an image, especially when a base64-encoded output is required for downstream processing. Prefer this over HTML scraping when the goal is visual verification or archival rather than structured data extraction.

## Known failure modes

- URL is unreachable or returns an error (timeout or 4xx/5xx)
- Invalid or malformed URL input
- Page requires JavaScript-heavy rendering that times out
- Access blocked by target site (bot detection, CAPTCHA)
- Payment not completed or insufficient USDC balance

## How this service works

Capture a screenshot of any URL — returns base64-encoded image, supports full-page capture

## Output

Returns a base64-encoded image of the rendered webpage, either as a viewport screenshot or a full-page capture depending on 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "example": "https://example.com",
       "description": "URL to screenshot"
      },
      "fullPage": {
       "type": "boolean",
       "default": false,
       "description": "Capture full page"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-5f32694c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
