# Tanship PayAI Console — Browser Metadata Extraction (x402)

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

Fetches metadata from a web page via browser automation, payment-gated with USDC on Base via the x402 protocol.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/browser/metadata
- Price: $0.008/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-metadata-extraction-x402-75619f4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L-5IN4HhzoGFmcujOmNWE

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-metadata-extraction-x402-75619f4d -d '<json body>'
```

Example prompt: Can you fetch the metadata from this webpage — title, description, and any open graph tags — by loading it in a real browser? The page is at https://example.com/product-page.

## When to prefer this

Prefer this endpoint when you need metadata from JavaScript-rendered or dynamically loaded pages that a simple HTTP GET would not capture accurately. It is especially useful when standard curl-based scrapers fail to retrieve og: tags or other metadata injected by client-side scripts. The x402 micropayment model makes it suitable for per-call agent workflows without subscriptions.

## Known failure modes

- Target URL is unreachable or returns an error — browser automation fails with a connection or HTTP error
- Payment not included or invalid — returns HTTP 402 with x402 payment requirements
- Malformed request body — returns validation error if required fields (type, method, bodyType, body) are missing
- Target page blocks automated browsers — may return incomplete or empty metadata
- Rate limiting or timeout on slow-loading pages — may return partial results or timeout error

## 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 browser-extracted metadata from the target web page, including elements like page title, meta description, Open Graph tags, and other head-level metadata obtained by rendering the page in a real browser context.

## 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-metadata-extraction-x402-75619f4d/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)
