# call402.com Web Extract

> call402.com Web Extract is a paid API for AI agents from call402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches a public URL and returns its content as clean extracted markdown, paid per-call with USDC via the x402 protocol on Base mainnet.

## Facts

- Endpoint: POST https://call402.com/api/web-extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/call402-com-web-extract-68069bd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-O-5qG2twi6V1mnZGRhHt

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 call402-com-web-extract-68069bd8 -d '<json body>'
```

Example prompt: Fetch the content of https://techcrunch.com/2024/01/15/openai-latest-news/ and give me the full article text as markdown, up to 30000 characters.

## When to prefer this

Choose this endpoint when an AI agent needs to read the textual content of a specific public webpage as clean markdown without running a full browser. It is ideal for article reading, research ingestion, and content summarization tasks where the agent needs structured text rather than raw HTML. The per-call USDC micropayment model (via x402 on Base) makes it suitable for autonomous agents that need to pay for access programmatically without API keys or subscriptions.

## Known failure modes

- URL is unreachable or returns a non-200 status — content field may be empty or error returned
- Paywalled or login-gated pages may return incomplete or no content
- Very large pages truncated at max_chars — check the truncated boolean
- Payment header missing or invalid — HTTP 402 returned requiring x402 payment flow
- max_chars out of range (must be 1000–50000) — validation error returned
- Dynamic JavaScript-heavy pages may render poorly as static markdown extraction

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

A JSON object containing the original URL, the page title (or null), the extracted page content as markdown (truncated to max_chars if needed), a boolean indicating whether the content was truncated, and a meta object with character counts, source identifier (e.g. 'jina-reader'), and upstream token usage when reported.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http/https URL to fetch and extract"
  },
  "max_chars": {
   "type": "integer",
   "description": "Max content characters to return, 1000-50000 (default 20000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "url",
   "title",
   "content",
   "truncated",
   "meta"
  ],
  "properties": {
   "url": {
    "type": "string"
   },
   "meta": {
    "type": "object",
    "description": "source, upstream tokens when reported, returned and full content lengths"
   },
   "title": {
    "type": [
     "string",
     "null"
    ]
   },
   "content": {
    "type": "string",
    "description": "Extracted page content as markdown, truncated at max_chars"
   },
   "truncated": {
    "type": "boolean"
   }
  }
 },
 "example": {
  "url": "https://example.com/article",
  "meta": {
   "chars": 4200,
   "source": "jina-reader",
   "tokens": 1234,
   "full_chars": 4200
  },
  "title": "Example article",
  "content": "# Example article\n\nClean markdown body of the page...",
  "truncated": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/call402-com-web-extract-68069bd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from call402.com](https://www.zero.xyz/host/call402.com/llms.txt)
