# readpage

> readpage is a paid API for AI agents from readpage.x402utils.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Fetches any public web page and returns clean, structured text (title, description, headings, body, links) with scripts, navigation, and footers stripped out.

## Facts

- Endpoint: GET https://readpage.x402utils.workers.dev/v1/read?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/readpage-5d3b0a7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LOftUMAA8NE7fkH8459iv

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 readpage-5d3b0a7a
```

Example prompt: Can you read the page at https://example.com/article and give me the main text content, title, and any key links — stripped of all the navigation, ads, and footer clutter?

## When to prefer this

Choose this endpoint when you need clean, readable text from a public URL without running a full browser or scraping infrastructure yourself. It is ideal for agents that need to read articles, documentation pages, or web content as context — especially when you want noise (ads, nav, footer) stripped automatically. Prefer it over raw HTTP fetches when you need structured output (title + body + links) rather than raw HTML, and over heavier scraping services when a single-page read is sufficient and cost-per-call matters.

## Known failure modes

- URL is behind a login or paywall — returns empty or login-page content
- Target page blocks bots or uses heavy JavaScript rendering — extracted text may be incomplete
- Malformed or non-HTTP(S) URL — request validation fails
- Target server is down or unreachable — network timeout or error response
- Page has no meaningful text content — returns minimal or empty text fields

## How this service works

Turn any public web page into clean, agent-ready text: title, description, headings, main text and links. Scripts, navigation and footers are stripped. Paid per call via x402 (USDC on Base).

## Output

A JSON object containing the page title, a description (meta or inferred), the main body text with scripts/nav/footer removed, and a character count of the extracted text. Links found on the page may also be included.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "http(s) URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "This domain is for use in illustrative examples...",
  "title": "Example Domain",
  "text_chars": 127
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readpage-5d3b0a7a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from readpage.x402utils.workers.dev](https://www.zero.xyz/host/readpage.x402utils.workers.dev/llms.txt)
