# agdata Screenshot API

> agdata Screenshot API is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.01897/call, status unknown (last checked 2026-10-15).

Captures a screenshot of any web page and returns it as a base64-encoded image or PDF, with configurable viewport, device emulation, and capture timing

## Facts

- Endpoint: POST https://agdata.shveik.dev/mpp/screenshot?utm_source=zero.xyz
- Price: $0.01897/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-screenshot-api-767f49a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LqpkWcPaweC6JHqPWpm-1

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 agdata-screenshot-api-767f49a9 -d '<json body>'
```

Example prompt: Take a full-page desktop screenshot of https://example.com at 1920x1080 and give me the image as a JPEG — use a 2000ms delay to let it fully load.

## When to prefer this

Choose this endpoint when you need a visual capture of a webpage — especially for AI vision pipelines, site monitoring, client previews, or archiving — and you want to avoid proxy setup, API key registration, or per-seat billing. It supports device emulation (desktop, mobile, tablet), multiple formats (JPEG, PNG, WebP, PDF), full-page or viewport capture, and waits for specific elements, making it more capable than basic screenshot APIs. Pay per call with stablecoins via x402 or MPP.

## Known failure modes

- URL is unreachable or returns an error — endpoint may return an error or empty capture
- Page takes longer than delayMs to load, resulting in incomplete render
- Selector specified in waitForSelector never appears — capture may timeout
- Invalid or unsupported URL format — schema validation error
- Width or height outside allowed bounds (320-1920 / 240-1200) — validation rejection
- PDF format requested but page has complex rendering — may produce incomplete output

## How this service works

Unblocking and fresh web data for AI agents. Social, maps, search, news, jobs and reviews as structured data, and unblocking for any other page, as Markdown or HTML. Pay per call in stablecoins over x402 or MPP, with no API key, no account and no proxy setup. (x402 on Base and Polygon (plus Solana on most routes) or MPP on Base)

## Output

A JSON object containing the screenshot as a base64-encoded image string (imageBase64), the image format and content type, the captured dimensions (width, height), the final URL after any redirects, a timestamp of when the capture occurred (capturedAt), whether it was a full-page capture, and the size of the image in bytes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048
  },
  "width": {
   "type": "integer",
   "maximum": 1920,
   "minimum": 320
  },
  "device": {
   "enum": [
    "desktop",
    "desktop_hd",
    "mobile",
    "tablet"
   ],
   "type": "string"
  },
  "format": {
   "enum": [
    "jpeg",
    "png",
    "webp",
    "pdf"
   ],
   "type": "string"
  },
  "height": {
   "type": "integer",
   "maximum": 1200,
   "minimum": 240
  },
  "delayMs": {
   "type": "integer",
   "maximum": 5000,
   "minimum": 0
  },
  "fullPage": {
   "type": "boolean"
  },
  "selector": {
   "type": "string",
   "maxLength": 200
  },
  "colorScheme": {
   "enum": [
    "light",
    "dark"
   ],
   "type": "string"
  },
  "waitForSelector": {
   "type": "string",
   "maxLength": 200
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 66615,
  "width": 1920,
  "format": "jpeg",
  "height": 1080,
  "finalUrl": "https://…",
  "fullPage": false,
  "capturedAt": "2026-10-…",
  "contentType": "image/jp…",
  "imageBase64": "/9j/4AAQ…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-screenshot-api-767f49a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
