Thumbnail Generation

Website thumbnail API. Any URL to image.

Turn any URL into a pixel-perfect thumbnail with one API call. Custom sizes, CDN-cached results, and batch generation. No browser automation or dependencies required.

Website thumbnail API

A website thumbnail API converts any URL into a scaled screenshot image, ideal for link preview features, blog post cards, e-commerce listings, and website directory galleries. One GET request returns the image at your specified dimensions, with CDN caching for fast repeat delivery and no browser automation to manage.

Website thumbnail API use cases

Video & blog thumbnails

Auto-generate preview images for every article, video, or course at publish time. No manual design work.

Link previews (OG images)

Capture any shared link as an image to render in chat apps, social feeds, or link aggregators.

E-commerce product cards

Generate product page thumbnails automatically for marketplace listings, emails, or comparison pages.

Dashboard thumbnails

Show a live snapshot of any analytics dashboard in email digests or notification feeds.

File & doc previews

Render HTML invoices, reports, or documents as thumbnail images for quick preview in admin panels.

Website directory listings

Auto-populate a website directory or gallery with fresh thumbnails of every listed site.

Popular thumbnail sizes

Use thumb_width to resize on the fly, no extra cost.

1200 × 630
Social card
Facebook, LinkedIn, OG image
1280 × 720
YouTube thumbnail
Full HD, 16:9 ratio
1200 × 675
Twitter card
summary_large_image
600 × 600
Square tile
Instagram, app stores
400 × 300
Small card
Grid listings, sidebars
200 × 150
Mini thumb
Chat previews, tooltips

Generate URL thumbnails in any language

One GET request returns the image. No SDK, no dependency, no hassle.

# Generate a thumbnail for any URL
curl "https://screenshotcore.com/api/v1/screenshot" \
  -G \
  --data-urlencode "url=https://example.com" \
  --data-urlencode "width=1280" \
  --data-urlencode "height=720" \
  --data-urlencode "thumb_width=640" \
  --data-urlencode "output=image" \
  --data-urlencode "token=YOUR_API_KEY" \
  -o thumbnail.jpg

Website thumbnail API: FAQ

How do I generate a thumbnail from a URL?

Make a GET request to the screenshot API with the target URL and your desired dimensions (width, height, thumb_width). The API renders the full page in a headless browser and returns a scaled JPEG or PNG thumbnail. One request, one image. No browser automation or dependencies required.

Are generated thumbnails cached?

Yes. By default, thumbnails are cached at the CDN layer. Pass fresh=true to force a new capture for any URL. Use the cache to serve repeat requests at zero latency, ideal for link preview features that show the same URLs repeatedly.

What thumbnail sizes does the API support?

The thumbnail API supports any custom width and height. Set width and height for the viewport, then use thumb_width to scale the output down. Common sizes include 1200×630 (OG card), 1280×720 (YouTube thumbnail), 640×480 (blog preview), and 200×150 (mini chat preview). No per-size charge.

Can I generate thumbnails for pages behind a login?

Yes. Pass session cookies or an Authorization header with your request to capture authenticated pages: dashboards, admin panels, or user-specific content. The API renders the page exactly as a logged-in user would see it.

100 free thumbnails. No card needed.

Start generating thumbnails in 60 seconds. Scale to millions with a single API key.

Get your free API key →