# HTML to Markdown Converter

> HTML to Markdown Converter is a paid API for AI agents from manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Extracts readable content from supplied HTML and converts it into compact Markdown without fetching any external URL.

## Facts

- Endpoint: POST https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/html-to-markdown
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-to-markdown-converter-ee9cf299
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CMuytbIaObvFvqsRPo84O

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

Example prompt: I have this raw HTML from a news article — can you extract just the readable content and convert it into clean, compact Markdown for me? Here's the HTML: <html><body><h1>Breaking News</h1><p>Something happened today...</p></body></html>

## When to prefer this

Use this endpoint when you already have raw HTML in memory and need it converted to Markdown without triggering an outbound HTTP fetch. It is ideal for pipelines that scrape HTML separately, process email HTML bodies, or handle HTML from APIs, and want clean Markdown output for LLM context windows, knowledge bases, or downstream text processing. Prefer this over PDF-to-Markdown or image-to-Markdown siblings when your input is HTML specifically.

## Known failure modes

- Empty or whitespace-only HTML input returns a validation error
- Malformed HTML may result in partial or degraded Markdown output
- Very large HTML payloads may exceed processing limits or time out
- Invalid sourceUrl format returns a schema validation error
- HTML with no readable text content may return an empty or minimal Markdown response

## How this service works

Convert raw HTML already held by an agent into deterministic, clean, LLM-ready Markdown without fetching the source URL. Returns the title, byline, excerpt, Markdown, and character count.

## Output

The agent receives the HTML content converted into compact, readable Markdown text, with readable structure preserved (headings, lists, links, tables) and HTML boilerplate or noise removed, without any external URL being fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "pattern": ".*\\S.*",
   "minLength": 1
  },
  "sourceUrl": {
   "type": "string",
   "pattern": "^[hH][tT][tT][pP][sS]?://[^\\s]+$",
   "maxLength": 2048
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Example",
  "byline": null,
  "excerpt": "Article text.",
  "markdown": "# Example\n\nArticle text.",
  "markdownCharacters": 24
 }
}
```

## More

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