# tools.orchardshop.xyz Page-to-Text

> tools.orchardshop.xyz Page-to-Text is a paid API for AI agents from tools.orchardshop.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Fetches a public web page by URL and returns its readable text content as JSON, with scripts, styles, and HTML tags stripped.

## Facts

- Endpoint: GET https://tools.orchardshop.xyz/t/page-to-text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tools-orchardshop-xyz-page-to-text-a876d886
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bcekSkCazB6dHB2P-PGwc

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 tools-orchardshop-xyz-page-to-text-a876d886
```

Example prompt: Can you fetch the readable text from https://en.wikipedia.org/wiki/Large_language_model and give me the title and main content, with all the HTML stripped out?

## When to prefer this

Choose this endpoint when you need to extract clean, readable text from a publicly accessible web page without needing structured data parsing or JavaScript rendering. It is ideal for lightweight content extraction, summarization pipelines, LLM context enrichment from URLs, or any workflow where you want plain text rather than raw HTML. It is simpler and cheaper than full headless browser scraping and is best for static or server-rendered pages.

## Known failure modes

- URL points to private/localhost address — blocked by design
- Target page returns non-200 HTTP status (404, 500, etc.)
- URL is malformed or unreachable
- Page content is behind a login/authentication wall
- Very large pages may be truncated or slow to process
- JavaScript-rendered content may not be captured since it uses static HTML fetching

## How this service works

Small pay-per-call tools for AI agents. x402, USDC on Base.

## Output

Returns a JSON object containing: the original URL, HTTP status code of the fetched page, page title, character count of the extracted text, and the clean readable text with all scripts, styles, and HTML tags removed. Private/localhost addresses are blocked and will return an error.

## 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"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "text": {
       "type": "string"
      },
      "chars": {
       "type": "integer"
      },
      "title": {
       "type": "string"
      },
      "status": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "text": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
  "chars": 156,
  "title": "Example Domain",
  "status": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tools-orchardshop-xyz-page-to-text-a876d886/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.orchardshop.xyz](https://www.zero.xyz/host/tools.orchardshop.xyz/llms.txt)
