Screenshot.to API allows you to upload pictures from everywhere. API Version 1 calls can be done using a POST method. You can use our API for personal uses or even for your own hosting platform, since external upload is possible.
Parameters for usage
The current API key is
Currently we support these actions:
- source a base64 encoded image string or the image file via POST request
sets the return format:
Note: Always use POST when uploading local files. URL encoding may alter the base64 source due to encoded characters or just by URL request length limit due to GET request.
The API responses will vary depending on the format parameter. When using JSON, the response will have headers status codes to allow you to easily notice if the request was OK or not.
Have a look on
- json This displays all the image uploaded information in JSON format.
- txt This returns the image direct URL in text/plain format.
- redirect This redirects to the image viewer URL.