# Web Page to Plain Text Fetcher

> Web Page to Plain Text Fetcher is a paid API for AI agents from vending-machine-seven.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches a public web page and returns its content as plain text with HTML stripped, suitable for research, RAG pipelines, and summarization

## Facts

- Endpoint: GET https://vending-machine-seven.vercel.app/api/v/fetch-text
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-to-plain-text-fetcher-c9c808b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A35bZ1FksI3CDQBeSpLY6

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 web-page-to-plain-text-fetcher-c9c808b4
```

Example prompt: Can you fetch the text content from https://en.wikipedia.org/wiki/Artificial_intelligence and give me the plain readable text — no HTML — up to 8000 characters so I can summarize it?

## When to prefer this

Use this endpoint when you need to retrieve human-readable text from a public web page for downstream tasks like summarization, RAG ingestion, or research — especially when you want clean plain text without needing to parse HTML yourself. Prefer it over full HTML scrapers when only the text body matters and over LLM browsing tools when cost and latency matter.

## Known failure modes

- Non-public or private URLs return an error
- Pages behind authentication or paywalls cannot be fetched
- Very large pages may be truncated if max_chars is exceeded
- Non-HTTPS URLs are rejected
- Timeout errors for slow-loading pages
- Dynamic JavaScript-rendered content may be incomplete since only static HTML is fetched

## How this service works

Fetch a public page and return plain text (HTML stripped) for research, RAG, and summarization agents

## Output

Returns a JSON object with: ok (boolean success flag), text (plain text with HTML stripped), chars (character count), title (page title), service (identifier), and truncated (boolean indicating if content was cut off at max_chars limit)

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public https:// page URL"
      },
      "max_chars": {
       "type": "string",
       "description": "Max text chars default 12000"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "text": {
       "type": "string"
      },
      "chars": {
       "type": "number"
      },
      "title": {
       "type": "string"
      },
      "service": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-to-plain-text-fetcher-c9c808b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vending-machine-seven.vercel.app](https://www.zero.xyz/host/vending-machine-seven.vercel.app/llms.txt)
