# Tanship PayAI Console — Browser Scrape (x402)

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

Scrapes web page content via a payment-gated browser automation endpoint using the x402 micropayment protocol on Base/USDC

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/browser/scrape
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-browser-scrape-x402-b9698702
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M9ouNC5aK7BgxO5hUx-k0

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-scrape-x402-b9698702 -d '<json body>'
```

Example prompt: Scrape the content of this page for me — can you send a POST request to the browser scrape endpoint with JSON body to fetch and return what's on that URL?

## When to prefer this

Choose this endpoint when you need to scrape dynamically rendered or JavaScript-heavy web pages that plain HTTP GET requests cannot handle, and when you want pay-per-use pricing via USDC micropayments rather than a subscription. Ideal for AI agents that need ad-hoc browser-level access without managing their own headless browser infrastructure.

## Known failure modes

- Target URL is unreachable or returns an error — scrape fails with upstream HTTP error
- JavaScript rendering timeout — dynamic content not fully loaded before extraction
- Payment not included or rejected — x402 payment required response (402) blocks the request
- Invalid body type or schema mismatch — 400 error due to malformed input
- Anti-bot protections on target site block the headless browser — partial or empty result

## 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 the scraped content of the target webpage as fetched and rendered by a headless browser, including HTML, text, or structured data depending on the page. The response reflects a real browser visit, making it suitable for JavaScript-heavy or dynamically rendered pages.

## 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-scrape-x402-b9698702/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)
