# Toolshed Markdown to HTML Converter

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

Converts Markdown-formatted text into HTML markup via a simple HTTP POST call

## Facts

- Endpoint: POST https://toolshed.lemon-agent.dev/convert/md-html
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolshed-markdown-to-html-converter-becc54ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VCUOCNdCeBD-UUo9nKUOo

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

Example prompt: Convert this Markdown to HTML for me: '# My Title\n\nThis is **bold** and this is *italic* text with a [link](https://example.com).'

## When to prefer this

Choose this endpoint when you need a lightweight, no-setup HTTP call to convert Markdown to HTML without installing any libraries or dependencies. Ideal for agents running in sandboxed environments without access to markdown parsing libraries, or when you want a pay-per-use model at $0.001 per call rather than bundling a library.

## Known failure modes

- Empty or missing request body returns an error
- Malformed or non-Markdown input may produce minimal or empty HTML output
- Network timeout on very large Markdown documents
- Payment failure (x402) if insufficient USDC balance, returning 402 status

## How this service works

Markdown to HTML conversion

## Output

Returns a plain HTML string (text/html) containing the fully rendered HTML equivalent of the input Markdown, with proper tags such as <h1>–<h6>, <p>, <strong>, <em>, <a>, <ul>, <li>, <code>, <pre>, etc.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "text"
    },
    "body": {
     "type": "string",
     "description": "the raw Markdown file as the request body, up to 256 KB",
     "maxLength": 262144
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "text"
    },
    "format": {
     "type": "string",
     "const": "text/html",
     "description": "the converted HTML file as the response body (text/html)"
    },
    "example": {
     "type": "string",
     "description": "the sample request body above, converted — what a the converted HTML file as the response body (text/html) looks like"
    }
   },
   "required": [
    "type",
    "format"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "text",
 "format": "text/html",
 "example": "<h1>Title</h1>\n<p>Some <strong>bold</strong> text.</p>\n"
}
```

## More

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