# Agent Read Proxy - Batch Web Page to Clean Text & Markdown API

> Agent Read Proxy - Batch Web Page to Clean Text & Markdown API is a paid API for AI agents from agent-read-proxy.agent-read-proxy.workers.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Fetches up to 5 public web pages in a single batch call and returns clean text or Markdown with title, author, date, and language metadata, paid per-call in USDC via x402.

## Facts

- Endpoint: POST https://agent-read-proxy.agent-read-proxy.workers.dev/v1/read/batch?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-read-proxy-batch-web-page-to-clean-text-markdown-api-29cb202c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e7qIt-zu_82_iz3xoOIjf

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 agent-read-proxy-batch-web-page-to-clean-text-markdown-api-29cb202c -d '<json body>'
```

Example prompt: Fetch these two Wikipedia pages — https://en.wikipedia.org/wiki/Motocross and https://en.wikipedia.org/wiki/Enduro — and give me their content as Markdown so I can summarize them.

## When to prefer this

Choose this endpoint when you need to fetch and clean multiple web pages (up to 5) in a single round-trip without managing API keys or subscriptions; it is ideal for AI agent pipelines that need structured, readable content with metadata (title, language, canonical URL) and want to pay micro-amounts per call in USDC via x402 rather than committing to a monthly plan.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — that URL appears in the failed count with an error reason
- Paywalled or JavaScript-rendered pages may return incomplete or no content
- Batch exceeds 5 URLs — request is rejected with a validation error
- Malformed or non-URI strings in the urls array cause a schema validation error
- Payment not received or insufficient USDC — x402 payment required response returned before content is delivered

## How this service works

Web scraping API for AI agents: turn any public web page into clean text or Markdown with title, author, date and language metadata. $0.002 per page, paid in USDC on Base via x402. No API key or signup.

## Output

A JSON object with a 'results' array (one entry per URL) containing the cleaned content (plain text or Markdown), page title, canonical URL, detected language, word count, fetch timestamp, and a truncation flag, plus top-level 'succeeded' and 'failed' counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "urls": {
   "type": "array",
   "items": {
    "type": "string",
    "format": "uri"
   },
   "examples": [
    [
     "https://en.wikipedia.org/wiki/Motocross",
     "https://en.wikipedia.org/wiki/Enduro"
    ]
   ],
   "maxItems": 5,
   "minItems": 1,
   "description": "1 to 5 public http(s) pages or documents to read"
  },
  "format": {
   "enum": [
    "text",
    "markdown"
   ],
   "type": "string",
   "default": "text",
   "description": "text (default) or markdown (keeps headings, lists and links)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "failed": 0,
  "results": [
   {
    "url": "https://en.wikipedia.org/wiki/Motocross",
    "title": "Motocross - Wikipedia",
    "format": "markdown",
    "language": "en",
    "markdown": "From Wikipedia, the free encyclopedia\n\nOff-road motorcycle racing held on enclosed off-road circuits\n\n## History\n\n...",
    "truncated": false,
    "fetched_at": "2026-10-28T01:30:00.000Z",
    "word_count": 4463,
    "canonical_url": "https://en.wikipedia.org/wiki/Motocross"
   }
  ],
  "succeeded": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-read-proxy-batch-web-page-to-clean-text-markdown-api-29cb202c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-read-proxy.agent-read-proxy.workers.dev](https://www.zero.xyz/host/agent-read-proxy.agent-read-proxy.workers.dev/llms.txt)
