Screenshotlayer

Operational

Powerful website screenshot API · by APILayer

  • Marketing
  • PNG · JPEG · GIF
  • 50+ customization options
  • 99.9% reported API uptime

Free plan · 100 requests / month · no card

Overview

API info

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.

Example request

GETShellcurl
curl --request GET \
  --url "https://api.apilayer.com/screenshotlayer/api/capture?access_key=YOUR_ACCESS_KEY&url=https://example.com"
Run it in the Playground

Example response

200 - OK
{
    "success": true,
    "url": "https://example.com",
    "image_url": "https://cdn.screenshotlayer.com/..."
}

Everything you need for powerful website screenshots

  • Easy to integrate

    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.

  • High-quality rendering

    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.

  • Full-page screenshots

    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.

  • Custom viewport control

    Specify the viewport dimensions you need or emulate common desktop, tablet, and mobile screen sizes. Create screenshots optimized for different devices and layouts.

  • Retina & 2x support

    Generate higher-resolution screenshots for displays and applications that require sharper imagery. Retina/2x support is available on paid plans.

  • WebP support

    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.

  • Custom CSS

    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.

  • Flexible timing controls

    Control when a screenshot is captured by specifying a rendering delay, configuring cache behavior, or forcing a fresh page capture.

  • Export to S3 or FTP

    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.

  • CDN-powered delivery

    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.

  • 99.9%Reported API uptime
  • 50+Customization options
  • 3Image formats
  • 40Dedicated workers

Build smarter with automated screenshots

  • See Screenshotlayer in action

    Turn website screenshots into a building block for your applications, workflows, analytics, and customer experiences.

    Explore Use Cases
  • Everything you need to integrate in minutes

    Learn 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 Documentation

Pricing

Flexible plans for every stage of growth

Whether you're testing automated screenshots, building a website preview service, or processing high-volume image requests, choose the plan that matches your requirements.

MonthlyYearlySave up to 15%

Free

For testing and side projects

$0forever

No credit card

No overage charges

Get Free API Key

100 requests / month

Includes:

  • Use: Non-commercial use
  • CDN support
  • Customization: Advanced customization
  • Free API access
See all 13 features

Starter

For your first live product

$19.99/ month

Billed monthly

Then $0.007996 per extra request, up to 20,000 extra a month

Subscribe Now

10,000 requests / month

Everything in Free, plus:

  • Use: Commercial use
  • Customization: Full customization
  • Retina/2x support
  • WebP support up to 100% quality

+ 4 more

See all 13 features
Most popular

Professional

For growing traffic

$59.99/ month

Billed monthly

Then $0.007998667 per extra request, up to 60,000 extra a month

Subscribe Now

30,000 requests / month

Everything in Starter, plus:

  • Dedicated workers: 20
  • FTP & S3 export
  • 3× the requests of Starter
See all 13 features

Enterprise

For high volume

$149.99/ month

Billed monthly

Then $0.007999467 per extra request, up to 150,000 extra a month

Subscribe Now

75,000 requests / month

Everything in Professional, plus:

  • 2.5× the requests of Professional
  • Dedicated workers: 40
See all 13 features

Custom

Need more? Contact sales for custom needs.

Contact Sales

Compare all features

13 featuresFree$0Get free keyStarter$19.99/moSubscribeProfessional$59.99/moSubscribeEnterprise$149.99/moSubscribe
UseNon-commercial useCommercial useCommercial useCommercial use
CDN support
CustomizationAdvanced customizationFull customizationFull customizationFull customization
Free API access–––
Retina/2x support–
WebP support up to 100% quality–
Dedicated workers–102040
Dedicated infrastructure––––
256-bit HTTPS encryption–
FTP & S3 export––
Support–Standard supportStandard supportStandard support
Overage support–
Custom integrations––––
Price per extra request after the monthly limitNone$0.007996$0.007998667$0.007999467

Playground

Try the API

Build a request in your browser and see the response it returns.

GET
fullpage Optional

Add your free API key to run it from your code.

