Skip to main content
GET
/
web
/
screenshot
/
{key}
curl -X GET https://scrape.st/web/screenshot/shot_01HZX... \
  -H "x-api-key: YOUR_API_KEY" \
  --output screenshot.png
{
  "error": {}
}
Download a screenshot captured by a scrape that requested the screenshot output format. The response is the binary PNG image, not JSON.
Screenshots are stored temporarily — fetch them promptly after the scrape completes. Expired keys return 404.

Path Parameters

key
string
required
The screenshot key from the scrape result’s data.screenshot field.

Response

The PNG image (Content-Type: image/png). When the key is unknown or expired:
error
object
{ code: "not_found", message: "screenshot expired or missing" } with status 404.
curl -X GET https://scrape.st/web/screenshot/shot_01HZX... \
  -H "x-api-key: YOUR_API_KEY" \
  --output screenshot.png