Skip to content
← Back to API index
GET /screenshot/thumbnail

Retrieve thumbnail image

Options

Options are grouped for easier scanning, similar to parameter-focused docs.

App

bottom

query integer Optional

Example: 0

Number of pixels to remove from the bottom edge. The combined top and bottom values must be less than the source image height.

filename

query string Optional

Optional filename for Content-Disposition attachment

id

query integer Required

Screenshot ID

left

query integer Optional

Example: 0

Number of pixels to remove from the left edge. The combined left and right values must be less than the source image width.

quality

query integer Optional

Example: 100

JPEG/WEBP quality (1-100)

ratio

query enum(fit, fill) Optional

Example: fit

Aspect ratio mode: fit (preserve) or fill (crop)

right

query integer Optional

Example: 0

Number of pixels to remove from the right edge. The combined left and right values must be less than the source image width.

scale

query number Optional

Example: 1

Scale factor

shot

query integer Optional

Example: 1

Which screenshot if multiple requested

top

query integer Optional

Example: 0

Number of pixels to remove from the top edge. The combined top and bottom values must be less than the source image height.

zoom

query integer Optional

Example: 100

Zoom percentage

Output & Format

format

query enum(png, jpeg, webp) Optional

Example: png

Image format (`webmp` alias is accepted and normalized to `webp`)

height

query integer Optional

Thumbnail height in pixels

width

query integer Optional

Thumbnail width in pixels

Responses

200

Thumbnail image

No JSON example provided in OpenAPI.

400

Invalid parameters

{
  "error": "Request validation failed",
  "code": "VALIDATION_ERROR",
  "fields": {
    "url": [
      "URL is required"
    ],
    "country": [
      "Country code must be ISO 3166-1 alpha-2"
    ]
  }
}
401

Unauthorized

{
  "success": false,
  "error": "Invalid API key",
  "code": "INVALID_API_KEY",
  "details": {
    "request_id": "req_123456"
  }
}
404

Screenshot not found, not ready, or no image was captured

{
  "success": false,
  "error": "Invalid API key",
  "code": "INVALID_API_KEY",
  "details": {
    "request_id": "req_123456"
  }
}
500

Server error

{
  "success": false,
  "error": "Invalid API key",
  "code": "INVALID_API_KEY",
  "details": {
    "request_id": "req_123456"
  }
}