Overview
ApiFlash provides a REST API that captures full-page or viewport screenshots of any public URL using a headless Chrome browser, returning the image as a PNG, JPEG, or WebP file. You can control viewport dimensions, wait for JavaScript rendering to complete, and capture specific CSS selectors. It is used for automated visual regression testing, link previews, and content archiving.
Beginner Tip
Sign up at apiflash.com to get a free API key that includes 100 screenshots per month. The simplest call is a GET request with your access_key and the url parameter — the API responds directly with binary image data, so save the output to a file with curl -o screenshot.png.
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
(binary image data) The raw image bytes of the screenshot in PNG, JPEG, or WebP format depending on the format parameter. url (error response) In error responses only: the URL that was requested when the failure occurred. message (error response) Human-readable description of what went wrong. error_code (error response) Machine-readable error identifier for the failure type. Implementation Example
const url = "https://apiflash.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
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
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Alternatives to ApiFlash
Technical alternatives for different use cases.
Multi-browser screenshot service with device emulation
Cross-browser screenshot testing
Simple website thumbnail generation
Simple screenshot API from the apilayer ecosystem
Users already in the apilayer ecosystem
Full-page screenshots and modern CSS rendering
Similar APIs
View All →Azure DevOps
Azure DevOps REST API provides programmatic access to all Azure DevOps services including work items, repositories, pipelines, test plans, and artifact feeds.
Base
Base provides programmatic access to building quick backends via REST API.
Blague.xyz
Blague.xyz provides programmatic access to la plus grande api de blagues fr/the biggest fr jokes api via REST API.
Blitapp
Blitapp is a screenshot-as-a-service API that lets you capture full-page or viewport screenshots of any web page on a schedule, then automatically sync them to cloud storage like Dropbox or Google Drive.
Blynk-Cloud
Blynk Cloud is an IoT platform API that allows you to read and write values to virtual pins on hardware devices (such as Arduino or Raspberry Pi) connected to the Blynk server.