Fail ScreenshotOne API requests on purpose

Use a new option to fail ScreenshotOne API requests on purpose.

1 min read

Written by

Dmytro Krasun

Published on

Use fail_if_request_failed option to fail the API request if any matched request failed:

https://api.screenshotone.com/take?fail_if_request_failed=*images.example.com*&url=https://example.com/&access_key=<access key>

In the example above, the API request will fail if the request to *images.example.com* fails or any other request that matches the pattern.

It is useful if you in specific cases you want to ensure that all resources are loaded. Also, notice that failed requests are not counted towards your rendering quota.

As always, if you have any questions, please, reach out at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Fail rendering if the content contains a string

Fail rendering if the content contains a string

There is a set of use cases when you want to fail screenshot rendering and retry it if the content of the page contains a string.

Read more

1 min read

Improving performance and stability by consolidating validation and access check logic in the API gateway

Improving performance and stability by consolidating validation and access check logic in the API gateway

For the past few days, I have been working on improving the stability and performance of the ScreenshotOne API. I started from low-hanging fruits—moving validations and access key management from rendering services to ScreenshotOne's API gateway. The API will be more stable and performant as a result. If you are curious why, please continue reading.

Read more

2 min read

ScreenshotOne API supports GPU Rendering

ScreenshotOne API supports GPU Rendering

From today ScreenshotOne supports GPU rendering for both regular and animated website screenshots. The API now leverages the latest in graphics processing technology to bring your screenshot needs to a whole new level.

Read more

2 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.