# URL to Markdown Converter

> URL to Markdown Converter is a paid API for AI agents from well-002-url-to-markdown.mmelnyk2000.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Fetches a public HTTPS URL and converts its content to Markdown, returning structured JSON with the title, content type, markdown body, and any warnings

## Facts

- Endpoint: POST https://well-002-url-to-markdown.mmelnyk2000.workers.dev/mcp?utm_source=zero.xyz#url-to-markdown#url-to-markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-to-markdown-converter-dd98f1d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-KKABvcGAducvVzXa7xDo

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 url-to-markdown-converter-dd98f1d1 -d '<json body>'
```

Example prompt: Can you fetch the content of https://en.wikipedia.org/wiki/Markdown and give me the full page as clean markdown text?

## When to prefer this

Choose this endpoint when you need to convert a single public HTTPS web page or document into clean markdown for downstream processing, storage, or display — especially in agentic pipelines that need readable text from arbitrary URLs. It is well-suited for ingesting documentation, articles, or reference pages into RAG systems or agent context windows. Prefer alternatives if you need to crawl entire sites, process private/internal URLs, handle very large pages, or convert local files.

## Known failure modes

- Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error
- Pages exceeding 1 MB body size are rejected
- Requests timing out after ~10 seconds return a timeout error
- Pages requiring more than 5 redirects return a redirect limit error
- Pages behind authentication or paywalls may return incomplete or empty markdown
- Non-HTML content types may not convert meaningfully to markdown
- Insufficient USDC payment or missing x402 payment header results in payment rejection

## How this service works

Convert a public https URL to markdown ($0.005 USDC via x402). https only — http, file, data, localhost, and private IPs are rejected. Caps: 1 MB body, ~10s timeout, max 5 redirects. Returns JSON { url, final_url, title?, content_type, markdown, warnings }.

## Output

A JSON object containing: the original URL, the final URL after redirects, an optional page title, the content type of the fetched resource, the full markdown representation of the page body, and an array of any warnings encountered during fetching or conversion.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-to-markdown-converter-dd98f1d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from well-002-url-to-markdown.mmelnyk2000.workers.dev](https://www.zero.xyz/host/well-002-url-to-markdown.mmelnyk2000.workers.dev/llms.txt)
