# chainverdict.xyz HTML-to-Markdown Converter

> chainverdict.xyz HTML-to-Markdown Converter is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts an HTML document to clean, LLM-ready Markdown by stripping scripts, styles, and navigation chrome while preserving headings, lists, tables, and links.

## Facts

- Endpoint: POST https://chainverdict.xyz/v1/doc/html-to-markdown
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainverdict-xyz-html-to-markdown-converter-2488d619
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8oSMHLvUnIciieYamLGzL

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 chainverdict-xyz-html-to-markdown-converter-2488d619 -d '<json body>'
```

Example prompt: Convert this HTML document to clean Markdown so I can feed it to an LLM — strip out all the scripts, styles, and nav menus but keep the headings, lists, tables, and links intact.

## When to prefer this

Choose this endpoint when you need a deterministic, cheap ($0.002/call), server-side HTML-to-Markdown conversion that reliably strips boilerplate (scripts, styles, nav) while preserving semantic structure. Prefer it over client-side parsing when you want consistent, reproducible output suitable for LLM ingestion pipelines, RAG systems, or document analysis workflows.

## Known failure modes

- Invalid or malformed HTML may produce unexpected Markdown output
- Empty or whitespace-only HTML body may return empty Markdown
- Extremely large HTML documents may hit payload size limits
- Missing required 'input' field returns a validation error
- Incorrect bodyType or method returns a 400-level error

## How this service works

Convert an HTML document to clean Markdown for LLM ingestion: strips scripts, styles and navigation chrome, preserves headings, lists, tables and links. Deterministic for identical input.

## Output

A clean Markdown string representation of the input HTML, with all scripts, stylesheets, and navigation chrome removed, while headings, lists, tables, and hyperlinks are preserved. Output is deterministic for identical input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "html"
 ],
 "properties": {
  "html": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainverdict-xyz-html-to-markdown-converter-2488d619/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainverdict.xyz](https://www.zero.xyz/host/chainverdict.xyz/llms.txt)
