URL to PDF — GoScreenAPI

Convert Any URL to PDF with One API Call

Generate pixel-perfect PDFs from any website. Invoices, reports, dashboards — set format=pdf and you're done.

250 free screenshots/month No credit card required REST API · JSON
python
import requests

response = requests.post(
    'https://goscreenapi.com/api/v1/screenshot',
    headers={'X-API-Key': 'gsc_your_key'},
    json={
        'url': 'https://example.com/invoice/123',
        'format': 'pdf',
        'full_page': True,
        'block_ads': True,
        'css': '@media print { .no-print { display: none; } }'
    }
)
pdf_url = response.json()['image_url']
Features

Everything you need.
Nothing you don't.

Full-Page PDF

Capture the entire scrollable page as a single PDF document.

Custom CSS Injection

Inject print CSS to hide headers, footers, or nav elements.

Block Ads

Remove ad banners and cookie dialogs before PDF generation.

JS-Rendered Pages

Full Chromium rendering — dynamic dashboards and SPAs work perfectly.

Async Processing

Large pages processed in background with webhook notification.

CDN-Hosted Output

PDF returned as a CDN URL — no storage setup needed.

Use Cases

Built for real workflows

From solo developers to enterprise teams — GoScreenAPI fits into any stack.

Invoice Generation

Convert HTML invoice pages to PDF for billing systems.

Report Archiving

Generate PDF snapshots of dashboards and analytics pages.

Documentation

Export web documentation to PDF for offline distribution.

Legal & Compliance

Archive web pages as PDF for audit trails.

API Reference

Key Parameters

Full reference at goscreenapi.com/docs

Parameter Type Description
url string Target URL (required)
format string Set to "pdf" for PDF output
full_page boolean Capture full scrollable page
css string Custom CSS injected before render
block_ads boolean Remove ads and cookie banners
async boolean Background processing with webhook
Why GoScreenAPI

Speed. Scale. Simplicity.

< 3s
Avg. response time

Sync mode results in under 3 seconds for most pages.

99.9%
Uptime SLA

Production-grade reliability with redundant infrastructure.

150 req/min
Rate limit (Pro)

Handle high-volume workloads without throttling.

FAQ

Common questions

POST to /api/v1/screenshot with format=pdf. The response includes a URL to the generated PDF.
Yes. GoScreenAPI uses Chromium, so JS-rendered dashboards and SPAs generate correctly.
Yes. Use the css parameter to inject any CSS — useful for hiding navigation or forcing print styles.
Yes. Set full_page=true to capture the entire scrollable page as a single PDF.
Simple pages: 1–3 seconds. Complex pages: use async=true with a webhook_url.
PDFs are hosted on our CDN and returned as a URL. No storage setup required on your end.

Start building with GoScreenAPI

250 free screenshots every month. No credit card required. Production-ready in minutes.