Skip to content
POST /api/v1/markdown-to-pdf

Markdown to PDF Converter

Convert Markdown content to a PDF document

Parameters

name in type required description
markdown body string required Markdown Content
page_size body string optional Page Size one of A4LetterLegal default A4
orientation body string optional Orientation one of portraitlandscape default portrait
margin body string optional e.g. 10mm, 1in, 2cm default 20mm
title body string optional Shown in PDF metadata and as heading

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s -X POST "https://apixies.io/api/v1/markdown-to-pdf" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"markdown":"..."}'

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

body
The rendered PDF, served as application/pdf.
example response 200
HTTP/1.1 200 OK
Content-Type: application/pdf

<raw file bytes, not a JSON envelope>

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy