Skip to main content

Screenshot

The ScrapeOps Proxy API Aggregator enables you to take a screenshot of the page before returning the HTML response.

To use this functionality, you need to add the screenshot query parameter to your request, along with the render_js and json_response query parameters.

For example:

curl -k "https://proxy.scrapeops.io/v1/?api_key=YOUR_API_KEY&url=http://example.com/&screenshot=true&render_js=true&json_response=true"

The screenshot will be returned in a base64 encoded string in a JSON response.

Using the Screenshot functionality will consume 10 API Credits as it requires the use of a headless browser.