# Tanship PayAI Console — Browser JSON Automation (x402)

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

Executes browser automation tasks via HTTP POST and returns structured JSON results, gated by micropayment via the x402 protocol on Base/USDC.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/browser/json
- Price: $0.02/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-json-automation-x402-066f26d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fk0hST2xDSdm7DCGdroLV

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-json-automation-x402-066f26d8 -d '<json body>'
```

Example prompt: Use the Tanship browser automation endpoint to fetch and extract the JSON data from this dynamically rendered page — send it as a POST request with a JSON body and return the structured result.

## When to prefer this

Choose this endpoint when you need to interact with or extract data from JavaScript-rendered or dynamic web pages that cannot be accessed via simple HTTP GET requests. It is especially useful when you need structured JSON output from browser automation tasks and are comfortable with per-call USDC micropayments via x402. Prefer this over static scrapers when the target page requires a real browser to load content.

## Known failure modes

- Payment not included or invalid x402 USDC payment on Base → 402 Payment Required
- Malformed input object missing required fields (type, method, bodyType, body) → 400 Bad Request
- Target URL or browser task times out or is unreachable → timeout or 5xx error
- Invalid bodyType enum value → validation error
- Requested page renders no usable content → empty or partial 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 a JSON object containing the result of the browser automation task, such as scraped page content, extracted structured data, or the response from a browser-executed HTTP interaction. The exact shape of the response depends on the target endpoint and body provided.

## 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-json-automation-x402-066f26d8/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)
