This guide walks you through everything you need to generate your first PDF with Blink PDF. By the end you’ll have a working API key, a successful render, and a PDF file saved locally — in about five minutes.Documentation Index
Fetch the complete documentation index at: https://docs.blinkpdf.io/llms.txt
Use this file to discover all available pages before exploring further.
Create your account and get an API key
Sign up for a free account at app.blinkpdf.io/login. The free tier includes 500 renders per month with no credit card required.Once you’re logged in:
- Open the API Keys section of your dashboard.
- Click Create new key.
- Copy the key — it starts with
sk_live_and is shown only once.
Make your first API call
Send a A successful response looks like this:The body is a raw PDF binary. Two response headers give you visibility into every render:
POST request to https://api.blinkpdf.io/v1/render with your Markdown content in the request body. Replace sk_live_... with your actual API key.| Header | Description |
|---|---|
X-Render-Ms | Total server-side render time in milliseconds |
X-Request-Id | Unique request ID — include this when contacting support |
The median render time is ~100ms. If you see a higher value on your first request, subsequent calls to the same node will be even faster — there are no cold starts.
Save and verify the PDF
If you used the
curl command above, the --output invoice.pdf flag writes the PDF directly to disk. For Python and Node.js, the examples above write invoice.pdf to your current working directory.Open the file in any PDF viewer to confirm the render. You should see a formatted document with the heading Invoice 0042, a bullet list, and the total line — all typeset from the Markdown you sent.Move your API key to an environment variable
Before you ship any code, move your API key out of your source files and into an environment variable. Hardcoded keys are a common source of credential leaks.Then reference it in your code:See the Authentication guide for a full security checklist and details on key rotation.
What to explore next
Authentication
Key formats, security best practices, environment variables, and error handling.
API Reference
Every request parameter, response header, and error code for
POST /v1/render.AI & LLM Workflows
Connect OpenAI or Claude output to Blink PDF for fully automated document pipelines.
Plans & Pricing
Compare tiers from Free (500/mo) to Enterprise with custom volume and SLAs.