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.
Simple API Integration
Add screenshot functionality to your application with a single API call. Perfect for testing automation, documentation generation, and content creation workflows.
"url": "https://example.com",
"device": "desktop",
"mockup": "browser-light"
}
Built for Developer Integration
Simple REST API with powerful features. Add screenshot functionality to your applications with just a few lines of code.
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.
Quick Start Example
Content-Type: application/json
Body: {"url":"https://example.com"}
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.
Testing & Documentation
Automate visual testing, generate documentation screenshots, and create professional marketing assets with consistent, clean results.
Loved by Developers
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.”
“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.”
“Visual regression testing used to be our biggest pain point. Screenshotly's consistent rendering across devices made our CI/CD visual tests actually reliable.”
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.
Start building with our screenshot API
Join thousands of developers using our API to automate screenshot capture, testing workflows, and documentation generation.
Free to Start
100 free screenshots to start. No credit card required.
Full Documentation
Complete API docs and integration guides for every language.
Easy Integration
RESTful API that works with any language or framework.
Simple, Transparent Pricing
Start free, scale as you grow. No hidden fees or surprise charges.
Growth
- 12,000 screenshots/month
- AI element removal
- Scrolling screenshots
- Video generation
Scale
- 50,000 screenshots/month
- GPU rendering
- Priority support
- 99.9% Uptime SLA