# pagespool > Seven open-source document engines behind one API key: Docling, MarkItDown, WeasyPrint, veraPDF, Gotenberg, OCRmyPDF, EPUBCheck. ## API - Base URL: `https://api.pagespool.com`. Send API requests there. - [API reference](https://pagespool.com/docs): interactive; machine-readable OpenAPI spec at https://api.pagespool.com/openapi.json. - [Pricing](https://pagespool.com/pricing): Plans: Free, Essential and Scale. Credits reset each month and do not roll over. - Auth: send an `X-API-Key` header (create keys after signing in). - Anonymous requests work at a lower, IP-based rate limit. - [Health](https://api.pagespool.com/health): Returns 200 when the API is up. ## MCP - The Model Context Protocol surface is served by 7 servers, each at its own URL (streamable HTTP, JSON): - `docling` at `https://api.pagespool.com/mcp/docling/`. Tools: `convert_document`, `get_conversion`. - `markitdown` at `https://api.pagespool.com/mcp/markitdown/`. Tools: `convert_document`. - `weasyprint` at `https://api.pagespool.com/mcp/weasyprint/`. Tools: `render_pdf`. - `verapdf` at `https://api.pagespool.com/mcp/verapdf/`. Tools: `validate_pdfa`, `check_pdf_accessibility`. - `gotenberg` at `https://api.pagespool.com/mcp/gotenberg/`. Tools: `html_to_pdf`, `office_to_pdf`. - `ocrmypdf` at `https://api.pagespool.com/mcp/ocrmypdf/`. Tools: `ocr_pdf`, `get_ocr_result`. - `epubcheck` at `https://api.pagespool.com/mcp/epubcheck/`. Tools: `check_epub`. - `tools/list` works without a key. Tool calls use the same API key and credits as the REST API. - [MCP server](https://pagespool.com/connect): what each tool does and costs, and how to connect Claude, ChatGPT, Claude Code, Cursor, VS Code, or Codex (markdown: https://pagespool.com/connect.md). ## Free tools No account or API key needed. - [Convert HTML to PDF free](https://pagespool.com/tools/html-to-pdf) - [/tools/all](https://pagespool.com/tools/all) - [/tools/pdf-to-markdown](https://pagespool.com/tools/pdf-to-markdown) - [/tools/html-to-markdown](https://pagespool.com/tools/html-to-markdown) - [/tools/word-to-markdown](https://pagespool.com/tools/word-to-markdown) - [/tools/pdf-a-validator](https://pagespool.com/tools/pdf-a-validator) - [/tools/pdf-accessibility-checker](https://pagespool.com/tools/pdf-accessibility-checker) - [/tools/word-to-pdf](https://pagespool.com/tools/word-to-pdf) - [/tools/ocr-pdf](https://pagespool.com/tools/ocr-pdf) - [/tools/epub-validator](https://pagespool.com/tools/epub-validator) ## Docling - [Docling as a hosted API](https://pagespool.com/docling/hosted-api): Use docling-serve's API with one API key to convert PDF, Word, PowerPoint, Excel, HTML and images to Markdown and JSON, at 1 credit per PDF page. ## MarkItDown - [MarkItDown as an API](https://pagespool.com/markitdown/hosted-api): Send a PDF, Word, PowerPoint, Excel or HTML file to one endpoint and get Markdown back, converted by MarkItDown. A conversion costs 1 credit, and there is an MCP server for AI assistants. ## WeasyPrint - [WeasyPrint as a hosted API](https://pagespool.com/weasyprint/hosted-api): Send HTML and get a PDF from WeasyPrint instead of installing the Pango stack. A render costs 1 credit, paid plans add PDF/A, and agents get an MCP server. - [Convert HTML to PDF with curl](https://pagespool.com/weasyprint/guides/html-to-pdf-curl): Render HTML to PDF from the command line with one curl call to the hosted WeasyPrint. You can start without an API key. - [HTML to PDF in Python](https://pagespool.com/weasyprint/guides/html-to-pdf-python): Generate a PDF from HTML in Python with one requests call to the hosted WeasyPrint instead of installing the Pango stack or wkhtmltopdf. - [HTML to PDF in Node.js](https://pagespool.com/weasyprint/guides/html-to-pdf-node): Render HTML to PDF from Node.js with the built-in fetch and the hosted WeasyPrint instead of Puppeteer and a Chromium download. - [PDF headers, footers and page numbers with CSS](https://pagespool.com/weasyprint/guides/pdf-headers-and-footers): Add headers, footers and "Page X of Y" numbers to WeasyPrint PDFs with CSS @page margin boxes. - [PDF page size, orientation and margins with CSS @page](https://pagespool.com/weasyprint/guides/pdf-page-size-and-margins): Set A4, Letter, landscape or custom PDF page sizes and margins with the CSS @page rule. The API has no page size parameter. - [What CSS works in the hosted WeasyPrint](https://pagespool.com/weasyprint/guides/css-support): Which CSS the hosted WeasyPrint supports for PDFs: page size, margin boxes, page counters, page breaks, fonts, flexbox and grid. Tested items are marked. - [Generate invoice PDFs from HTML templates](https://pagespool.com/weasyprint/guides/invoice-pdf-from-html): Turn an HTML invoice template into a PDF: fill it with your template engine, set the page layout in CSS and POST it to /v1/weasyprint/render. - [Images and custom fonts in API-rendered PDFs](https://pagespool.com/weasyprint/guides/inline-images-and-fonts): The hosted WeasyPrint loads nothing from the network. Put images, fonts and CSS into the HTML as data: URIs, as shown here. - [HTML to PDF from AI agents with MCP](https://pagespool.com/weasyprint/guides/html-to-pdf-mcp): The WeasyPrint MCP server gives agents a render_pdf tool that returns a download link to the PDF. Set it up in Claude Code or another MCP client. - [API keys, rate limits and credits](https://pagespool.com/weasyprint/guides/api-keys-and-rate-limits): Without a key, the hosted WeasyPrint gives you 10 free credits a day per IP address. A key adds monthly credits and a higher limit. - [Render limits and error codes](https://pagespool.com/weasyprint/guides/render-errors-and-limits): The WeasyPrint API's limits and error codes, from 400 external_resource_blocked to 504 render_timeout, with the fix for each. - [Hosted WeasyPrint vs PDFShift](https://pagespool.com/weasyprint/compare/pdfshift): PDFShift renders HTML or a URL with Chromium and can run JavaScript. pagespool renders the HTML you send with WeasyPrint 70 and runs no JavaScript. - [Hosted WeasyPrint vs CraftMyPDF](https://pagespool.com/weasyprint/compare/craftmypdf): CraftMyPDF fills templates you design in its web editor with JSON data. The hosted WeasyPrint renders the finished HTML your own code produces. - [Hosted WeasyPrint vs Api2Pdf](https://pagespool.com/weasyprint/compare/api2pdf): Api2Pdf offers Chrome, wkhtmltopdf and LibreOffice behind one API and bills compute time. pagespool renders HTML with WeasyPrint 70 at 1 credit per render. - [Hosted WeasyPrint vs DocRaptor](https://pagespool.com/weasyprint/compare/docraptor): DocRaptor runs the commercial Prince engine with PDF/A and PDF/UA. pagespool runs the open-source WeasyPrint 70, with PDF/A-2b and PDF/A-3b on paid plans. - [Hosted WeasyPrint vs SelectPdf](https://pagespool.com/weasyprint/compare/selectpdf): SelectPdf sells a .NET library that runs in your process and a hosted REST API. The hosted WeasyPrint is an API with nothing to install. - [WeasyPrint or Gotenberg for HTML to PDF](https://pagespool.com/weasyprint/compare/gotenberg): Both engines are hosted here behind the same key. WeasyPrint lays out print CSS without a browser, while Gotenberg runs Chromium and LibreOffice. - [Webhook JSON to PDF, sent by email (n8n)](https://pagespool.com/weasyprint/templates/webhook-json-to-pdf-email): An n8n workflow that turns nested JSON from a webhook into a formatted PDF with WeasyPrint and emails it, using only n8n's own nodes. - [New sheet row to invoice PDF (n8n)](https://pagespool.com/weasyprint/templates/row-to-pdf): An n8n workflow that turns each new Google Sheets row into an invoice PDF with WeasyPrint and emails it. Swap the trigger for Airtable or monday.com. - [Scheduled report as a PDF, sent by email (n8n)](https://pagespool.com/weasyprint/templates/scheduled-report-pdf-email): An n8n workflow that fetches data on a schedule, builds a color-coded HTML report, renders it to PDF with WeasyPrint and emails it every morning. ## veraPDF - [veraPDF as an API: PDF/UA checks for 10 credits](https://pagespool.com/verapdf/hosted-api): veraPDF REST is hosted here behind one API key. A PDF/UA or WTPDF check costs 10 credits, a PDF/A check 2. Your veraPDF REST client works after you change its base URL. ## Gotenberg - [Gotenberg as an API](https://pagespool.com/gotenberg/hosted-api): Point any Gotenberg client at one base URL with your API key: this API serves Gotenberg 8's own routes. It converts HTML, Markdown, web pages and Office files to PDF, merges and splits PDFs and produces PDF/A, for 1 credit per request. ## OCRmyPDF - [OCRmyPDF as an API](https://pagespool.com/ocrmypdf/hosted-api): Send a scanned PDF or image with one API key, and hosted OCRmyPDF and Tesseract return it as a searchable PDF/A. ## EPUBCheck - [EPUBCheck as an API](https://pagespool.com/epubcheck/hosted-api): Check EPUB files with EPUBCheck over HTTPS instead of installing Java. One call returns EPUBCheck's full JSON report and a summary, for 2 credits. ## Free tools - [All free tools](https://pagespool.com/tools/all): Nine free tools, one line each: documents to Markdown or PDF, PDF/A, PDF/UA and EPUB checks, and OCR for scans. You need no account. ## About - [About](https://pagespool.com/about) - [Privacy](https://pagespool.com/privacy) - [Terms](https://pagespool.com/terms) - [Legal notice](https://pagespool.com/imprint)