Webpage Screenshot

GET /webpage/screenshot

Request

Parameter Description Type Required Default
url Webpage url string yes
type Screenshot type string no png
full_page Whether to take a screenshot of the full scrollable page string no false
user_agent Specific user agent to use in this page string no
viewport_width Viewport width in pixels number no
viewport_height Viewport height in pixels number no
ttl Number of seconds to keep a screenshot in the cache string no 604800 (1 week)

Format values

jpeg, png

Response

Parameter Description Type
id File id String
name File name String
size File size String
url Download URL String

File id can be used to download the file using download API.

© 2018 LabStack. All Rights Reserved.