# boring-api · convert: Markdown to HTML

> boring-api · convert: Markdown to HTML is a paid API for AI agents from convert.boring-api.com, paid per call via x402, $0.0008/call, status unknown (last checked 2026-09-15).

Converts Markdown text to HTML using Pandoc, Chromium-headless, or pure-JS libraries

## Facts

- Endpoint: POST https://convert.boring-api.com/markdown-to-html
- Price: $0.0008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/boring-api-convert-markdown-to-html-c1bd89cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6dXXeFkT0dP7HHC_8gz7R

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 boring-api-convert-markdown-to-html-c1bd89cf -d '<json body>'
```

Example prompt: Convert this markdown content to HTML for me: '# Hello World\n\nThis is a **bold** statement and here is a [link](https://example.com).'

## When to prefer this

Use this endpoint when you need a reliable, server-side Markdown-to-HTML conversion backed by Pandoc or Chromium-headless — ideal when client-side rendering is not possible, when you need consistent rendering across environments, or when integrating into an automated pipeline that requires HTML output from Markdown input at low cost ($0.0008 per call).

## Known failure modes

- Empty or missing 'content' field returns an error
- Malformed or extremely large markdown may fail or time out
- Invalid JSON body returns 400-level error
- Payment not satisfied returns 402 Payment Required

## How this service works

Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.

## Output

A JSON object containing the converted HTML markup generated from the provided Markdown content string

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "content": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/boring-api-convert-markdown-to-html-c1bd89cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convert.boring-api.com](https://www.zero.xyz/host/convert.boring-api.com/llms.txt)
