# Read Web Page as Text

> Read Web Page as Text is a paid API for AI agents from web.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Fetches a public URL (including JavaScript-rendered pages) and returns the full page content as plain text, paid per-call via x402 micropayment in USDC.

## Facts

- Endpoint: POST https://web.tollkit.dev/read?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/read-web-page-as-text-2c34f0ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5NmOPECGV_pYnTRMJK6JW

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 read-web-page-as-text-2c34f0ac -d '<json body>'
```

Example prompt: Can you read the full text content of this page for me: https://example.com/product/awesome-widget — I want to know what it actually says without opening a browser.

## When to prefer this

Use this endpoint when you need to read the raw text of a specific known URL, especially when the page is JavaScript-rendered. Prefer this over search-and-read endpoints when you already have the exact URL. The x402 micropayment model means no API key or account setup is needed — ideal for agent workflows that need frictionless, pay-per-use web reading at $0.002/call.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error or empty content
- Page behind a paywall or bot protection (e.g. Cloudflare) may return incomplete or blocked content
- Malformed or non-HTTP/HTTPS URL returns validation error
- Very large pages may time out or return truncated content
- Payment failure via x402 results in 402 response and no content returned

## How this service works

Read any web page as clean text: give a URL, get the visible text rendered in a real browser, with the title and final URL. For scraping, RAG and research.

## Output

Returns the full readable text content of the requested web page. JavaScript-rendered pages are rendered before extraction, so dynamic content is included. Output is plain text stripped of HTML markup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute http(s) URL of a public page. JavaScript pages are rendered first."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/HTTP_402",
  "text": "List of HTTP status codes … 402 Payment Required: Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme, as proposed, for example, by GNU Taler, but that has not yet happened, and this code is not widely used. …",
  "title": "List of HTTP status codes - Wikipedia",
  "final_url": "https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#402",
  "truncated": false,
  "fetched_at": "2026-10-04T12:00:00.000Z",
  "redirected": true,
  "http_status": 200,
  "text_length": 48211
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/read-web-page-as-text-2c34f0ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web.tollkit.dev](https://www.zero.xyz/host/web.tollkit.dev/llms.txt)
