# Web Page to Markdown

> Web Page to Markdown is a paid API for AI agents from ryumoon-x402-tools.ryumoon.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-22).

Fetches any public URL and returns clean, LLM-ready Markdown with stripped navigation, ads, and cookie banners, plus metadata like title, author, date, and word count.

## Facts

- Endpoint: GET https://ryumoon-x402-tools.ryumoon.workers.dev/markdown?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-to-markdown-226e2f1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zhtmRqZBRItmWTLj0gBCj

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-markdown-226e2f1b
```

Example prompt: Can you fetch the article at https://example.com/blog/ai-trends and give me the main content as clean markdown, keeping the hyperlinks but skipping images?

## When to prefer this

Choose this endpoint when you need to ingest a public web page as clean, LLM-ready Markdown, especially when you want boilerplate (ads, nav, banners) stripped automatically and structured metadata (title, author, date, word count) returned alongside the content. Ideal for research pipelines, RAG ingestion, and agent workflows that need to process live web content. Prefer over raw HTML fetchers when downstream consumers are language models that benefit from clean Markdown input.

## Known failure modes

- URL is behind a paywall or login wall — returns error or empty content
- URL is not publicly accessible (private network, 404, 403) — returns HTTP error
- Page is JavaScript-rendered SPA with no server-side HTML — may return incomplete or empty content
- Invalid or malformed URL input — returns validation error
- Timeout on slow-loading pages — returns timeout error

## How this service works

Web page to markdown: read any public URL as clean, LLM-ready Markdown. Strips nav, ads and cookie banners; returns main-content Markdown plus title, author, date and word count. Charged only on success.

## Output

Returns a Markdown-formatted string of the page's main content (or full cleaned page in 'full' mode), along with metadata fields including the page title, author name, publication date, and word count. Optionally includes a list of all hyperlinks found on the page. Navigation, ads, cookie banners, and boilerplate are stripped out.

## 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",
       "description": "Public http(s) page URL"
      },
      "mode": {
       "enum": [
        "article",
        "full"
       ],
       "type": "string",
       "description": "article = main content (default), full = whole cleaned page"
      },
      "links": {
       "type": "boolean",
       "description": "Keep hyperlinks (default true)"
      },
      "images": {
       "type": "boolean",
       "description": "Keep images (default false)"
      },
      "collectLinks": {
       "type": "boolean",
       "description": "Also return a list of all links"
      }
     }
    }
   },
   "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/web-page-to-markdown-226e2f1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ryumoon-x402-tools.ryumoon.workers.dev](https://www.zero.xyz/host/ryumoon-x402-tools.ryumoon.workers.dev/llms.txt)
