This API should NOT be used to embed a screenshot directly on a web page unless you are able to hide your API key for visitors. This API is best suited to download thumbnails offline.
We recommend to use the new Embed API instead. We will keep supporting this legacy API. We have added a few parameters.
The list of options available below. Only the url parameter is required, other values default to the option you choose in your profile.
You need to ensure that all parameters are encoded correctly, especially the url parameter.
timestamp: use a different timestamp to geenrate a new image. You can use any string but we recommend to use the current date:
timestamp=2017-02-04:18:56:03. You should use it in place of generate=1
country: you can take screenshots from US or Germany. Contact us for other countries.
bwidth and bheight define the viewport of the browser.
You can track the status of the screenshots through the HTTP headers sent back by thumbalizr.com:
X-Thumbalizr-Status: status of the screenshot:
X-Thumbalizr-Generated: date the screenshot was generated, for example 02 Apr 2014 11:03:24 GMT.
X-Thumbalizr-Error: reason why the screenshot failed.