Use case
URL to PDF API
Save articles, receipts, reports and documentation pages as PDF without running a browser. Shotfly loads the page, removes cookie banners and ads, and prints it to PDF.

A4 · 21 pages564 KB
- 01
format=pdfreturns a PDF instead of an image; pages are A4, with background colours and images printed. - 02
Works with a public URL or with your own HTML (
html, POST only). - 03
cssadds print styles,hide_selectorsremoves elements such as headers or chat widgets, andwait_for_selectorwaits for content that loads late. - 04
One credit per successful PDF; failed renders and bot challenges are not charged.
One request.
Every option is a parameter; see the parameter reference.
Example
curl "https://api.shotfly.dev/v1/screenshot?url=https://example.com&format=pdf" \
-H "Authorization: Bearer $SHOTFLY_SECRET_KEY" -o page.pdfOther use cases
Website screenshot API Capture any public web page as PNG, JPEG, WebP or PDF with one HTTP request.Link preview API Thumbnails and metadata for any URL your users paste: title, description, Open Graph image and favicon.Website change monitoring Scheduled screenshots of any page, compared run to run, with alerts and verifiable archives.Screenshots for AI agents Give AI agents clean screenshots and the page as Markdown, through an MCP server or one API call. Failed captures are never billed.HTML to image API Render your own HTML and CSS to PNG, JPEG, WebP or PDF with one POST request: social cards, certificates, receipts and reports.Open Graph image API Generate og:image social cards from your own pages: a signed URL renders the page at 1200 × 630 and goes straight into your meta tags.Web page archiving API Scheduled archives of web pages with SHA-256 hashes and an RFC 3161 timestamp you can verify, kept in our storage or your own bucket.