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
AI agents: the setup steps for Screenshotlayer are in the Agents section of this page (#agents) and as Markdown at /products/screenshotlayer/agents.md. Index of every APILayer API: https://apilayer.com/llms.txt
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.net/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:
For growing traffic
$59.99/ month
Billed monthly
Then $0.0079986667 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.0079994667 per extra request, up to 150,000 extra a month
75,000 requests / month
Everything in Professional, plus:
Need more? We offer custom Enterprise pricing for unlimited requests, dedicated technical support, and more: commercial use, CDN delivery, S3 & FTP export, dedicated infrastructure and custom integrations.
| 10 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 |
| Retina/2x support | – | |||
| WebP support up to 100% quality | – | |||
| Dedicated workers | – | 10 | 20 | 40 |
| 256-bit HTTPS encryption | – | |||
| FTP & S3 export | – | – | ||
| Support | – | Standard support | Standard support | Standard support |
| Overage support | – | |||
| Price per extra request after the monthly limit | None | $0.007996 | $0.0079986667 | $0.0079994667 |
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.net/screenshotlayer/apiaccess_key query parameter/capture Capturecurl "https://api.apilayer.net/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 |
| 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 lightweight 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.
Screenshotlayer is a product built and maintained by APILayer, the company behind 17 developer APIs, including Pdflayer, Scrapestack and IPstack. You can learn more on the Why choose APILayer page.
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.
Pricing is based on a subscription plan's monthly screenshot request volume, supported features and the number of "dedicated workers" provided. A "dedicated worker" refers to a unique server entity being assigned the task of capturing one screenshot only. Subsequently, if your subscription plan features 10 dedicated workers, our API enables you to capture, process and store 10 concurrent website snapshots at the same time.
Each of the mentioned server entities works independently, allowing us to provide you with the highest possible processing speed for each API request you make.
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.
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.
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. Screenshotlayer stores generated snapshots through its CDN, allowing existing screenshots to be retrieved quickly without generating them again.
Paid plans provide 256-bit HTTPS encryption for API connections.
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.
In order to make an API Request, you are required to attach your Access Key to the API's base URL, e.g: https://api.apilayer.net/screenshotlayer/api/capture?access_key=YOUR_ACCESS_KEY
The Screenshotlayer API's system status is being closely monitored around the clock. Since every effort is made to ensure the highest possible level of consistency, we are happy to announce that our API's uptime is at around 99.9%. At the current stage we are not offering any public statistics, but we will be happy to provide you with recent uptime reports - ask us »
Using the API's format parameter, you may request the Screenshotlayer API to output your snapshot in three different file formats: PNG (default), JPEG or GIF.
See the API's Documentation for details.
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. S3 and FTP export are available on the Professional and Enterprise plans.
See the API's Documentation for details.
Yes. Using the API's width parameter, you may generate a thumbnail of the target URL using a custom width (in pixels).
See the API's Documentation for details.
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.
See the API's Documentation for details.
Yes. Using the API's delay parameter, you may request the API to wait for a specified number of seconds before capturing your screenshot.
See the API's Documentation for details.
Yes. The Free plan provides 100 snapshots per month and is intended for non-commercial use.
The Free Plan is set out to be a "trial version" without a time limit, offering a volume of 100 monthly snapshots and a limited set of features.
Paid Subscription Plans feature significantly higher API Request volumes, ensure secure datastreams via 256-bit HTTPS Encryption, include unlimited and prioritised technical support, and offer a variety of must-have API functionalities.
In order to test the API and to get an idea of the product, you can simply sign up for the Free Plan.
As soon as you or your application requires more than 100 snapshots per month and more professional API functionality, you would be well-advised to sign up for one of the paid Subscription Plans, starting at only USD 19.99 per month, or at up to 15% Discount - if you decide to pay annually.
Payments can be made via Credit Card (Visa, MasterCard, Discover, Diner's Club). You can change your payment method at any given time in the Payment section of your Account Dashboard.
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.
You can initiate a cancellation or downgrade by selecting a new plan and providing at least one reason for your decision. The customer service team will cancel or downgrade your plan. Downgrades are not effective immediately; your premium subscription will remain active until the end of the current billing period.
To change your subscription from monthly to yearly billing, submit a request on the Contact Us page following these steps:
Step 1: Sign in to your account.
Step 2: Go to the Contact Us page.
Step 3: Fill out the form and choose the “Sales” category for this request.
Step 4: In the text box, include your specific request, for example “Change from Monthly to Yearly subscription.”
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. You can learn more about overages billing here.
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. See the table below for prices per call and an example of an overage billing.
| Plan | Monthly price | Requests / month | Price per extra request | Extra requests | Overage cost |
|---|---|---|---|---|---|
| Starter | $19.99 | 10,000 | $0.007996 | 10,000 | $79.96 |
| Professional | $59.99 | 30,000 | $0.0079986667 | 10,000 | $79.99 |
| Enterprise | $149.99 | 75,000 | $0.0079994667 | 10,000 | $79.99 |
Note: For complete details, please refer to the overages documentation here.
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.
You will be charged for your monthly subscription plan, plus any overage fees applied. Your credit card will be billed after the billing period has ended.
In this case, there will be no change to your monthly invoice. Only billing cycles that incur overages will see any difference in monthly charges. The Business Continuity plan is an insurance plan to be used only if needed and guarantees your end users never see a drop in coverage from you.
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. Find out about our pricing plans here.
You can easily upgrade your plan by going to your Dashboard and selecting the new plan that would be more suitable for your business needs. Additionally, you may contact your Account Manager to discuss a custom plan if you expect a continuous increase in usage.
Still have a question?
Contact support