Screenshot API is a simple endpoint to convert any URL to PNG or PDF. It uses Google Chrome to render the page and works perfectly with JavaScript-rendered pages.
The Screenshot API has a lot useful features:
Screenshot API only supports one GET
endpoint. Send this request to take a screenshot from the given URL:
curl -X 'GET' 'https://anyapi.io/api/v1/screenshot?url=https%3A%2F%2Fexample.com&apiKey=<YOUR_API_KEY>'
which would return the screenshot in PNG or PDF format.
This API provides the following endpoints:
Check out the Website Screenshot API Docs for more details.