# MoneyTools Markdown to HTML Renderer

> MoneyTools Markdown to HTML Renderer is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-05).

Converts GitHub-flavored Markdown to sanitized HTML with script URLs removed and raw HTML escaped, returning the rendered HTML plus a heading outline

## Facts

- Endpoint: POST https://tools.moneytools.dev/v1/markdown?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-markdown-to-html-renderer-efd57fcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5E26ScrWViAcIyfolSRdB

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 moneytools-markdown-to-html-renderer-efd57fcb -d '<json body>'
```

Example prompt: Can you render this markdown as HTML for me — '# Hello World

- item one
- **bold item**' — and give me the heading outline too?

## When to prefer this

Choose this endpoint when you need safe, sanitized GitHub-flavored Markdown rendering that removes XSS vectors (script URLs, raw HTML) and also returns a structured heading outline. Ideal for rendering user-submitted or untrusted markdown in web UIs. Prefer over generic markdown libraries when you need a hosted, pay-per-use solution with built-in sanitization and heading extraction without managing your own infrastructure.

## Known failure modes

- Invalid or missing markdown field returns an error without charge
- Malformed request body returns a 400-level error
- Free tier exhausted (10/day) returns HTTP 402 requiring x402 micropayment or X-API-Key credits
- Network timeouts or server errors return 5xx without charge

## How this service works

Markdown → HTML: Render GitHub-flavored Markdown to HTML with raw HTML escaped and script URLs removed; also returns the heading outline. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.

## Output

Returns sanitized HTML rendered from the input GitHub-flavored Markdown, with raw HTML escaped and script URLs removed, plus a structured heading outline extracted from the document. Not charged on failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "markdown": {
   "type": "string",
   "examples": [
    "# Title\n\n- item **bold**"
   ],
   "description": "Markdown text"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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