Docs
Screenshot API
Screenshot API
Capture website screenshots
Usage
API URL:
Query Parameters
url
(required): The valid URL to be captured.width
(optional): The width of the output screenshot. Default is250
.height
(optional): The height of the output screenshot. Default is250
.viewportWidth
(optional): The width of the render viewport. Default is1080
.viewportHeight
(optional): The height of the render viewport. Default is1080
.forceReload
(optional): Forces a reload of the cached image. Default isfalse
.isMobile
(optional): Adds a mobile flag to the user agent. Default isfalse
.isFullPage
(optional): Renders the full page instead of the viewport crop. Default isfalse
.isDarkMode
(optional): Prefers the dark color scheme. Default isfalse
.deviceScaleFactor
(optional): Specifies the device scale factor (can be thought of as DPR). Default is1
.
Example:
https://wr.do/api/v1/scraping/screenshot?url=https://vmail.dev&key=example_key
Here are some example combinations of query parameters:
Use in your HTML