Website Screenshot API - URL to PNG, JPEG & PDF avatar

Website Screenshot API - URL to PNG, JPEG & PDF

Pricing

from $2.80 / 1,000 screenshots

Go to Apify Store
Website Screenshot API - URL to PNG, JPEG & PDF

Website Screenshot API - URL to PNG, JPEG & PDF

Take screenshots of any web page, or of your own HTML, in bulk: PNG, JPEG or PDF, full page or one element, any screen size, retina scale, dark mode, delay and wait settings. Files are stored with a link for each. Export the list to Excel, CSV or API.

Pricing

from $2.80 / 1,000 screenshots

Rating

0.0

(0)

Developer

Shivam Prajapati

Shivam Prajapati

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Take screenshots of web pages in bulk, with one call: PNG, JPEG or PDF, full page or a single element, any screen size, retina scale, dark mode, with a delay or a wait for the page to settle. Give page links or your own HTML. Every screenshot is stored as a file with a link in the results. No login, no extra tools, no browser to run yourself. Export the list to Excel, CSV, JSON or the API.

Actively maintained. Last update: 2026-11-19. Every release passes 100+ automated tests, including a real Chromium that draws pages, element shots, PDFs and error pages.

What can you use it for?

  • Website monitoring and archives. Capture the same pages every day and keep the pictures: price pages, competitor pages, terms, landing pages.
  • Link previews and thumbnails. One image per link for a directory, a newsletter, a report or a dashboard.
  • Reports and PDFs. Turn HTML (invoices, reports, certificates, emails) into PDF or PNG with the browser's own rendering.
  • Visual checks. Look at a page at phone, tablet and desktop widths, in light and dark mode, before you publish.
  • Proof and evidence. A dated picture of a page as it looked, with the status and the final address.
  • Ads and social cards. Draw an HTML template as an image, one per row of your data.

What data can you get?

Give page links, your own HTML, or both. Every row is one page and holds the links to its files.

You giveYou get
urls: page linksOne record per page, with the link of each file made
html: an HTML documentThe same, for your own HTML
formats: png, jpeg, pdfOne file of each format, per page, in the run's key-value store
fullPage, selector, viewportWidth, deviceScaleFactor, colorScheme, delaySecondsThe picture the way you want it

Fields

A field that does not apply, such as the PDF link when PDF was not asked for, is null.

The page

FieldWhat it is
sourceurl for a page opened by its address, html for a document you gave.
urlThe address you gave. For an HTML document, a short id made from its text.
finalUrlThe address the page ended on after redirects. Empty for HTML.
httpStatusThe HTTP status of the page. Empty for HTML.
titleThe title of the page.

The files

FieldWhat it is
pngUrlThe link to the PNG file in the run's key-value store. Empty when PNG was not asked for.
jpegUrlThe link to the JPEG file. Empty when JPEG was not asked for.
pdfUrlThe link to the PDF file. Empty when PDF was not asked for.
widthThe width of the image in pixels (PNG, else JPEG).
heightThe height of the image in pixels (PNG, else JPEG).
fileBytesThe size of all the files of the record together, in bytes.

How it was taken

FieldWhat it is
fullPageTrue when the whole page was captured.
viewportWidthThe width of the browser window used.
viewportHeightThe height of the browser window used.
loadSecondsHow long the capture took, in seconds.
capturedAtWhen the screenshot was taken (UTC).

Example result

{"source": "url", "url": "https://www.python.org/", "finalUrl": "https://www.python.org/", "httpStatus": 200, "title": "Welcome to Python.org", "pngUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/png-www-python-org-1a2b3c4d.png", "width": 1280, "height": 800, "fileBytes": 187402, "fullPage": false, "viewportWidth": 1280, "viewportHeight": 800, "loadSeconds": 3.4, "capturedAt": "2026-11-19T10:00:06Z"}

Input

