Set PDF margins

Now you can set PDF margins for the resulting PDF file.

Changelog 1 min read

Written by

Dmytro Krasun

Published on

Since today, you can set PDF margins for the resulting PDF file.

https://api.screenshotone.com/take?pdf_margin=20px&access_key=<access key>&url=https://example.com&format=pdf

You can also set the margin for each side separately:

https://api.screenshotone.com/take?pdf_margin=20px&pdf_margin_top=0px&access_key=<access key>&url=https://example.com&format=pdf

In this example, the margin for all sides will be 20px except the top, which will be 0px.

The result will be returned as a PDF file with the specified margins.

Check out the documentation for more details. And in case of any questions, feel free to contact us at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
An improved screenshot history page

An improved screenshot history page

Daily, I work as hard as I can to ensure that ScreeenshotOne is the best screenshot API out there possible. But I rarely share updates but trust me, a ton of them might go unnoticed. Let's fix this situation.

Read more

1 min read

Get favicon used by a website with ScreenshotOne API

Get favicon used by a website with ScreenshotOne API

Now you can get favicon used by a website with ScreenshotOne API in just one simple API call.

Read more

1 min read

Improved uploading and error handling to S3-compatible storage

Improved uploading and error handling to S3-compatible storage

Today, the new version of ScreenshotOne API was deployed to production that enables a retries mechanism when uploading to an S3 storage and more granular error handling.

Read more

1 min read

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.