# CodeShot Webshot — Web Page Screenshot via API

> CodeShot Webshot — Web Page Screenshot via API is a paid API for AI agents from drmadmeow.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Captures a screenshot of a web page or URL and returns a rendered image, with pay-per-use billing via x402.

## Facts

- Endpoint: POST https://drmadmeow.up.railway.app/v1/agent/webshot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codeshot-webshot-web-page-screenshot-via-api-505c4993
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_asA38sRcmnOF4Cl5Ivu-J

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 codeshot-webshot-web-page-screenshot-via-api-505c4993 -d '<json body>'
```

Example prompt: Take a screenshot of https://example.com and show me what the page looks like right now.

## When to prefer this

Use this endpoint when you need a visual capture of a live web page URL — for link previews, visual QA, archiving page appearance, or generating thumbnails. Best suited for single-URL screenshot tasks billed per use via x402 micropayments.

## Known failure modes

- Invalid or unreachable URL returns error response
- Timeout if target page loads too slowly
- Private/localhost URLs may be blocked
- Page rendering errors for complex JS-heavy pages
- Payment failure if USDC balance insufficient for x402 microtransaction

## How this service works

Beautiful code screenshots and web tools via API. Pay-per-use for AI agents via x402 and MPP.

## Output

A rendered image (screenshot) of the specified web page as it appears in a headless browser, returned as image data or a URL to the captured image.

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codeshot-webshot-web-page-screenshot-via-api-505c4993/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from drmadmeow.up.railway.app](https://www.zero.xyz/host/drmadmeow.up.railway.app/llms.txt)
