# PDFik
> PDFik is an API that turns a URL/HTML/Markdown into PDF files and PNG/JPEG screenshots, and builds Factur-X / ZUGFeRD e-invoices (PDF/A-3) from invoice XML. Hosted in the EU. Every rendering feature is on every plan, Free included; test mode is free.
Base URL: https://api.pdfik.net — authenticate every request with the `X-API-Key` header. One request can return the file directly (`"wait": true`), or a job is queued and finished by polling or a signed webhook. Errors are RFC 7807 problem documents. Official SDKs: JavaScript/TypeScript (`@pdfik/client`), Python (`pdfik`), Java (`net.pdfik:pdfik-client`), C# (`Pdfik`), plus the `pdfik` CLI and an MCP server (`@pdfik/mcp`).
## Docs
- [Quickstart](https://docs.pdfik.net/quickstart.md): Create your first PDF with the PDFik API in one request (wait: true returns the file), or queue a URL or HTML job and poll or receive a webhook.
- [Authentication](https://docs.pdfik.net/authentication.md): How to obtain a PDFik API key in the dashboard and authenticate every request with the X-API-Key header.
- [Convert URL to PDF](https://docs.pdfik.net/url-to-pdf.md): Convert any publicly accessible webpage to PDF: one request returns the file, or queue the job — endpoint reference, request options, and examples.
- [Convert HTML to PDF](https://docs.pdfik.net/html-to-pdf.md): Render raw HTML into a PDF document: endpoint reference, request body, and examples for invoices, reports, and receipts.
- [Markdown to PDF](https://docs.pdfik.net/markdown-to-pdf.md): Convert Markdown (CommonMark plus GFM tables and strikethrough) to PDF with a built-in print stylesheet: endpoint reference, options, and examples.
- [Screenshots](https://docs.pdfik.net/screenshots.md): Capture any webpage or raw HTML as a PNG or JPEG screenshot: endpoint reference for url-to-image and html-to-image, image options, and examples.
- [PDF & Browser Options](https://docs.pdfik.net/pdf-options.md): Reference for the options and render blocks that customize PDF output and browser rendering behavior in PDFik requests.
- [E-Invoicing (Factur-X)](https://docs.pdfik.net/einvoicing.md): Generate Factur-X / ZUGFeRD hybrid e-invoices: PDF/A-3 output with embedded UN/CEFACT CII XML, block templates, profiles, and credit notes.
- [Webhooks](https://docs.pdfik.net/webhooks.md): Receive a signed POST when a PDF job finishes: webhook setup, HMAC signature verification, retries, and delivery behavior.
- [SDKs & Libraries](https://docs.pdfik.net/sdks.md): Official PDFik SDKs for JavaScript/TypeScript, Python, Java, and C#: typed clients with one-call file methods, automatic retries and status-polling helpers.
- [JavaScript SDK](https://docs.pdfik.net/javascript-sdk.md): PDFik JavaScript/TypeScript SDK for Node.js 24+, browsers, and Edge: native fetch, ESM/CJS builds, types, zero runtime dependencies.
- [Python SDK](https://docs.pdfik.net/python-sdk.md): PDFik Python SDK with sync and async clients, full type hints, and automatic retries built on httpx and tenacity.
- [Java SDK](https://docs.pdfik.net/java-sdk.md): PDFik Java SDK built on the Java 11+ HttpClient with no extra HTTP dependencies: synchronous and asynchronous PDF generation.
- [C# SDK](https://docs.pdfik.net/csharp-sdk.md): PDFik C# SDK for .NET Framework 4.6.2+ and .NET 8: Task-based and blocking clients, one-call file methods, System.Text.Json as the only dependency.
- [Command-Line (CLI)](https://docs.pdfik.net/cli.md): The pdfik command-line client: URLs and HTML to PDF from a terminal or CI (--sync returns the file at once), one binary or container image, wkhtmltopdf mode.
- [Integrations](https://docs.pdfik.net/integrations.md): Use PDFik without writing code: the MCP server for Claude and Cursor, the n8n node, the Zapier and Make apps, and llms.txt for AI coding assistants.
- [MCP (Claude, Cursor)](https://docs.pdfik.net/integrations/mcp.md): Install the PDFik MCP server to create PDFs, screenshots and Factur-X e-invoices from Claude Desktop, Claude Code, Cursor and other MCP clients.
- [n8n](https://docs.pdfik.net/integrations/n8n.md): Install the PDFik community node for n8n to turn URLs, HTML and Markdown into PDFs and screenshots inside your workflows.
- [Zapier](https://docs.pdfik.net/integrations/zapier.md): Create PDFs, screenshots and Factur-X e-invoices in Zapier with the PDFik actions.
- [Make](https://docs.pdfik.net/integrations/make.md): Create PDFs, screenshots and Factur-X e-invoices in Make scenarios with the PDFik modules.
- [Error Codes](https://docs.pdfik.net/error-codes.md): PDFik API error codes with meanings and fixes: HTTP status conventions, RFC 7807 problem responses, and troubleshooting steps.
- [Rate Limits](https://docs.pdfik.net/rate-limits.md): Rate limits and quotas per PDFik plan: request limits, monthly PDF and data quotas, 429 handling, and backoff recommendations.
- [Security](https://docs.pdfik.net/security.md): How PDFik treats your documents, credentials, and untrusted content: guaranteed deletion, sandboxed rendering, encryption, and signed webhooks.
- [Testing](https://docs.pdfik.net/testing.md): PDFik test mode: verify job submission, polling, webhooks, signatures, and downloads for free, without spending your rendering quota.
- [AI Support](https://docs.pdfik.net/ai-support.md): AI assistant with escalation to a human, for Pro and Business plans — embedded in the dashboard with context on your account, quota, keys, and recent jobs.
- [Invoicing & wFirma](https://docs.pdfik.net/invoicing.md): Automated, tax-compliant invoices for PDFik subscriptions and usage charges, generated on successful payment and sent to your billing email.
## API
- [OpenAPI specification](https://api.pdfik.net/openapi.json): machine-readable description of every public endpoint, its errors and the job-finished webhook
- [API reference](https://api.pdfik.net/docs): the same, rendered
## Optional
- [Terms of Service](https://docs.pdfik.net/legal/terms)
- [Privacy Policy](https://docs.pdfik.net/legal/privacy)
- [Cookie Policy](https://docs.pdfik.net/legal/cookies)
- [Refund Policy](https://docs.pdfik.net/legal/refunds)
- [Data Processing Agreement (DPA)](https://docs.pdfik.net/legal/dpa)
- [Service Level Agreement (SLA)](https://docs.pdfik.net/legal/sla)
- [Pricing](https://pdfik.net/pricing)
- [Status](https://status.pdfik.net)