curl
200 - OK

      
    

Agents

Agents: start here

Steps for AI coding agents that add Screenshotlayer to a project.

  1. 1Get an API key

    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).

  2. 2Keep the key out of code

    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.

    .env
    # add .env to .gitignore
    APILAYER_ACCESS_KEY=your_api_key
  3. 3Make the first request

    Base URL
    https://api.apilayer.com/screenshotlayer/api
    Auth
    access_key query parameter
    Formats
    PNG, JPEG, GIF
    Endpoints
    • /capture Capture
    Shell
    curl "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.

  4. 4Check the plan before you use a feature

    Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.

    PlanRequests / monthAdds
    Free100Use: Non-commercial use, CDN support, Customization: Advanced customization, Free API access
    Starter10,000Use: 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
    Professional30,000Dedicated workers: 20, FTP & S3 export
    Enterprise75,000Dedicated workers: 40

    Prices are in the Pricing tab.

  5. 5Use the machine-readable docs

FAQs

Need clarity?

Here are the answers you might be seeking

Data & features

01.What is screenshotlayer?

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.

02.How do I capture a website screenshot?

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.

03.Can screenshotlayer capture an entire web page?

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.

04.Does screenshotlayer support mobile screenshots?

Yes. You can control the viewport and generate screenshots corresponding to mobile devices, tablets, desktops, or custom dimensions.

05.What web technologies does screenshotlayer support?

The rendering engine supports modern website technologies including HTML5, CSS3, Webfonts, Graphs, Canvas, SVG, and other browser-rendered content.

06.Can I customize the screenshot?

Yes. screenshotlayer provides extensive customization options for dimensions, viewport, CSS, timing, caching, image format, and other screenshot settings.

07.Can I inject custom CSS?

Yes. You can specify a custom CSS stylesheet that is injected into the target website before the screenshot is captured.

08.Can I control when 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.

09.Which image formats are supported?

The API supports PNG, JPEG, and GIF output formats.

10.Does screenshotlayer support WebP?

Yes. WebP support with quality settings up to 100% is available on paid subscription plans.

11.Does screenshotlayer support Retina displays?

Yes. Retina/2x support is included with paid plans.

12.Can screenshots be exported to AWS S3?

Yes. S3 export is available on the Professional and Enterprise plans. FTP export is also available on those plans.

13.Are generated screenshots stored?

Yes. screenshotlayer stores generated snapshots through its CDN, allowing existing screenshots to be retrieved quickly without generating them again.

14.What are dedicated workers?

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.

15.What is screenshotlayer?

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.

16.How does the screenshotlayer rendering engine work?

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.

17.Does the API support Graphs, Canvas, Webfonts or CSS3?

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.

18.Can I set custom HTTP headers?

Yes. You may request both HTTP User-Agent and Accept-Language headers.

19.Are there any direct options to export my snapshots?

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.

20.Can I set a custom period for my snapshots to be cached?

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.

21.Can I specify a capturing delay to let animations/effects finish loading?

Yes. Using the API's delay parameter, you may request the API to wait for a specified of seconds before capturing your screenshot.

API access

01.Is screenshotlayer secure?

Paid plans provide 256-bit HTTPS encryption for API connections.

02.What is screenshotlayer's uptime?

screenshotlayer states that its API uptime is around 99.9%, with system status continuously monitored.

03.How do I get an API Access Key?

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.

04.Can I request thumbnails?

Yes. Using the API's width parameter, you may generate a thumbnail of the target URL using a custom width (in pixels).

Plans & pricing

01.Is there a free plan?

Yes. The Free plan provides 100 snapshots per month and is intended for non-commercial use.

02.Can I also pay yearly?

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.

03.What if I consistently have more API calls than my plan allows?

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.

Overages

01.What happens when I exceed my monthly quota?

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.

02.What happens if I exceed my API Request volume?

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.

03.What is an overage?

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.

04.Why does APILayer have overage fees?

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.

05.How do I know if I will be charged for overages?

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