Website Screenshot API

API ID 14845

Website screenshot API: turn any public URL into a full-page or viewport PNG, JPEG or PDF with real Chromium. Desktop, tablet and mobile viewports, wait for selector, delay, dark mode, hide cookie banners and any element, capture one element.

API Documentation

Endpoints

Request
Website Screenshot API -, Webpage to Image, URL to PNG. Returns up to 100 results per request as JSON.
Endpoint ID: 38660
GET https://zylalabs.com/api/14845/website+screenshot+api/38660/website+screenshot+api
INPUT PARAMETERS

Website Screenshot API — Endpoint Features

Object Description
urls Optional Public web pages to capture, one URL per entry (http or https; a bare domain like also works). Login pages and private network addresses are not supported. Several values: comma separated.
device Optional Viewport preset: desktop 1366x768, desktop-hd 1920x1080, laptop 1280x800, tablet 820x1180 (2x), mobile 390x844 (3x, touch). The real Chromium browser is used for all of them.
fullPage Optional Capture the whole scrollable page (up to Max height). Off = only the visible viewport, like a thumbnail.
format Optional PNG (lossless), JPEG (smaller files, set JPEG quality) or PDF (one long page with backgrounds).
jpegQuality Optional Only for JPEG: 10-100. Lower = smaller file.
viewportWidth Optional Optional. Overrides the device preset width (320-3840). 0 = use the preset.
viewportHeight Optional Optional. Overrides the device preset height (240-2160). 0 = use the preset.
maxHeight Optional Full-page captures are cut at this height (very long pages make huge files). The truncated flag tells you when this happened.
waitUntil Optional When the page counts as loaded: load (default), domcontentloaded (fastest), networkidle (no network for 500 ms, best for heavy JavaScript apps).
delayMs Optional Wait this long after loading before the capture (animations, charts, fonts). 0-30000.
waitForSelector Optional Optional. Wait until this element is visible before the capture, for example #main.chart-ready.
elementSelector Optional Optional CSS selector. When set, only the first matching element is captured (PNG/JPEG), for example header, #pricing.product-card.
hideCookieBanners Optional Hide common cookie/consent popups (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast and more) with CSS so they do not cover the page. Nothing is clicked or accepted.
hideSelectors Optional Optional CSS selectors to hide before the capture (chat widgets, sticky headers, ads), one per entry.
darkMode Optional Ask the page for its dark color scheme (prefers-color-scheme: dark).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

urls
device
fullPage
format
jpegQuality
viewportWidth
viewportHeight
maxHeight
waitUntil
delayMs
waitForSelector
elementSelector
hideCookieBanners
hideSelectors
darkMode
API EXAMPLE RESPONSE
JSON
{
    "count": 3,
    "items": [
        {
            "url": "https://en.wikipedia.org/wiki/Screenshot",
            "finalUrl": "https://en.wikipedia.org/wiki/Screenshot",
            "statusCode": 200,
            "title": "Screenshot - Wikipedia",
            "device": "desktop",
            "format": "png",
            "fullPage": true,
            "screenshotUrl": "https://2-29-135-242.sslip.io/m/f/wphf2PzufpfOn1drF/shot-en.wikipedia.org-ce96fea443.png?s=blpit7PnCdsHcjS0oOzM",
            "key": "shot-en.wikipedia.org-ce96fea443.png",
            "takenAt": "2026-11-11T16:44:31Z",
            "error": null,
            "width": 1366,
            "height": 4266,
            "deviceScaleFactor": 1,
            "pageHeight": 4266,
            "truncated": false,
            "bytes": 854337,
            "sha256": "6d20cd0eafb37984983958101b23dd8ad48814d0d56800d298b69d219dd9e973",
            "contentHash": "b4667f19d8a8e0ea6bb4ecbc",
            "loadTimeMs": 3893,
            "warning": null
        },
        {
            "url": "https://www.python.org",
            "finalUrl": "https://www.python.org/",
            "statusCode": 200,
            "title": "Welcome to Python.org",
            "device": "desktop",
            "format": "png",
            "fullPage": true,
            "screenshotUrl": "https://2-29-135-242.sslip.io/m/f/wphf2PzufpfOn1drF/shot-www.python.org-4863eab2e0.png?s=LbQrFlvLTxLgmhc25DMy",
            "key": "shot-www.python.org-4863eab2e0.png",
            "takenAt": "2026-11-11T16:44:34Z",
            "error": null,
            "width": 1366,
            "height": 2652,
            "deviceScaleFactor": 1,
            "pageHeight": 2652,
            "truncated": false,
            "bytes": 414550,
            "sha256": "11e9bd2ca831649a07bf8ef5958f47b6f46b22c4e43fa4a6a530df9e1c6abf8e",
            "contentHash": "1513fba47705fb51a1dce0bb",
            "loadTimeMs": 2316,
            "warning": null
        },
        {
            "statusCode": 200,
            "title": "source: Marketplace of ready-to-run tools for AI",
            "device": "desktop",
            "format": "png",
            "fullPage": true,
            "key": "shot-source.com-7c0cb88185.png",
            "takenAt": "2026-11-11T16:44:45Z",
            "error": null,
            "width": 1366,
            "height": 10000,
            "deviceScaleFactor": 1,
            "pageHeight": 10072,
            "truncated": true,
            "bytes": 948205,
            "sha256": "2cad42a6768072894e0d2c5bf4ac953c728e7b253936027cc0c504542f99dc0e",
            "contentHash": "00e5b1ab7158a944a515a6f9",
            "loadTimeMs": 17895,
            "warning": null
        }
    ]
}
Website Screenshot API — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14845/website+screenshot+api/38660/website+screenshot+api?urls=https://apify.com,https://en.wikipedia.org/wiki/Screenshot,https://www.python.org&device=desktop&fullPage=true&format=png&jpegQuality=80&viewportWidth=OptionalviewportHeight=OptionalmaxHeight=10000&waitUntil=load&delayMs=OptionalhideCookieBanners=true&darkMode=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Website Screenshot API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Website screenshot API: turn any public URL into a full-page or viewport PNG, JPEG or PDF with real Chromium. Desktop, tablet and mobile viewports, wait for selector, delay, dark mode, hide cookie banners and any element, capture one element.

Website Screenshot API FAQs

Website screenshot API: turn any public URL into a full-page or viewport PNG, JPEG or PDF with real Chromium. Desktop, tablet and mobile viewports, wait for selector, delay, dark mode, hide cookie banners and any element, capture one element.

Up to 100 results per request, depending on the endpoint.

Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.

List parameters accept several values separated by commas, for example: london,paris.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs