Screenshot response on smaller screen

GET app.scrapingbee.com/api/v1/?url=https://httpbin-scrapingbee.cleverapps.io/html&render_js=false&screenshot=true&window_height=400&window_width=200

Request Params

KeyDatatypeRequiredDescription
urlstringThe URL you want to scrape
render_jsbooleanRender the website in an headless browser
screenshotbooleanWrap response in JSON.
window_heightnumberHeight, in pixel, of the viewport used to render the page you want to scrape.
window_widthnumberWidth, in pixel, of the viewport used to render the page you want to scrape.
premium_proxybooleanUse premium residential proxies
country_codenullPremium proxy geolocation.
block_adsbooleanBlock ads on the page you want to scrape
block_resourcesbooleanBlock images and CSS on the page you want to scrape
cookiesnullPass custom cookies to the webpage you want to scrape
custom_googlebooleanSet to true to scrape Google
devicestringControl the device the request will be sent from
forward_headersbooleanForward particular headers to the webpage, as well as other headers generated by ScrapingBee.
forward_headers_purebooleanForward only particular headers to the webpage, and nothing else.
return_page_sourcebooleanReturn the original HTML before the JavaScript rendering
session_idbooleanRoute multiple API requests through the same IP address.
transparent_status_codebooleanTransparently return the same HTTP code of the page requested.
waitnumberAdditional time in ms for JavaScript to render
wait_fornullCSS selector to wait for in the DOM.