# FastAF Web Page Screenshot

> FastAF Web Page Screenshot is a paid API for AI agents from api.fastaf.co, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Captures a screenshot of any public web page as a PNG, JPG, or WebP image, with options for full-page capture, viewport size, and render readiness.

## Facts

- Endpoint: GET https://api.fastaf.co/x402/v1/screenshot?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastaf-web-page-screenshot-99564786
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-dEoD-5bdvEEsdoSpNOcf

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 fastaf-web-page-screenshot-99564786
```

Example prompt: Can you take a full-page screenshot of https://example.com and give me the image in PNG format at 1280px wide?

## When to prefer this

Use this endpoint when you need a pixel-accurate visual capture of a public web page — for auditing layouts, generating thumbnails, archiving visual state, or verifying a deployment. It supports configurable viewport size, image format (PNG/JPG/WebP), quality, and full-page capture. Prefer it over HTML-extraction endpoints when the visual appearance matters, not just the text content.

## Known failure modes

- Private, internal, or login-gated URLs are refused and return an error
- Invalid or malformed URLs cause a rejection without charge
- Network timeouts or unreachable hosts result in a failed (uncharged) request
- wait_until=networkidle may time out on pages with persistent background requests
- Very tall full-page captures may hit size or memory limits

## How this service works

Web page screenshot API for AI agents: capture a website URL as PNG, JPEG or WebP image bytes for visual inspection and page archiving. Supports full-page capture, viewport dimensions and load readiness; the discovery example is a base64-encoded PNG, not a JSON response. Provided by FastAF Website Screenshots. Price: $0.005000 USDC per successful call.

## Output

Raw binary image bytes (PNG, JPG, or WebP depending on the format parameter) representing a browser-rendered screenshot of the requested URL. The image reflects the page at the moment of capture, rendered to the specified viewport dimensions, with optional full-page scroll capture.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "title": "FastAF Website Screenshots",
 "$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",
     "examples": [
      {
       "url": "https://example.com/",
       "format": "png",
       "wait_until": "load"
      }
     ],
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "pattern": "^https?://",
       "examples": [
        "https://example.com/"
       ],
       "description": "Required public HTTP(S) page URL to capture in a browser. Private/network-internal targets and login paths are refused. No default. No option surcharge; 5 credits per successful request."
      },
      "width": {
       "type": "string",
       "maxLength": 8192,
       "description": "Browser viewport width in CSS pixels, supplied as a positive integer string, e.g. 1280. Omitted: upstream viewport default; FastAF sets no fixed width. No option surcharge; 5 credits per successful request."
      },
      "format": {
       "enum": [
        "png",
        "jpg",
        "webp"
       ],
       "type": "string",
       "default": "png",
       "examples": [
        "png"
       ],
       "description": "Image encoding: png (default), jpg or webp. Response contains image bytes, not JSON or base64 text. No option surcharge; 5 credits per successful request."
      },
      "height": {
       "type": "string",
       "maxLength": 8192,
       "description": "Browser viewport height in CSS pixels, supplied as a positive integer string, e.g. 720. Omitted: upstream viewport default; fullPage may produce a taller image. No option surcharge; 5 credits per successful request."
      },
      "quality": {
       "type": "integer",
       "default": 80,
       "maximum": 100,
       "minimum": 0,
       "description": "Image quality, integer 0-100; default 80. Applies to lossy jpg/webp encoding; PNG is lossless. No option surcharge; 5 credits per successful request."
      },
      "fullPage": {
       "type": "boolean",
       "description": "Capture the entire scrollable page when true, or only the viewport when false; boolean, default viewport-only 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "binary",
 "format": "base64",
 "example": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVR4nGNgAAIAAAUAAXpeqz8AAAAASUVORK5CYII="
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastaf-web-page-screenshot-99564786/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastaf.co](https://www.zero.xyz/host/api.fastaf.co/llms.txt)
