# Machine Markdown HTML-to-Markdown Converter

> Machine Markdown HTML-to-Markdown Converter is a paid API for AI agents from machine-markdown.victoriousbush-c7c267a1.westus2.azurecontainerapps.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts raw HTML documents or fragments into clean, compact Markdown suitable for LLM consumption, search indexing, or archiving.

## Facts

- Endpoint: POST https://machine-markdown.victoriousbush-c7c267a1.westus2.azurecontainerapps.io/html-to-markdown
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-markdown-html-to-markdown-converter-bbf297a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RPodJXeUbt8TXE-0lfIiW

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 machine-markdown-html-to-markdown-converter-bbf297a7 -d '<json body>'
```

Example prompt: I've got the raw HTML from a news article — can you convert it into clean, compact Markdown so I can feed it to my LLM? Here's the HTML: <html>...</html>

## When to prefer this

Choose this endpoint when an agent already holds raw HTML and needs a fast, cheap ($0.001/call) server-side conversion to Markdown without fetching any URLs itself. It is ideal for pipeline steps where upstream scraping has already occurred and clean, LLM-ready text is needed immediately. Prefer this over client-side parsing libraries when running in a serverless or constrained environment, or when consistent cross-platform Markdown output is required.

## Known failure modes

- HTML payload exceeds 1 MiB limit — request rejected
- Malformed or unparseable HTML — may return empty or degraded Markdown
- Completely non-article HTML (e.g. login walls, blank pages) — output may be minimal or empty
- Network timeout for very large documents
- Invalid request body format — missing required 'html' field

## How this service works

Use when an agent already has raw HTML and needs readable article content converted into compact Markdown for an LLM, search index, or archive.

## Output

A Markdown-formatted string containing the cleaned, readable content extracted from the submitted HTML, with navigation, scripts, ads, and other non-article clutter stripped away, ready for LLM ingestion, indexing, or storage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "description": "HTML document or fragment to clean and convert to Markdown. Maximum request body: 1 MiB."
  },
  "sourceUrl": {
   "type": "string",
   "description": "Optional HTTP(S) source URL used only as document context; the service does not fetch it."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-markdown-html-to-markdown-converter-bbf297a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machine-markdown.victoriousbush-c7c267a1.westus2.azurecontainerapps.io](https://www.zero.xyz/host/machine-markdown.victoriousbush-c7c267a1.westus2.azurecontainerapps.io/llms.txt)
