# red-web-utils Reader

> red-web-utils Reader is a paid API for AI agents from red-web-utils.agent-tools-x402.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-07).

Fetches and extracts clean, readable article text from any web URL, stripping HTML and returning structured content metadata.

## Facts

- Endpoint: POST https://red-web-utils.agent-tools-x402.workers.dev/api/reader?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-07
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/red-web-utils-reader-9671e050
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OIkVk2ajZnvamh8rUitmO

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 red-web-utils-reader-9671e050 -d '<json body>'
```

Example prompt: Fetch and extract the clean readable text from this article: https://www.theguardian.com/technology/2024/ai-news-article — I want the title, full body text, and a short excerpt.

## When to prefer this

Choose this endpoint when you need to extract clean, readable text from a specific web article or blog post URL without handling raw HTML parsing yourself. It is ideal for AI agents that need to summarize, analyze, or fact-check online articles, especially when you want structured metadata (title, byline, excerpt) alongside body text. Prefer this over generic HTTP fetch tools when you need parsed, human-readable content rather than raw HTML.

## Known failure modes

- URL is paywalled or requires authentication — returns partial or no content
- URL points to a non-article page (e.g. homepage or search results) — minimal or empty text returned
- URL is unreachable or returns a non-200 status — request fails with an error
- Dynamic JavaScript-rendered pages may not be fully extracted if content requires JS execution
- Payment not provided or insufficient USDC — x402 payment required error returned

## How this service works

Pay-per-call web and onchain utilities for AI agents (MPP + x402, USDC on Base).

## Output

Returns a JSON object containing the extracted article URL, full clean text body, page title, byline (author), character length of the content, and a short excerpt summary. HTML, navigation, and boilerplate are stripped, leaving only the readable article content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/page",
  "text": "Full clean article text...",
  "title": "Example article",
  "byline": null,
  "length": 1234,
  "excerpt": "Short summary"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/red-web-utils-reader-9671e050/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from red-web-utils.agent-tools-x402.workers.dev](https://www.zero.xyz/host/red-web-utils.agent-tools-x402.workers.dev/llms.txt)
