# Mekler AI Web Screenshot Capture

> Mekler AI Web Screenshot Capture is a paid API for AI agents from api.mekler.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Captures a public HTTPS webpage as a PNG or JPEG screenshot at a specified desktop or mobile viewport, returning base64-encoded image bytes, dimensions, final URL, capture timestamp, and SHA-256 hash.

## Facts

- Endpoint: POST https://api.mekler.ai/v1/web/pages/capture-screenshot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mekler-ai-web-screenshot-capture-725c58a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LjlQ2OWm5USt1-gbnARSe

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 mekler-ai-web-screenshot-capture-725c58a4 -d '<json body>'
```

Example prompt: Take a full-page PNG screenshot of https://example.com at a 1280x900 desktop viewport and give me the image along with its SHA-256 hash.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use webpage screenshot with verified integrity (SHA-256), a known per-call price of $0.01 USDC, and no setup or authentication required. Prefer it for public HTTPS pages where you need image output rather than extracted text or structured data. It is especially suitable when you need a tamper-evident snapshot (SHA-256 + 30-day proof recovery) for archival or audit purposes. If you need HTML extraction, link crawling, or security header inspection, use other Mekler AI endpoints instead.

## Known failure modes

- URL is not publicly accessible or returns a non-2xx status — capture fails, no charge
- Page is blocked by login wall or CAPTCHA — capture fails, no charge
- Rendered page exceeds size limits — oversized capture is uncharged
- Invalid URL format or non-HTTPS URL — request rejected with validation error
- request_id does not match pattern (16-64 alphanumeric/dash/underscore chars) — rejected
- Network timeout or upstream unreachability — capture fails, no charge

## How this service works

Capture a public HTTPS webpage as PNG or JPEG at a chosen desktop/mobile viewport, optionally its bounded full height. Return image bytes, dimensions, final URL, capture time and SHA-256. 0.01 USDC per successful capture; blocked, incomplete or oversized captures are uncharged. No login, CAPTCHA bypass or arbitrary scripting. Private original-proof recovery lasts 30 days.

## Output

Returns a JSON object containing: base64-encoded image bytes (image_base64), image dimensions (width, height), MIME type, the final URL after any redirects (final_url), page title, capture timestamp (captured_at), SHA-256 hash of the image (image_sha256), viewport object, and full_page flag. The image can be decoded and used directly as PNG or JPEG.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "pattern": "^https://",
   "maxLength": 2048
  },
  "width": {
   "type": "integer",
   "default": 1280,
   "maximum": 1920,
   "minimum": 320
  },
  "format": {
   "enum": [
    "png",
    "jpeg"
   ],
   "type": "string",
   "default": "png"
  },
  "height": {
   "type": "integer",
   "default": 900,
   "maximum": 2160,
   "minimum": 240
  },
  "full_page": {
   "type": "boolean",
   "default": false
  },
  "request_id": {
   "type": "string",
   "pattern": "^[A-Za-z0-9_-]{16,64}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Mekler AI",
  "width": 1280,
  "height": 900,
  "status": "ok",
  "viewport": {
   "width": 1280,
   "height": 900
  },
  "final_url": "https://mekler.ai/",
  "full_page": false,
  "mime_type": "image/png",
  "captured_at": "2026-10-28T00:00:00+00:00",
  "image_bytes": 68,
  "limitations": [
   "Prepared synthetic response; image bytes are a one-pixel placeholder. Actual captures contain the requested page dimensions."
  ],
  "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+jZ3sAAAAASUVORK5CYII=",
  "image_sha256": "f0dd5aec26d234e99022c4a7b66538ec4650779a5ad278c8bb31c31bab09fc71"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mekler-ai-web-screenshot-capture-725c58a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mekler.ai](https://www.zero.xyz/host/api.mekler.ai/llms.txt)