InputWhat it does
urls, htmlWhat to capture: page links, and/or an HTML document
formatsPNG, JPEG, PDF: one or several
fullPage, selectorThe whole page, or one element of it
viewportWidth, viewportHeight, deviceScaleFactorThe size of the browser window and the pixel density (retina)
colorScheme, delaySeconds, waitUntilLight or dark, extra wait, when the page counts as loaded
jpegQuality, pdfFormatJPEG quality and PDF paper size
requestTimeoutSeconds, skipErrorPagesPatience and what to do with error pages
onlyNewSkip pages that earlier runs of the same input captured
maxItems, maxConcurrencyHow many screenshots, and how many at the same time

How much does it cost?

You pay per screenshot record. One record can hold a PNG, a JPEG and a PDF of the same page. There is no start fee. Pages that fail, time out, answer with an error or are refused are not returned and not charged.

PlanPrice per 1,000 screenshots
Free$4.00
Bronze$3.60
Silver$3.20
Gold$2.80
  • 1,000 screenshots cost about $4 on the Free plan.
  • Use maxItems to cap the cost of a run, and onlyNew to pay only for new pages on scheduled runs.

Use it via API, on a schedule, or with your tools

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/website-screenshot-scraper").call(run_input={
"urls": ["https://example.com/pricing", "https://example.com/blog"],
"formats": ["png", "pdf"],
"fullPage": True,
"viewportWidth": 1440,
"colorScheme": "dark",
})
for shot in client.dataset(run["defaultDatasetId"]).iterate_items():
print(shot["url"], shot["pngUrl"], shot["pdfUrl"])

Use it in Clay, n8n, Make or Zapier

Use the Actor ID pshivam/website-screenshot-scraper and an input like this:

{"urls": ["https://example.com/"], "formats": ["png"], "viewportWidth": 390, "viewportHeight": 844, "deviceScaleFactor": 2}

Watch a page

Schedule the Actor every day with the same urls. Each run stores a new picture per page: compare them, or keep them as a record.

Good to know

  • Public pages only. The Actor opens pages as an anonymous visitor. It cannot capture pages behind a login or a paywall, and it has no way to sign in.
  • It never opens addresses inside a private network. Addresses such as localhost, 10.x.x.x, 192.168.x.x, 169.254.x.x and internal names are refused, and a page that tries to load them has those requests blocked. This keeps the Actor safe to run for anyone.
  • Images are limited by the browser. A full-page image is limited to about 16,384 pixels in height, which is enough for most pages and too short for endless ones. A page with a lot of animation may need delaySeconds.
  • Cookie banners and pop-ups appear as the site shows them to a first-time visitor. The Actor does not click them away.
  • Files. The files are stored in the run's key-value store and the links are in the results. The store is the one of your run: download the files, or copy them to your own storage, before you delete the run.
  • Speed. A test run of 2 pages took under 2 seconds in the browser. Plan on 1 to 3 seconds per page, a few pages at a time.
  • Independent tool. The Actor draws what a visitor would see. Copyright and terms of use of the pages stay with their owners: check them before you republish a screenshot.

FAQ

How do I take a screenshot of a web page?

Put the link in urls and run. The result has a link to the PNG file.

Can I get the whole page, a phone view or a dark version?

Yes. Set fullPage, a narrow viewportWidth such as 390, and colorScheme to dark.

Can I get a PDF?

Yes. Add pdf to formats. The PDF is the print version of the page, with its backgrounds.

Can I turn my own HTML into an image or PDF?

Yes. Paste the document into html. It is drawn by the same browser as a web page.

Can I capture one part of a page?

Yes. Give a CSS selector such as #chart or .product-card in selector.

What happens to pages that fail?

They are not returned and not charged. The run's status message lists the first few and the reason: not found, timed out, an error status, or a private address.

The Actor opens public pages like a visitor. You are responsible for how you use the pictures: check the terms and the copyright of the pages.