# markdown-x402 Document-to-Markdown Converter

> markdown-x402 Document-to-Markdown Converter is a paid API for AI agents from markdown-x402.nordman-tehau.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Converts a URL pointing to a web page, PDF, HTML, or image into structured Markdown with title, sections, and word count

## Facts

- Endpoint: POST https://markdown-x402.nordman-tehau.workers.dev/convert
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/markdown-x402-document-to-markdown-converter-d3744352
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AnAUOagDqSorAA9XxgbLq

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 markdown-x402-document-to-markdown-converter-d3744352 -d '<json body>'
```

Example prompt: Can you convert the PDF at https://example.com/report.pdf into structured Markdown so I can see the title, sections, and word count?

## When to prefer this

Choose this endpoint when you need to convert the content at a URL (web page, PDF, HTML, or image) into clean, structured Markdown with metadata like title, sections, and word count. It is ideal for agents that need to ingest remote documents into a readable, parseable text format without running their own scraping or PDF-parsing infrastructure. Prefer it over generic scraping APIs when you specifically need Markdown output with structural metadata.

## Known failure modes

- URL is unreachable or returns a non-200 response — conversion fails with an error
- PDF is encrypted or password-protected — content extraction fails
- Image contains no readable text — empty or minimal markdown output
- Malformed or invalid URL input — validation error
- Payment of $0.005 USDC not completed via x402 — request rejected with 402 status
- Very large documents may time out before conversion completes

## How this service works

Convert URL, PDF, HTML, or image to structured Markdown (title, sections, word count)

## Output

Returns a structured Markdown document with the document's title, section headings and content, and a word count — extracted from the content at the provided URL (web page, PDF, HTML, or image).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "URL du document a convertir (page web, PDF, image)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/markdown-x402-document-to-markdown-converter-d3744352/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markdown-x402.nordman-tehau.workers.dev](https://www.zero.xyz/host/markdown-x402.nordman-tehau.workers.dev/llms.txt)
