# Coinslot HTML-to-Markdown Converter

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

Converts HTML documents or fragments into clean, structured Markdown, stripping scripts, styles, and comments.

## Facts

- Endpoint: POST https://coinslot.dev/api/html-to-markdown
- 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/coinslot-html-to-markdown-converter-72779812
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-U5i7V0B9nTwxeMi_mbH3

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

Example prompt: Take this raw HTML and convert it to clean Markdown — strip out all the scripts, styles, and comments, and preserve the headings, links, images, lists, tables, and code blocks.

## When to prefer this

Choose this endpoint when you have raw HTML and need clean, human-readable Markdown output — especially when you want scripts, styles, and comments stripped automatically. It is ideal for preprocessing scraped web content before feeding it to an LLM, converting CMS or email HTML to documentation-ready Markdown, or transforming HTML fragments into portable text. Prefer this over a full URL-fetch-to-Markdown endpoint when you already have the HTML content in hand and don't need a network fetch.

## Known failure modes

- HTML payload exceeds 500KB size limit — request is rejected
- Malformed or non-parseable HTML may result in degraded or partial Markdown output
- Deeply nested or non-standard HTML structures may not convert with full fidelity
- Empty HTML body returns empty Markdown string
- Network timeout if the payload is very large but within limits

## How this service works

Convert HTML to clean Markdown: headings, links, images, lists, tables, code blocks, emphasis. Strips scripts, styles, and comments. POST { html } (max 500KB).

## Output

Returns a plain Markdown string with the HTML content faithfully converted: headings (h1–h6), hyperlinks, images, ordered and unordered lists, tables, fenced code blocks, and inline emphasis (bold/italic) are all preserved. Scripts, stylesheets, and HTML comments are stripped. The response is clean, human-readable Markdown ready for downstream use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "description": "HTML document or fragment, max 500KB"
  }
 }
}
```

## More

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