Automatically generate website thumbnails, link previews, and visual content for your social media posts. No manual screenshotting. No design tools. Just an API call.
Get Free API KeyYou're building a social media automation tool, a content curation app, or a marketing workflow. You need website thumbnails or link preview images — but you don't want to spin up Puppeteer, manage Chrome instances, or deal with headless browser crashes.
GrabShot captures any URL as an image with a single API call. Use it to generate thumbnails for link posts, create visual content from web pages, or build dynamic social cards.
// Capture a website thumbnail for a social media post
const screenshot = await fetch('https://grabshot.dev/api/screenshot', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'gs_your_key'
},
body: JSON.stringify({
url: 'https://example.com/article',
width: 1200,
height: 630,
format: 'webp',
quality: 85
})
});
// Returns the image directly — upload to your social platform
const imageBuffer = await screenshot.arrayBuffer();