# CleanRead402

> CleanRead402 is a paid API for AI agents from cleanread402.netlify.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-30).

Fetches any public webpage and returns clean readable text and markdown with boilerplate, navigation, ads, and scripts stripped

## Facts

- Endpoint: GET https://cleanread402.netlify.app/read?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cleanread402-440b3360
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QLu7_juncgmeuQaDOTwCR

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 cleanread402-440b3360
```

Example prompt: Can you fetch the article at https://www.example.com/news/article-123 and give me the clean readable text with no ads or navigation clutter?

## When to prefer this

Choose CleanRead402 when you need to extract clean, human-readable text or markdown from any public webpage and want boilerplate, ads, navigation, and scripts automatically stripped. It is particularly well-suited for article extraction, content summarization pipelines, and markdown conversion workflows. The pay-per-call x402 model with free error returns makes it cost-effective for ad-hoc or agentic use without subscriptions.

## Known failure modes

- Non-HTML URLs (PDFs, images, etc.) return an error but no payment is charged
- Malformed or unreachable URLs return an error at no cost
- Paywalled or login-gated pages may return minimal or empty content
- Very large pages may be truncated (truncated: true in response)
- Pages with heavy JavaScript rendering may not return full dynamic content

## How this service works

Fetch any public webpage and return its clean readable text and markdown: boilerplate, nav, ads and scripts stripped. Returns the page title, clean text, markdown, word count and final URL after redirects. Input: a public http(s) URL. Errors for bad or non-HTML URLs are returned free (settlement is cancelled on failure).

## Output

Returns a JSON object containing: the original URL, the final URL after any redirects, the HTTP status code, the page title, the full clean text (boilerplate/nav/ads/scripts stripped), the content as markdown, total word count, and a boolean indicating whether the content was truncated. Errors for bad or non-HTML URLs are returned without charge.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL of the webpage to fetch and extract clean text from"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "finalUrl",
      "status",
      "title",
      "text",
      "markdown",
      "wordCount",
      "truncated"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "text": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "status": {
       "type": "number"
      },
      "finalUrl": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      },
      "wordCount": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cleanread402-440b3360/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cleanread402.netlify.app](https://www.zero.xyz/host/cleanread402.netlify.app/llms.txt)
