Screenshot API

Screenshot API for Developers

A REST API that captures website screenshots programmatically, with AI-powered element removal and device mockups built in.

100Free screenshots on signup
Async + syncCapture workflows
3 retriesDurable capture jobs
6 formatsOutput formats

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

Frequently Asked Questions

Common questions about the Screenshotly screenshot API.

What is Screenshotly?

Screenshotly is a REST API for capturing websites programmatically. Send a URL and receive PNG, JPEG, WebP, PDF, HTML, or WebM output. Paid plans add durable jobs, AI-assisted cleanup, device mockups, and delivery controls.

Do I need a credit card to start?

No. Every account starts with 100 free screenshots so you can integrate and evaluate the API end-to-end. You only add a card when you upgrade to a paid plan.

What formats are supported?

PNG, JPEG, WebP, PDF, HTML, and WebM. Pick PNG for lossless UI captures, WebP for smaller thumbnails, PDF for printable output, HTML for archival, and WebM for short recordings.

How is authentication handled?

API access uses workspace-scoped keys in the x-api-key header or as a Bearer token. Keys are hashed server-side, shown once, and can be rotated or revoked. The dashboard uses Clerk-backed session authentication.

Can I capture authenticated pages?

Yes. Pass cookies or custom headers with your request to capture logged-in dashboards, gated docs, or internal tooling. Service accounts with read-only scopes are the recommended pattern so you never rotate real user credentials into a capture pipeline.

How fast is a typical capture?

Capture time depends on the target page, selected delay, output format, and optional processing. Every successful response reports measured duration in X-Screenshot-Duration, while the dashboard shows observed account averages.

Ready to Start?

Start building with our screenshot API

Automate screenshot capture, testing workflows, and documentation generation with a single REST API. 100 free captures on signup, no credit card required.

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
  • 200 requests/minute
  • WebM and regional routing
  • All Growth capture features
Start Scale Plan