ClearshotAPI

How to take URL screenshots with PHP

Taking screenshots of a website or other URL with PHP is simple. Keeping framework agnostic, you can use a simple cURL request to easily receive a screenshot of any URL, with a range of options on resolution, sizing and response types. 

You will need a Clearshot access token which you can get here.

Next we pass the access token along with the target URL to Clearshot’s screenshot API endpoint.

For further documentation, parameters & error codes, check out the full documentation here.