Free
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
- Use: Non-commercial use
- CDN support
- Customization: Advanced customization
- Free API access
Powerful website screenshot API · by APILayer
Free plan · 100 requests / month · no card
Overview
Capture high-quality screenshots of any website with a simple, developer-friendly API. screenshotlayer turns any URL into a professionally rendered image in seconds. Capture full web pages, control viewport dimensions, inject custom CSS, render modern web technologies, and deliver screenshots directly to your application.
curl --request GET \
--url "https://api.apilayer.com/screenshotlayer/api/capture?access_key=YOUR_ACCESS_KEY&url=https://example.com"
{
"success": true,
"url": "https://example.com",
"image_url": "https://cdn.screenshotlayer.com/..."
}Generate website screenshots through a simple API request. Integrate screenshot generation into your website, SaaS platform, backend service, monitoring system, or automated workflow without building your own browser-rendering infrastructure.
Capture crisp website screenshots using a powerful rendering engine designed to process modern web content. screenshotlayer supports technologies including CSS3, HTML5, Webfonts, Graphs, Canvas, and SVG.
Capture the complete height of a website rather than limiting your screenshot to the visible browser viewport. Create full-page previews, archives, reports, and website snapshots with a single API request.
Specify the viewport dimensions you need or emulate common desktop, tablet, and mobile screen sizes. Create screenshots optimized for different devices and layouts.
Generate higher-resolution screenshots for displays and applications that require sharper imagery. Retina/2x support is available on paid plans.
Generate WebP images with quality settings up to 100% on eligible paid plans, helping you optimize image quality and file size for modern web applications.
Inject your own CSS stylesheet into the target page before the screenshot is captured. Modify colors, hide elements, change layouts, or create application-specific visualizations without changing the original website.
Control when a screenshot is captured by specifying a rendering delay, configuring cache behavior, or forcing a fresh page capture.
Send generated screenshots directly to your AWS S3 bucket or a custom FTP server path on supported plans, making it easy to integrate screenshot generation into existing storage and publishing workflows.
Generated screenshots are stored through screenshotlayer's CDN and can be retrieved quickly after generation. Existing snapshots can be delivered without requiring another screenshot-generation request.
Turn website screenshots into a building block for your applications, workflows, analytics, and customer experiences.
Explore Use CasesLearn how to capture websites, configure viewport dimensions, create full-page screenshots, inject CSS, control rendering timing, select image formats, and export screenshots to external storage.
View DocumentationPricing
Whether you're testing automated screenshots, building a website preview service, or processing high-volume image requests, choose the plan that matches your requirements.
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
For your first live product
$19.99/ month
Billed monthly
Then $0.007996 per extra request, up to 20,000 extra a month
10,000 requests / month
Everything in Free, plus:
+ 4 more
See all 13 featuresFor growing traffic
$59.99/ month
Billed monthly
Then $0.007998667 per extra request, up to 60,000 extra a month
30,000 requests / month
Everything in Starter, plus:
For high volume
$149.99/ month
Billed monthly
Then $0.007999467 per extra request, up to 150,000 extra a month
75,000 requests / month
Everything in Professional, plus:
Need more? Contact sales for custom needs.
| 13 features | Free$0Get free key | Starter$19.99/moSubscribe | Professional$59.99/moSubscribe | Enterprise$149.99/moSubscribe |
|---|---|---|---|---|
| Use | Non-commercial use | Commercial use | Commercial use | Commercial use |
| CDN support | ||||
| Customization | Advanced customization | Full customization | Full customization | Full customization |
| Free API access | – | – | – | |
| Retina/2x support | – | |||
| WebP support up to 100% quality | – | |||
| Dedicated workers | – | 10 | 20 | 40 |
| Dedicated infrastructure | – | – | – | – |
| 256-bit HTTPS encryption | – | |||
| FTP & S3 export | – | – | ||
| Support | – | Standard support | Standard support | Standard support |
| Overage support | – | |||
| Custom integrations | – | – | – | – |
| Price per extra request after the monthly limit | None | $0.007996 | $0.007998667 | $0.007999467 |
Playground
Build a request in your browser and see the response it returns.
Agents
Steps for AI coding agents that add Screenshotlayer to a project.
A person creates the account: an agent cannot sign up. Sign up at app.apilayer.com and subscribe to Screenshotlayer. The Free plan includes 100 requests / month and needs no credit card.
Copy the API key from the APILayer dashboard and give it to the agent as an environment variable (step 2).
Read the key from an environment variable named APILAYER_ACCESS_KEY. Do not write the key into source code, commit it to git, or paste it into a chat.
Call Screenshotlayer from server code. The key travels in the request URL, so a request sent from a browser shows the key to every visitor.
# add .env to .gitignore
APILAYER_ACCESS_KEY=your_api_keyhttps://api.apilayer.com/screenshotlayer/apiaccess_key query parameter/capture Capturecurl "https://api.apilayer.com/screenshotlayer/api/capture?access_key=$APILAYER_ACCESS_KEY&url=https://example.com"The API info tab shows the response this request returns.
Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.
| Plan | Requests / month | Adds |
|---|---|---|
| Free | 100 | Use: Non-commercial use, CDN support, Customization: Advanced customization, Free API access |
| Starter | 10,000 | Use: Commercial use, Customization: Full customization, Retina/2x support, WebP support up to 100% quality, Dedicated workers: 10, 256-bit HTTPS encryption, Support: Standard support, Overage support |
| Professional | 30,000 | Dedicated workers: 20, FTP & S3 export |
| Enterprise | 75,000 | Dedicated workers: 40 |
Prices are in the Pricing tab.
FAQs
Here are the answers you might be seeking
screenshotlayer is a REST API that captures screenshots of websites and returns the resulting image through CDN. It is designed for developers who need automated website screenshots without operating their own screenshot-rendering infrastructure.
Send a target URL and your API access key to the screenshotlayer capture endpoint. The API processes the website and returns the resulting screenshot as an image URL.
Yes. screenshotlayer's rendering engine can capture the full height and width of a website rather than limiting the image to the visible viewport. Pass fullpage parameter in your API requests to capture the full page screenshot.
Yes. You can control the viewport and generate screenshots corresponding to mobile devices, tablets, desktops, or custom dimensions.
The rendering engine supports modern website technologies including HTML5, CSS3, Webfonts, Graphs, Canvas, SVG, and other browser-rendered content.
Yes. screenshotlayer provides extensive customization options for dimensions, viewport, CSS, timing, caching, image format, and other screenshot settings.
Yes. You can specify a custom CSS stylesheet that is injected into the target website before the screenshot is captured.
Yes. screenshotlayer supports capturing delays, custom cache times, and forced refreshes, allowing you to control how and when website content is rendered.
The API supports PNG, JPEG, and GIF output formats.
Yes. WebP support with quality settings up to 100% is available on paid subscription plans.
Yes. Retina/2x support is included with paid plans.
Yes. S3 export is available on the Professional and Enterprise plans. FTP export is also available on those plans.
Yes. screenshotlayer stores generated snapshots through its CDN, allowing existing screenshots to be retrieved quickly without generating them again.
A dedicated worker is a server entity assigned to process a screenshot request. Multiple dedicated workers allow multiple screenshots to be processed concurrently. The published plans currently provide 10 workers on Starter, 20 on Professional, and 40 on Enterprise.
Screenshotlayer is a lighweight REST API built to deliver high quality PNG, JPEG & GIF website screenshots at unparalleled speeds and through a simple interface. Its architecture is focused on ease of use and integration, making for a high level of compatibility with any application, framework and programming language.
In order to ensure the highest possible level of image resolution, our API relies on a powerful rendering engine capable of processing, storing and returning all sorts of website content within just a few seconds. Each screenshot is assigned to a separate and unique server entity, allowing us to provide an unparalleled level of image quality and speed for each API request, even when capturing the full height and width of a website.
Yes, our rendering engine is capable of processing all of the above. You can simply try it out by capturing a screenshot of a website using webfonts, a site using CSS3, and so on.
Yes. You may request both HTTP User-Agent and Accept-Language headers.
Yes. You may request the API to pass your snapshots on to an AWS S3 Bucket or to a custom FTP path of your choice.
Yes. By default, website screenshots are cached for 2,592,000 seconds (30 days). Using the API's ttl parameter, you may specify a custom TTL (time-to-live) lower than 2,592,000 seconds.
Yes. Using the API's delay parameter, you may request the API to wait for a specified of seconds before capturing your screenshot.
Paid plans provide 256-bit HTTPS encryption for API connections.
screenshotlayer states that its API uptime is around 99.9%, with system status continuously monitored.
Every registered user is assigned a personal Access Key, a unique "password" that can be used to access and query the screenshotlayer API. If you are logged in, you can find it in your Account Dashboard and in all interactive links contained in the API's Documentation.
In your Account Dashboard you can reset your Access Key at any given time.
Yes. Using the API's width parameter, you may generate a thumbnail of the target URL using a custom width (in pixels).
Yes. The Free plan provides 100 snapshots per month and is intended for non-commercial use.
Yes. If you choose annual billing, the total price of your subscription plan will be up to 15% lower than the total amount you would pay with a monthly payment frequency.
If your usage consistently surpasses the set limits each month, you may face additional charges for the excess usage. Nevertheless, as your monthly usage reaches a certain threshold, it becomes more practical to consider upgrading to the next plan. By doing so, you ensure a smoother and more accommodating experience for your growing customer base.
screenshotlayer sends notifications when usage reaches 75%, 90%, and 100% of the monthly allowance. Once the quota is exceeded, overage fees can apply so your application can continue operating.
Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached. After reaching 100% of the allowance, overages fees will apply so we make sure you won’t experience any disruptions and your website/application will keep running smoothly.
An overage occurs when you go over a quota for your API plan. When you reach your API calls limit, we will charge you a small amount for each new API call so we can make sure there will be no disruption in the service we provide to you and your website or application can continue running smoothly.
Prices for additional API calls will vary based on your plan.
Overage fees allow customers to continue using an API once a quota limit is reached. We want to make sure your website or application continues running at all times, so charges will apply if you go over your monthly quota limit. If you notice you are going over your quota limit each month, look on your dashboard for an upgraded plan to help with larger request limits.
When you are close to reaching your API calls limit for the month, you will receive an automatic notification (at 75%, 90%, and 100% of your monthly quota). You can keep track of your quota usage to prevent overages by tracking the number of API calls you make and checking the dashboard for up-to-date usage statistics.
Still have a question?
Contact support