Screenshotlayer API
Overview
Screenshotlayer is a simple API that converts any URL into a screenshot image with a single HTTP request. You pass the target URL and your access key, and get back a PNG or JPEG of the rendered page. It is perfect for generating website thumbnails or saving visual records of web pages.
Beginner Tip
Start with the free plan to generate up to 100 screenshots per month. Add viewport=1280x800 to the query string to capture a standard desktop-sized screenshot.
Available Data
Example Response
{
"id": "Dwu85P9SOIk",
"urls": {
"full": "https://images.unsplash.com/photo-...",
"regular": "https://images.unsplash.com/photo-...?w=1080",
"thumb": "https://images.unsplash.com/photo-...?w=200"
},
"width": 4000,
"height": 3000,
"user": {
"name": "John Doe",
"username": "johndoe"
}
} Field Reference
success true when the screenshot was captured without errors. info.url The URL that was actually captured after any redirects. screenshot_url Direct URL to the captured screenshot image hosted on Screenshotlayer CDN. info.width Width of the captured screenshot in pixels. info.height Height of the captured screenshot in pixels. Implementation Example
const url = "https://screenshotlayer.com/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Alternatives to Screenshotlayer
Technical alternatives for different use cases.
Chrome-based website screenshots with full-page capture
Accurate rendering using real Chrome browser
Bulk screenshot processing at low cost
Multiple browser engines with mobile device simulation
Testing across different browser engines and devices
Simple single-page screenshot needs
Recipes Using Screenshotlayer
Build something with this API. Each recipe includes step-by-step instructions and code outlines.
Similar APIs
View All →Imsea
Imsea provides programmatic access to free image search via REST API.
Lorem Picsum
⭐ Beginner's PickLorem Picsum provides free, beautiful placeholder images sourced from Unsplash with a simple URL-based API that requires no authentication.
PlaceKeanu
⭐ Beginner's PickPlaceKeanu is a fun, free placeholder image API that serves Keanu Reeves photos in any size you specify in the URL with no API key or sign-up needed.
Readme typing SVG
⭐ Beginner's PickReadme Typing SVG generates animated SVG images that display a customizable typing-and-deleting text animation, commonly used in GitHub profile READMEs to add a dynamic introduction.
ReSmush.it
⭐ Beginner's PickReSmush.it is a free image optimization API that compresses photos to reduce file size without visibly losing quality.