Take Screenshot
Using the option will take a screenshot of the final rendered page after all browser commands have been executed and just before responding with the page HTML or Markdown. The PNG file will be stored temporarily and the URL to download the image will be provided in the response data.
Taking a screenshot only works when using a real browser. If you do not provide the useBrowser flag it will be enabled for you automatically.
Endpoint
Example Request
POST https://api.scrapi.tech/v1/scrape
{
"url": "https://deventerprise.com",
"useBrowser": true,
"includeScreenshot": true
}Testing
If you want to test this request or a variation of it, head to the Playground or the OpenAPI page.