Skip to main content

YouTube thumbnail size checker API

Check your thumbnail against YouTube's published requirements, see where the duration badge roughly covers it, and export a 16:9 copy, all without uploading the image.

Request​

FieldTypeDefaultDescription
widthintegerImage width in pixels.
heightintegerImage height in pixels.
file_size_bytesintegerFile size in bytes.
formatstringMIME type, e.g. image/png or image/jpeg.

Call it​

curl -X POST https://postboost.co/app/api/tools/youtube-thumbnail-size-checker \
-H 'Content-Type: application/json' \
-d '{"width":1280,"height":720,"file_size_bytes":921600,"format":"image/png"}'

With a token, send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"ok": true,
"checks": [
{
"key": "ratio",
"label": "Aspect ratio",
"status": "pass",
"detail": "16:9, needs 16:9"
},
{
"key": "width",
"label": "Width",
"status": "pass",
"detail": "1280 px, needs at least 640 px"
},
{
"key": "file_size",
"label": "File size",
"status": "pass",
"detail": "0.88 MB, needs 2 MB or less"
},
{
"key": "format",
"label": "Format",
"status": "pass",
"detail": "PNG"
}
]
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Check a YouTube thumbnail's ratio, width, file size and format against YouTube's requirements with the PostBoost check-youtube-thumbnail tool.

Errors​

StatusWhen
401The Authorization header holds an invalid token. Leave it out to call as a guest.
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429A limit is reached; see limits.