# GEDX402 Browser Snapshot

> GEDX402 Browser Snapshot is a paid API for AI agents from ged-x402-browser.jvalamis.workers.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Takes a full DOM snapshot (HTML) of a given URL or raw HTML by rendering it in a headless browser, payable with USDC via x402 protocol

## Facts

- Endpoint: GET https://ged-x402-browser.jvalamis.workers.dev/v1/browser/snapshot
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-browser-snapshot-2bd30966
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tN0h6KU9zDgKCMfV_5coh

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 gedx402-browser-snapshot-2bd30966
```

Example prompt: Can you load https://example.com in a headless browser and give me the fully rendered HTML after all JavaScript has run? Use a desktop viewport of 1280x800.

## When to prefer this

Choose this endpoint when you need the fully JavaScript-rendered DOM of a webpage (not just static HTML), especially for SPAs or pages that require JS execution. It is particularly useful when you don't want to manage API keys and prefer paying per-call with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Payment not fulfilled (402) if USDC payment is not sent via x402 protocol
- Timeout if the page takes too long to load or networkidle is never reached
- Malformed input schema (e.g. missing both url and html) results in a 4xx error
- Unsupported viewport or pdfOptions may cause rendering failures

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

Returns a JSON object containing the fully rendered HTML of the requested page (e.g. {"html": "<html>...</html>"}), captured after the page has been loaded and JavaScript executed in a real browser environment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "html": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  },
  "elements": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "selector": {
   "type": "string"
  },
  "viewport": {
   "type": "object",
   "additionalProperties": true
  },
  "pdfOptions": {
   "type": "object",
   "additionalProperties": true
  },
  "gotoOptions": {
   "type": "object",
   "additionalProperties": true
  },
  "response_format": {
   "type": "object",
   "additionalProperties": true
  },
  "screenshotOptions": {
   "type": "object",
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "html": "<html>...</html>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-browser-snapshot-2bd30966/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-browser.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-browser.jvalamis.workers.dev/llms.txt)
