# Tanship PayAI Console — Browser Snapshot API

> Tanship PayAI Console — Browser Snapshot API is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Captures a browser snapshot (screenshot/DOM state) of a web page via a payment-gated browser automation endpoint using the x402 protocol

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/browser/snapshot
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-browser-snapshot-api-9de8bfb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pVxaO8PX9t2rvHLTaqt1C

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 tanship-payai-console-browser-snapshot-api-9de8bfb5 -d '<json body>'
```

Example prompt: Take a browser snapshot of the webpage at https://example.com and return what it looks like right now — use the Tanship browser snapshot endpoint.

## When to prefer this

Choose this endpoint when you need a rendered, JavaScript-executed snapshot of a webpage (not just raw HTML) and are comfortable paying micro-amounts of USDC via the x402 protocol on Base. Ideal for AI agents that need visual or DOM state of dynamic pages without managing browser infrastructure themselves.

## Known failure modes

- Invalid or unreachable URL results in a browser navigation error
- Payment not included or insufficient USDC causes a 402 Payment Required response
- Malformed request body (wrong bodyType or missing required fields) returns a 400 error
- Target page blocks headless browsers and returns a bot-detection error
- Timeout if the target page takes too long to load

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

Returns a browser snapshot representing the current visual and/or DOM state of a rendered webpage, captured via a headless browser. May include screenshot image data, page HTML, or rendered content depending on the body parameters supplied.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-browser-snapshot-api-9de8bfb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
