> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrape.st/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Screenshot

> Download a screenshot captured during a scrape

Download a screenshot captured by a scrape that requested the `screenshot` output format. The response is the binary PNG image, not JSON.

<Note>
  Screenshots are stored temporarily — fetch them promptly after the scrape
  completes. Expired keys return `404`.
</Note>

## Path Parameters

<ParamField path="key" type="string" required>
  The screenshot key from the scrape result's `data.screenshot` field.
</ParamField>

## Response

The PNG image (`Content-Type: image/png`). When the key is unknown or expired:

<ResponseField name="error" type="object">
  `{ code: "not_found", message: "screenshot expired or missing" }` with status `404`.
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X GET https://scrape.st/web/screenshot/shot_01HZX... \
    -H "x-api-key: YOUR_API_KEY" \
    --output screenshot.png
  ```
</RequestExample>
