# Readclean - Clean Readable Webpage Text Extractor

> Readclean - Clean Readable Webpage Text Extractor is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-01).

Fetches a URL and returns clean, readable markdown or plain text by stripping boilerplate, navigation, and ads using readability extraction — no LLM, no storage.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/readclean?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/readclean-clean-readable-webpage-text-extractor-600f942b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S3jCtyINVABeAQQyyqdvL

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 readclean-clean-readable-webpage-text-extractor-600f942b
```

Example prompt: Can you grab the main article text from https://www.theverge.com/2024/5/1/example-article and return it as clean markdown, stripping out all the navigation and ads?

## When to prefer this

Choose this endpoint when you need fast, deterministic, non-LLM article extraction from a single URL and want clean markdown output with metadata (title, word count, hash) without storing the page. Prefer it over LLM-based summarization pipelines when you want raw extracted text as input to your own downstream processing, and over full browser automation when you only need the readable text content, not rendered layout or screenshots.

## Known failure modes

- Page behind a login wall or paywall returns empty or partial content
- Dynamic JavaScript-rendered pages may not yield full content since extraction is server-side
- Invalid or unreachable URL returns a non-200 HTTP status
- Pages with aggressive bot-blocking (e.g. Cloudflare challenges) may fail to fetch
- Very large pages may timeout or return truncated content

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

A JSON object containing: the original URL, extracted clean content as markdown or plain text, article title, word count, character count, content format label, SHA-256 hash of the content, and the HTTP status code of the fetched page.

## 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",
       "format": "uri",
       "pattern": "^https://",
       "maxLength": 2048,
       "minLength": 8,
       "description": "Public HTTPS webpage or article URL to extract; no JavaScript rendering"
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "default": "markdown",
       "description": "Format of the content field inside the JSON response"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/article",
  "chars": 312,
  "title": "Example",
  "words": 51,
  "format": "markdown",
  "sha256": "9f86d0…",
  "content": "# Example\n\nClean main text...",
  "http_status": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readclean-clean-readable-webpage-text-extractor-600f942b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
