Screenshot
Last updated
Last updated
url*
string
The URL of the website for which you want to capture a screenshot. It should be URL encoded and must include the protocol (http://
or https://
) to be processed correctly.
format
string
Defines the image format to be used. One of png
, jpeg
, webp
.
Defaults to jpeg
quality
integer
The quality of the image between 0
and 100
. Works only with the jpeg
and webp
formats.
Defaults to 80
disable_ads
bool
Prevent ads from being displayed on the captured screenshot. Block requests from popular ad-networks.
Defaults to false
full_page
bool
It captures a full scrollable page screenshot.
Defaults to false
response_type
bool
The type of response to return. Can be either image
or json
.
When the json
type is used, the JSON response with the link to the screenshot hosted on our CDN is returned.
When the image
type is used, the binary image is returned.
Defaults to image
width
integer
The width of the viewport to use (in pixels).
Defaults to 1920
height
integer
The height of the viewport to use (in pixels).
Defaults to 1080
hide_cookie_banners
bool
Prevent cookie banners and popups from being displayed.
Defaults to false
animations
bool
Enables/disables CSS animations and transitions.
Defaults to true