PDF Generator API for any webpage.
Convert any webpage into a print-ready PDF. Pick the paper size, orientation and margins.
- 500 free credits every month
- No card to start
- Failed requests cost nothing
Try it on your own URL






Print-ready PDFs from any page.
No headless browser to run and no print stylesheets to fight. Each request renders the page in a real browser and returns a PDF.
Any paper size
Letter, legal, or A0 to A6, in portrait or landscape, so the PDF matches how it will be printed or filed.
format: "a4"Margins and scale
Set each margin in millimetres and scale the page from 0 to 2 to fit more, or less, on every sheet.
scale: 1.5Desktop or mobile layout
Render the desktop page by default, or emulate a phone to capture the responsive mobile layout.
device: "mobile"Clean pages
Hide cookie banners and try to get past CAPTCHAs, so the PDF shows the page rather than the popups.
hideCookie: trueTimestamped records
Add a timestamp watermark to the PDF for audit trails, compliance records and legal evidence.
addTimestamp: trueFrom any country
Generate the PDF through a proxy in another country to capture localized pricing, languages and terms.
proxyCountry: deWhat customers say.
“We use Geekflare to generate PDF reports from URLs and are happy with rendering. When it fails, it doesn't deduct credit, which is good for me.”
“Great API and even better customer support. They went above and beyond to help me fix a rendering issue. Fast response times and effective solutions. 5 stars!”
“Its been couple of years we are using Geekflare API, we like its stable production ready performance and cost-effectiveness of accessing multiple APIs through a single plan.”
Jitendra RauloDirector, Aarav InfotechSave the page each country sees.
Prices, terms and disclosures often change by country. Add a country code and the PDF is generated through a proxy there, so the document matches what local users see.
proxyCountrygenerates through any of 194 countries- Archive localized pricing, terms and disclosures
- 0
- Countries
- 4 credits
- Added only when you pick a country
The parameters you'll use most.
What each one does and what it costs.
- urlstring—
The page to convert. Any public URL.
- formatstringIncluded
letter, legal, or a0 to a6. Defaults to a4.
- orientationstringIncluded
portrait or landscape. Defaults to portrait.
- marginobjectIncluded
top, bottom, left and right, in millimetres.
- scalenumberIncluded
Rendering scale from 0 to 2. Defaults to 1.
- devicestringIncluded
desktop or mobile. Defaults to desktop.
- hideCookiebooleanIncluded
Hide cookie popups. Defaults to false. skipCaptcha tries to get past CAPTCHAs.
- addTimestampbooleanIncluded
Add a timestamp watermark to the PDF.
- proxyCountrystring+4
Generate through a proxy in this country, e.g. "de".
| Parameter | Type | What it does | Credits |
|---|---|---|---|
| url | string | The page to convert. Any public URL. | — |
| format | string | letter, legal, or a0 to a6. Defaults to a4. | Included |
| orientation | string | portrait or landscape. Defaults to portrait. | Included |
| margin | object | top, bottom, left and right, in millimetres. | Included |
| scale | number | Rendering scale from 0 to 2. Defaults to 1. | Included |
| device | string | desktop or mobile. Defaults to desktop. | Included |
| hideCookie | boolean | Hide cookie popups. Defaults to false. skipCaptcha tries to get past CAPTCHAs. | Included |
| addTimestamp | boolean | Add a timestamp watermark to the PDF. | Included |
| proxyCountry | string | Generate through a proxy in this country, e.g. "de". | +4 |
What you can do with the PDF Generator API.
Turn dashboards into PDF reports
Point it at a report page your app can share by link, and email the PDF to customers, without a separate PDF template.
- Reuse the pages you already have
- Landscape for wide tables and charts
- Your own margins and paper size
POST /url2pdf
{
"url": "https://app.example.com/reports/q3",
"format": "a4",
"orientation": "landscape"
}Your first PDF, in a few lines.
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import Url2PdfDto
with GeekflareClient(api_key="<api-key>") as client:
result = client.url2_pdf(
Url2PdfDto(
url="https://example.com"
)
)
print(result)One API. Every stack.
One account works from an agent, a workflow builder, an SDK or your own service.
MCP server
Sign in once and Claude, ChatGPT, Cursor or Codex can use Geekflare's tools directly, with no glue code to write.
LLM & agent pipelines
LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.
Workflow builders
Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.
SDKs & REST
First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.
How many PDFs each plan covers.
Every PDF costs the same, however many pages it has. Failed requests cost nothing.
| Covered per month | Free $0/mo No card | Starter $19/mo | Most popular Growth $69/mo | Business 500K $299/mo | Business 1M $499/mo |
|---|---|---|---|---|---|
Credits a month | 500 | 20,000 | 100,000 | 500,000 | 1,000,000 |
PDFsAny paper size, orientation or number of pages.5 credits | 100 | 4,000 | 20,000 | 100,000 | 200,000 |
| Requests per second | 1 | 5 | 10 | 25 | 25 |
- Free$0/moNo card
- Credits a month
- 500
- PDFs5 credits
- 100
- Requests per second
- 1
- Starter$19/mo
- Credits a month
- 20,000
- PDFs5 credits
- 4,000
- Requests per second
- 5
- GrowthMost popular$69/mo
- Credits a month
- 100,000
- PDFs5 credits
- 20,000
- Requests per second
- 10
- Business 500K$299/mo
- Credits a month
- 500,000
- PDFs5 credits
- 100,000
- Requests per second
- 25
- Business 1M$499/mo
- Credits a month
- 1,000,000
- PDFs5 credits
- 200,000
- Requests per second
- 25
Before you integrate the PDF API.
Everything else is in the endpoint docs, and our support team replies to every email.
Open the endpoint docsproxyCountry adds 4 credits. Failed requests cost nothing.format and orientation; the default is A4 portrait.margin takes top, bottom, left and right in millimetres, and scale sets the rendering scale from 0 to 2.device: "mobile" to capture the responsive mobile layout instead.proxyCountry routes the request through a proxy in that country, which often gets past these blocks.Ask AI about Geekflare
Open the question in the assistant you already use.
100 PDFs a month, free.
The free tier renews every month and needs no card. Turn your first page into a PDF in a single call.
