Blog

Tutorials, guides, and resources for working with screenshot APIs.

How-To Guides

How to Add Website Thumbnails to Your App

Generate website thumbnail images for link directories, dashboards, and bookmark managers. Working examples with caching and lazy loading.

How to Automate Website Screenshots at Scale

Automate website screenshot capture with batch processing, scheduling, and CI/CD integration. Code examples for Node.js, Python, and shell scripts.

How to Build a Visual Regression Testing Pipeline

Automate visual regression testing with screenshot comparison. Detect UI bugs before they reach production using pixelmatch, CI/CD, and a screenshot API.

How to Build Link Previews with a Screenshot API

Build rich link preview cards with thumbnail images using a screenshot API. Working examples for React, Next.js, and backend services.

How to Capture Dark Mode Screenshots of Any Website

Force dark mode rendering when capturing website screenshots. Works with CSS prefers-color-scheme, Tailwind dark mode, and custom implementations.

How to Convert HTML to Image with an API

Convert HTML pages and raw HTML strings to PNG, JPEG, or WebP images. Compare browser-based, server-side, and API approaches with code examples.

How to Generate OG Images from Any URL

Generate Open Graph images from URLs using a screenshot API. Build dynamic og:image tags for social sharing with code examples.

How to Screenshot Single-Page Applications (React, Vue, Angular)

Capture reliable screenshots of SPAs built with React, Vue, and Angular. Solve blank page issues with proper wait strategies and selector timing.

How to Take Full-Page Screenshots with an API

Capture entire scrollable web pages from top to bottom using a screenshot API. Handles lazy-loaded content, sticky headers, and infinite scroll.

How to Take Mobile Screenshots of Websites

Capture mobile screenshots of any website with responsive viewport emulation. Test iPhone, Android, and tablet layouts programmatically.

How to Take Screenshots with C#: Playwright, PuppeteerSharp, and API

Capture website screenshots in C# and .NET using Playwright, PuppeteerSharp, or ScreenshotAPI. Production-ready examples for ASP.NET Core.

How to Take Screenshots with cURL: Command-Line Screenshot API

Capture website screenshots from the command line using cURL and ScreenshotAPI. One-liner examples for scripting, CI/CD, and automation.

How to Take Screenshots with Go: chromedp, Rod, and API

Capture website screenshots in Go using chromedp, Rod, or a REST API. Production-ready code examples for each approach.

How to Take Screenshots with Java: Selenium, Playwright, and API

Capture website screenshots in Java using Selenium WebDriver, Playwright, or ScreenshotAPI. Production-ready examples for Spring Boot.

How to Take Screenshots with JavaScript: Puppeteer, Playwright, and API

Capture website screenshots with Node.js using Puppeteer, Playwright, or ScreenshotAPI. Working code examples for every approach.

How to Take Screenshots with PHP: Browsershot, Puppeteer, and API

Capture website screenshots in PHP using Spatie Browsershot, Puppeteer, or ScreenshotAPI. Working examples for Laravel and vanilla PHP.

How to Take Screenshots with Python: Selenium, Playwright, and API

Learn three ways to take website screenshots with Python. Compare Selenium, Playwright, and ScreenshotAPI with working code examples.

How to Take Screenshots with Ruby: Ferrum, Selenium, and API

Take website screenshots in Ruby using Ferrum, Selenium WebDriver, or ScreenshotAPI. Complete code examples for Rails and standalone scripts.

Best Of

Migration Guides

Migrate from ApiFlash to ScreenshotAPI

Step-by-step guide to switch from ApiFlash to ScreenshotAPI. Parameter mapping, code examples, and pricing comparison included.

Migrate from Browserless to ScreenshotAPI

Switch from Browserless to ScreenshotAPI for screenshot capture. Eliminate self-hosted Chrome management with a simple REST API migration.

Migrate from Microlink to ScreenshotAPI

Guide to switching from Microlink's screenshot API to ScreenshotAPI. Covers response format differences, parameter mapping, and code examples.

Migrate from Playwright to ScreenshotAPI

Replace Playwright screenshot code with ScreenshotAPI. Parameter mapping table, before/after examples, and Docker image reduction guide.

Migrate from Puppeteer to ScreenshotAPI

Step-by-step migration guide from Puppeteer to ScreenshotAPI. Parameter mapping, before/after code examples, and infrastructure savings.

Migrate from ScrapingBee to ScreenshotAPI

Switch from ScrapingBee's screenshot feature to ScreenshotAPI. Purpose-built screenshot API with simpler parameters and credit-based pricing.

Migrate from Screenshot Machine to ScreenshotAPI

Complete guide to migrating from Screenshot Machine to ScreenshotAPI. Includes parameter mapping, code examples, and pricing comparison.

Migrate from Screenshotlayer to ScreenshotAPI

Replace Screenshotlayer with ScreenshotAPI. Modern features, better pricing, and no monthly subscription. Complete migration guide with code examples.

Migrate from Urlbox to ScreenshotAPI

Switch from Urlbox to ScreenshotAPI with this migration guide. Parameter mapping, code changes, and pricing comparison for screenshot APIs.