# OnlyBots Screenshot API

> OnlyBots Screenshot API is a paid API for AI agents from x402.onlybots.shop, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Takes a screenshot of any web page URL and returns an image, with options for full-page or viewport-only capture and custom viewport width

## Facts

- Endpoint: GET https://x402.onlybots.shop/shot
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onlybots-screenshot-api-7b1b4362
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Ta4_2h6xtJXJWua0aSDv

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 onlybots-screenshot-api-7b1b4362
```

Example prompt: Can you take a full-page screenshot of https://stripe.com/pricing at 1440px wide and show me what it looks like?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use screenshot of any public web URL without setting up a headless browser or managing browser infrastructure. It is ideal for AI agents that need visual captures of web pages on demand, billed per call at $0.004 USDC with no account registration required. Prefer this over self-hosted solutions when you want zero setup and metered billing.

## Known failure modes

- URL is unreachable or returns an error — screenshot may fail or return a blank/error page
- Invalid or out-of-range viewport width (must be 320-1920px) — may return an error or default
- URL is a non-HTTP resource (e.g. file://, ftp://) — not supported by the http-type input
- Page requires authentication or blocks headless browsers — rendered content may be incomplete
- Payment failure via x402/USDC on Base — request will return a 402 Payment Required before executing

## How this service works

OnlyBots paid endpoints: web reader, PDF reader, screenshots. x402, USDC on Base, no accounts.

## Output

Returns a screenshot image of the requested web page, either as a viewport-sized capture or a full-page scrolled capture, rendered at the specified width. The image reflects the live, rendered state of the page at the time of the request.

## 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",
       "description": "URL of the web page to screenshot"
      },
      "full": {
       "type": "string",
       "description": "1 = full-page screenshot (default: viewport only)"
      },
      "width": {
       "type": "string",
       "description": "viewport width in px, 320-1920 (default 1280)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "body": "<PNG bytes, 1280x800 viewport or full page>",
  "content-type": "image/png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onlybots-screenshot-api-7b1b4362/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.onlybots.shop](https://www.zero.xyz/host/x402.onlybots.shop/llms.txt)
