bottom
query integer Facultatif Exemple : 0
Bottom crop edge in pixels
/screenshot/thumbnail Retrieve thumbnail image
Les options sont regroupées pour faciliter la lecture, sur le modèle d’une documentation centrée sur les paramètres.
bottominteger Facultatif Exemple : 0
Bottom crop edge in pixels
filenamestring Facultatif Optional filename for Content-Disposition attachment
idinteger Obligatoire Screenshot ID
leftinteger Facultatif Exemple : 0
Left crop edge in pixels
qualityinteger Facultatif Exemple : 100
JPEG/WEBP quality (1-100)
ratioenum(fit, fill) Facultatif Exemple : fit
Aspect ratio mode: fit (preserve) or fill (crop)
rightinteger Facultatif Exemple : 0
Right crop edge in pixels
scalenumber Facultatif Exemple : 1
Scale factor
shotinteger Facultatif Exemple : 1
Which screenshot if multiple requested
topinteger Facultatif Exemple : 0
Top crop edge in pixels
zoominteger Facultatif Exemple : 100
Zoom percentage
formatenum(png, jpeg, webp) Facultatif Exemple : png
Image format (`webmp` alias is accepted and normalized to `webp`)
heightinteger Facultatif Thumbnail height in pixels
widthinteger Facultatif Thumbnail width in pixels
200 Thumbnail image
Aucun exemple JSON fourni dans 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 or not ready
{
"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"
}
}