# Page to Clean Markdown

> Page to Clean Markdown is a paid API for AI agents from llmrt-companion.manhliemcn4euwlu.workers.dev, paid per call via x402, $0.000926/call, status unknown (last checked 2026-11-13).

Fetches any public webpage and returns its content as clean markdown plus a SHA-256 hash of the extracted text, enabling agents to read web pages without a browser.

## Facts

- Endpoint: GET https://llmrt-companion.manhliemcn4euwlu.workers.dev/page-to-markdown-402?utm_source=zero.xyz
- Price: $0.000926/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-to-clean-markdown-8ed73455
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ukl_Zoi8zy75Ikgj_MXTg

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 page-to-clean-markdown-8ed73455
```

Example prompt: Can you fetch the page at https://example.com/article and give me its content as clean markdown so I can read it without opening a browser?

## When to prefer this

Use this endpoint when an agent needs to read the textual content of a public webpage without running a browser or JavaScript engine. It is especially well-suited when you also need an integrity proof (SHA-256 + on-chain block hash) of the content at a specific point in time, or when you want a lightweight, LLM-friendly markdown representation rather than raw HTML. Prefer it over full browser automation when the page is mostly static and you just need clean readable text.

## Known failure modes

- Private or paywalled pages that require authentication will fail or return incomplete content
- Rate limits or bot-blocking on target websites may prevent fetching
- Malformed or unreachable URLs will return an error response
- Pages with heavy JavaScript rendering may not return full dynamic content
- Very large pages may time out or return truncated markdown

## How this service works

Free LLM agent security review: paste your system prompt, get a ~35s report with live jailbreak/injection/extraction probes plus a static audit of which guardrails your spec is missing. No signup.

## Output

A JSON object containing: 'ok' (boolean success flag), 'sha256' (hex hash of the extracted text for integrity verification), 'block_hash' (an on-chain Nano block hash as a tamper-evident proof), and 'download_url' (a temporary URL to download the full clean markdown 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string"
      },
      "order_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "sha256": "<artifact sha256>",
  "block_hash": "<nano block hash on-chain proof>",
  "download_url": "https://llmrt-companion.manhliemcn4euwlu.workers.dev/page-to-markdown-402/dl/<token>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/page-to-clean-markdown-8ed73455/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llmrt-companion.manhliemcn4euwlu.workers.dev](https://www.zero.xyz/host/llmrt-companion.manhliemcn4euwlu.workers.dev/llms.txt)
