render

Convert Markdown to PDF (API key)

Convert GitHub-flavoured Markdown (tables, code, Mermaid, math, alerts, footnotes) to a tagged PDF in about a second. Options can also come from YAML frontmatter.

post/api/v1/md

Request

  • Base URL: https://makespdf.com
  • URL: https://makespdf.com/api/v1/md
  • Auth: one of:
    • HTTP bearer
    • none

Request body

markdownstring required

GitHub-flavoured Markdown source. Max 200KB of text - inline data: image payloads are excluded from that budget and bounded by the image limits (5MB each, 20 per document). Request body max 15MB.

Response

Rendered PDF (PDF/A-2A + PDF/UA-1 dual-compliant, tagged). Send Accept: application/json for metadata instead of bytes.

successtrue required
templateIdstring

Stored template rendered (/render only).

pageCountinteger required
sizeBytesinteger required
renderMsinteger required
artifactIdstring

Render artifact id; download again via GET /api/v1/artifacts/{id}/pdf.

credits_deductedinteger
remaining_balanceinteger

Changes

No recorded changes to this operation across all 1 revision of this API.