# x402 Money Farm: Clean Text Extractor

> x402 Money Farm: Clean Text Extractor is a paid API for AI agents from x402-money-farm.fly.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-03).

Fetches a web page and returns boilerplate-free main content as plain text or Markdown, along with title, language, and word count.

## Facts

- Endpoint: GET https://x402-money-farm.fly.dev/v1/clean-text?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-money-farm-clean-text-extractor-b315aa8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yNMmlNTKHOMwKLxJl8UYH

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 x402-money-farm-clean-text-extractor-b315aa8d
```

Example prompt: Grab the main article text from https://www.theverge.com/2024/5/1/some-article and return it as clean Markdown, including any links.

## When to prefer this

Choose this endpoint when you need clean, human-readable text from a web page for downstream LLM processing, summarization, or analysis, and want boilerplate automatically stripped. Prefer it over raw HTML fetchers when you need plain text or Markdown output with metadata like title, language, and word count included. It is especially useful for article and documentation pages where main content is clearly delimited from navigation and ads.

## Known failure modes

- URL is unreachable or returns non-200 status — likely returns an error with HTTP status details
- Page requires JavaScript rendering — may return empty or incomplete content
- max_chars too small for page content — content will be truncated at the specified limit
- Invalid or non-HTTP URL provided — schema validation error
- Paywalled or bot-blocked pages — may return login prompts or empty content instead of article body

## How this service works

URL → Clean Text — Fetches a web page and returns boilerplate-free main content as plain text or Markdown, with title, language and word count.

## Output

Returns the main body content of the fetched page as plain text or Markdown, stripped of navigation, ads, and other boilerplate. Also includes the page title, detected language, and word count of the extracted content.

## 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",
       "description": "Absolute http(s) URL of the page to process."
      },
      "fresh": {
       "type": "boolean",
       "default": false
      },
      "format": {
       "enum": [
        "text",
        "markdown"
       ],
       "type": "string",
       "default": "text"
      },
      "max_chars": {
       "type": "integer",
       "default": 200000,
       "maximum": 500000,
       "minimum": 200
      },
      "include_links": {
       "type": "boolean",
       "default": true
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-money-farm-clean-text-extractor-b315aa8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-money-farm.fly.dev](https://www.zero.xyz/host/x402-money-farm.fly.dev/llms.txt)
