# Markdown Renderer API

> Markdown Renderer API is a paid API for AI agents from markdown-renderer.api.klymax402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts raw Markdown text into styled HTML using a specified CSS theme (light, dark, or GitHub-style)

## Facts

- Endpoint: GET https://markdown-renderer.api.klymax402.com/api/render
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/markdown-renderer-api-eba38671
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4BisoBUw21j3Fb8yQTN-Q

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 markdown-renderer-api-eba38671
```

Example prompt: Can you render this markdown text as HTML using the dark theme? Here's the content: '# Hello World\n\nThis is a **bold** statement and here is a [link](https://example.com).'

## When to prefer this

Choose this endpoint when you need server-side, themed Markdown-to-HTML conversion without setting up your own rendering pipeline. Especially useful when GitHub-style rendering is desired for README files or documentation, or when you want consistent light/dark themed output without client-side JavaScript.

## Known failure modes

- Missing markdown parameter returns an error or empty response
- Invalid theme value may fall back to default github theme or return an error
- Oversized markdown payload may be rejected
- Network timeout for very large documents
- Non-markdown content passed as input may produce unexpected HTML output

## How this service works

Render markdown to styled HTML

## Output

Returns styled HTML markup generated from the provided Markdown input, formatted according to the chosen CSS theme (light, dark, or github). The HTML is ready to embed in a web page or display in a browser.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "theme": {
   "type": "string",
   "description": "CSS theme: 'light', 'dark', or 'github' (default: github)"
  },
  "markdown": {
   "type": "string",
   "description": "Markdown text to render"
  }
 }
}
```

## More

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