# Tanship PayAI Console — Browser Article Extraction

> Tanship PayAI Console — Browser Article Extraction 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-14).

Fetches and extracts the readable article content from a web page using browser automation, gated by x402 USDC micropayment on Base.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/browser/article
- Price: $0.012/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-article-extraction-0cebeaa2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJd7_T8OLVCZlqdEntvDR

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-article-extraction-0cebeaa2 -d '<json body>'
```

Example prompt: Can you fetch and extract the main article text from this news page for me so I can summarize it? The URL is https://www.example.com/some-news-article.

## When to prefer this

Choose this endpoint when you need browser-rendered article extraction (JavaScript-heavy pages, SPAs) and want to pay per-call in USDC micropayments via x402 without a subscription. Prefer it over traditional scraping APIs when the target page requires JavaScript execution, or when you want a zero-subscription pay-as-you-go model on Base.

## Known failure modes

- Target URL is paywalled or login-protected — content may be inaccessible
- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Target page is unavailable or returns a non-200 status — extraction fails
- Page has no detectable article structure — may return empty or raw HTML
- Request body missing required fields (type, method, bodyType, body) — returns validation 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 the extracted, clean article content from the target web page — typically the main readable body text, stripped of navigation, ads, and boilerplate, as fetched by a real browser.

## 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-article-extraction-0cebeaa2/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)
