Screenshot API

Screenshot API for Developers

Screenshotly is a REST API that captures website screenshots programmatically with AI-powered element removal and device mockups. Integrate directly into your applications, testing pipelines, and automation workflows.

10M+Screenshots captured
1,000+Developers
99.9%Uptime target
2–5sTypical capture

Simple API Integration

Add screenshot functionality to your application with a single API call. Perfect for testing automation, documentation generation, and content creation workflows.

POST /api/screenshot
{
  "url": "https://example.com",
  "device": "desktop",
  "mockup": "browser-light"
}
→ Returns high-quality screenshot
Features

Built for Developer Integration

Simple REST API with powerful features. Add screenshot functionality to your applications with just a few lines of code.

REST API
RESTful Screenshot API
Simple HTTP endpoints for capturing screenshots programmatically. Integrate with any language or framework
6 templates
Device Mockups
Professional device frames for iPhone, iPad, MacBook, and browsers via simple API parameters
Optional feature
AI Element Removal
Optional AI-powered cleanup to remove ads, banners, and distracting elements from screenshots
Lazy-load aware
Full Page Capture
Capture entire pages from header to footer, including lazy-loaded content. Set max height limits for long pages
Any resolution
Custom Viewports
Set exact width, height, and device pixel ratio. Emulate any device from iPhone SE to 4K desktop displays
PNG · JPEG · WebP · PDF
Multiple Output Formats
Export as PNG, JPEG, WebP, or PDF. Choose quality, dimensions, and full-page capture from a single endpoint

Developer-First Integration

One REST endpoint, any language. Send a POST with your URL and options — get back a pixel-perfect screenshot. Add device mockups, AI cleanup, and format conversion without managing Chrome instances.

1 endpoint
REST API
6
Device Mockups

Quick Start Example

POST /api/screenshot
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Body: {"url":"https://example.com"}
Response:
PNG image data
Ready to integrateView Integration Guides →
Use Cases

Automate Any Screenshot Workflow

Integrate screenshot capture directly into your applications, testing pipelines, and automation workflows with our developer-first API.

API-First Development

Integrate screenshot capture directly into your applications with our RESTful API. Perfect for SaaS platforms, testing tools, and automation workflows.

SaaS Integration
Embed screenshot capture into your SaaS platform — a single POST returns PNG, JPEG, or PDF with no Chrome infrastructure needed
Webhook Automation
Trigger captures from CI/CD pipelines, Zapier, or custom webhooks. Screenshotly handles rendering and returns the image URL
Batch Processing
Submit an array of URLs and receive screenshots in parallel. Built-in rate limiting ensures you stay within plan quotas

Testing & Documentation

Automate visual testing, generate documentation screenshots, and create professional marketing assets with consistent, clean results.

Automated Testing
Capture baseline and current screenshots, then diff them. AI cleanup removes cookie banners so diffs only show real layout changes
Product Documentation
Generate annotated screenshots with AI element removal for clean help docs. Supports desktop, tablet, and mobile viewports
Marketing Assets
Wrap screenshots in iPhone, MacBook, or browser frames automatically. Export at 2x or 3x DPR for retina-quality assets

Loved by Developers

4.9(8 reviews)

Join thousands of developers who trust Screenshotly for their screenshot automation

Screenshotly transformed our documentation workflow. We went from spending hours manually capturing screenshots to having them automatically update with every deploy. The AI element removal is a game-changer.
S
Sarah Chen
Senior Developer, DocuFlow
Documentation
We evaluated 5 different screenshot APIs. The combination of speed, reliability, and device mockups made Screenshotly the clear winner. Our link preview generation handles 50k+ requests daily without issues.
M
Marcus Johnson
CTO, LinkPreview.io
Social Media Previews
Visual regression testing used to be our biggest pain point. Screenshotly's consistent rendering across devices made our CI/CD visual tests actually reliable.
E
Emily Rodriguez
QA Lead, QABelt
Visual Testing

Frequently Asked Questions

Common questions about the Screenshotly screenshot API.

What is Screenshotly?

Screenshotly is a RESTful API service that lets developers capture high-quality website screenshots programmatically. Unlike self-hosted tools like Puppeteer, you don't manage Chrome instances or worry about scaling — send a POST request and get back a pixel-perfect image. Key differentiators include AI-powered element removal (strips cookie banners, chat widgets, and popups automatically), built-in device mockups, and multiple output formats including PNG, JPEG, WebP, and PDF.

How do I get started with the Screenshot API?

Sign up for a free account to get your API key — no credit card required. You get 100 free screenshots to fully evaluate the service. From there, make a POST request to https://api.screenshotly.app/screenshot with your URL and desired options (device, format, mockup frame). The response contains the screenshot as a binary image you can save or stream directly. Most developers are capturing their first screenshot within 5 minutes of signing up.

What formats does the Screenshot API support?

Screenshotly supports PNG (best for UI screenshots where you need transparency or pixel-perfect detail), JPEG (smaller file sizes with adjustable quality from 0-100, ideal for thumbnails and previews), WebP (modern format with superior compression for web delivery), and PDF (full-page document output for reports and archival). You specify the format in your API request body, and you can also control the quality parameter for lossy formats.

Can I remove cookie banners and popups automatically?

Yes. Screenshotly uses machine-learning models to detect and remove common overlay elements including cookie consent banners, newsletter signup modals, chat widgets, and ad overlays. The AI detection runs automatically when you enable the cleanup option in your API request. It works across most websites without needing to specify CSS selectors or element IDs — the model identifies obstructive elements by visual pattern and removes them before the final capture.

What device mockups are available?

Screenshotly offers professional device frames including browser windows (light and dark Chrome-style frames), iPhone 14 Pro, and MacBook Pro mockups. These are rendered server-side as part of the screenshot — no post-processing needed. Pass the mockup parameter in your API call to wrap your screenshot in the chosen frame. Device mockups are commonly used for app store screenshots, investor decks, marketing landing pages, and social media posts where framed screenshots look more polished than raw captures.

Ready to Start?

Start building with our screenshot API

Join thousands of developers using our API to automate screenshot capture, testing workflows, and documentation generation.

Simple, Transparent Pricing

Start free, scale as you grow. No hidden fees or surprise charges.

Free

$0
per month
  • 100 free screenshots
  • PNG, WebP, JPEG formats
  • Full page screenshots
Get Started
Most Popular

Growth

$59
per month
  • 12,000 screenshots/month
  • AI element removal
  • Scrolling screenshots
  • Video generation
Start Growth Plan

Scale

$199
per month
  • 50,000 screenshots/month
  • GPU rendering
  • Priority support
  • 99.9% Uptime SLA
Start Scale Plan