# ISHOB Markdown-to-Document Renderer

> ISHOB Markdown-to-Document Renderer is a paid API for AI agents from api.ishob.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Converts Markdown text into a styled PDF, Word DOCX, or standalone HTML file and returns a 24-hour private download link

## Facts

- Endpoint: POST https://api.ishob.com/v1/render-doc?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ishob-markdown-to-document-renderer-7ffce3c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q3UHAUYP0wmyR-P05Tf9b

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 ishob-markdown-to-document-renderer-7ffce3c4 -d '<json body>'
```

Example prompt: Take this markdown report — including the tables and code blocks — and render it as a styled A4 PDF with page numbers; use this custom CSS to make the headings navy blue, and name the file 'quarterly-summary.pdf'.

## When to prefer this

Choose this endpoint when you need to convert agent-generated or user-supplied Markdown into a polished, downloadable document (PDF, DOCX, or HTML) with custom styling, correct page sizing, and page numbers — especially in automated pipelines where no human has a local document editor. It is particularly well-suited for AI agents that produce structured reports (with tables, code blocks, and headings) and need to deliver a professional file to an end user via a download link, without any dependency on local software or browser-based rendering.

## Known failure modes

- Markdown exceeds 200,000 character limit — request rejected with validation error
- CSS exceeds 50,000 character limit — request rejected
- Invalid format enum value — returns 400 with schema error
- External image URLs in markdown are ignored (only inline data: URIs are embedded)
- Download link expires after 24 hours — subsequent access returns 404
- Malformed markdown may produce unexpected rendering artifacts in PDF output

## How this service works

Render Markdown (tables, code, lists, headings) into a styled PDF (custom CSS, A4/Letter/Legal, page numbers), a Word DOCX or standalone HTML; returns a private download link valid for 24 hours. External resources are never fetched (inline data: images only).

## Output

A JSON object containing the output format, file size in bytes, number of pages (for PDF), an expiry timestamp (24 hours from generation), and a private download URL pointing to the rendered PDF, DOCX, or HTML file hosted on ISHOB's servers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "css": {
   "type": "string",
   "maxLength": 50000,
   "description": "Extra CSS (pdf/html)"
  },
  "title": {
   "type": "string",
   "maxLength": 200
  },
  "format": {
   "enum": [
    "pdf",
    "docx",
    "html"
   ],
   "type": "string",
   "default": "pdf"
  },
  "filename": {
   "type": "string",
   "maxLength": 60
  },
  "markdown": {
   "type": "string",
   "maxLength": 200000
  },
  "page_size": {
   "enum": [
    "A4",
    "Letter",
    "Legal"
   ],
   "type": "string",
   "default": "A4"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 10129,
  "pages": 1,
  "format": "pdf",
  "expires_at": "...",
  "download_url": "https://api.ishob.com/v1/files/<token>/report.pdf"
 }
}
```

## More

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