Website Screenshot - Full Page, Element & HTML to Image avatar

Website Screenshot - Full Page, Element & HTML to Image

Pricing

from $2.90 / 1,000 screenshots

Go to Apify Store
Website Screenshot - Full Page, Element & HTML to Image

Website Screenshot - Full Page, Element & HTML to Image

Take screenshots of any website by URL: visible area, full page with lazy-loaded content, a single element, or raw HTML. PNG, JPEG or PDF. Batch thousands of URLs, get a direct link to every file, and pay only for screenshots that are delivered.

Pricing

from $2.90 / 1,000 screenshots

Rating

0.0

(0)

Developer

Benjamin Pavez

Benjamin Pavez

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Takes a screenshot of any web page from its URL and gives you a direct link to the file: the visible area, the full page, a single element, or your own HTML, as PNG, JPEG or PDF.

You pay per delivered screenshot. Pages that fail are not charged.

Who it is for

  • Monitoring and archiving. Schedule a run and keep a dated picture of your pricing page, a competitor's landing page, or a legal notice.
  • Previews and thumbnails at scale. Send a list of thousands of URLs and get one image per URL for a directory, a link preview, or a QA report.
  • Images from your own HTML. Render social cards, invoices or report pages from markup you generate, without running a browser yourself.

What you get that a basic screenshot tool does not

  • Full-page captures that finish. Very long pages are rendered in a single pass up to a height you choose (16,000 px by default), instead of stalling. The output tells you when a page was cut.
  • Lazy-loaded content included. The page is scrolled before the capture so images and sections that load on scroll are there.
  • Fixed headers stay where they belong. A sticky header appears once at the top, not repeated down the image. Sections sized to the screen height keep their size.
  • A hard time limit per page. A page that is still loading at the limit is captured as it is and marked partial. A page that shows nothing is reported as failed, and is free.
  • A stable output row for every URL, including the ones that failed, with the HTTP status and a machine-readable reason.
  • Emoji and CJK fonts installed, so text does not turn into empty boxes.

Input

Only urls is needed. Every other field is optional.

{
"urls": ["https://example.com"],
"fullPage": false,
"format": "png"
}
FieldTypeDefaultWhat it does
urlsarray of stringsPages to capture. One screenshot and one output row per URL. Up to 10,000 per run.
fullPagebooleanfalseCapture the whole page instead of the visible area.
formatpng, jpeg, pdfpngFile format. JPEG is smaller and faster for long pages. PDF is an A4 document.
qualityinteger 1-10080JPEG quality.
viewportWidthinteger 320-38401280Browser width in CSS pixels. 390 gives a phone layout.
viewportHeightinteger 200-4000800Browser height. Height of the image unless fullPage is on.
scale1 or 212 gives retina images, twice as wide and tall.
maxFullPageHeightinteger 800-2000016000Tallest full-page capture in CSS pixels. Longer pages are cut and flagged.
selectorstringCSS selector of a single element to capture instead of the page.
waitUntilload, domcontentloaded, networkidleloadWhen the page counts as ready.
delayMsinteger 0-300000Extra wait before the capture.
waitForSelectorstringElement that must be visible before the capture.
timeoutSecsinteger 10-18060Hard limit for one page.
maxRetriesinteger 0-31Retries after a network or rendering error. Timeouts are not retried.
hideSelectorsarray of stringsElements to hide first, such as cookie banners or chat widgets.
darkModebooleanfalseAsk the page for its dark color scheme.
failOnHttpErrorbooleanfalseReport pages that answer 4xx or 5xx as failed, free of charge, instead of capturing the error page.
htmlstringRaw HTML to render and capture, in addition to any URLs.

Output

Each run writes one row per requested page to the dataset and one file per delivered screenshot to the key-value store. This is the row for https://example.com with the default input:

{
"url": "https://example.com/",
"finalUrl": "https://example.com/",
"status": "succeeded",
"httpStatus": 200,
"title": "Example Domain",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/screenshot-0001-example-com-62b58f10.png",
"screenshotKey": "screenshot-0001-example-com-62b58f10.png",
"format": "png",
"fullPage": false,
"width": 1280,
"height": 800,
"pageHeight": 843,
"truncated": false,
"partial": false,
"warnings": [],
"sizeBytes": 74812,
"loadTimeMs": 157,
"totalTimeMs": 328,
"attempts": 1,
"capturedAt": "2026-11-14T22:24:03.083Z",
"errorType": null,
"errorMessage": null
}
FieldTypeMeaning
urlstring or nullThe requested URL after cleanup. Null for the html input.
finalUrlstring or nullWhere the browser ended after redirects.
statusstringsucceeded when a file was delivered, otherwise failed.
httpStatusinteger or nullStatus code of the page. Null when the server never answered.
titlestring or nullThe page title.
screenshotUrlstring or nullDirect link to the file.
screenshotKeystring or nullKey of the file in the run's key-value store.
formatstringpng, jpeg or pdf.
fullPagebooleanWhether the whole page was captured.
width, heightinteger or nullImage size in pixels. Null for PDF.
pageHeightinteger or nullFull height of the page in CSS pixels, captured or not.
truncatedbooleanA full-page capture was cut at the maximum height.
partialbooleanCaptured before the page finished loading, or before the awaited element appeared.
warningsarray of stringsload-timeout, wait-for-selector-timeout, truncated, or http-<status>.
sizeBytesinteger or nullFile size.
loadTimeMsinteger or nullTime until the page was ready.
totalTimeMsintegerTime spent on the page, including retries and upload.
attemptsintegerNumber of tries.
capturedAtstringUTC start time, ISO 8601.
errorTypestring or nullinvalid-url, navigation-error, timeout, http-error, selector-not-found, capture-error or max-charge-reached.
errorMessagestring or nullThe reason in plain words.

Price

Pay per event. Platform usage (compute, storage, data transfer) is included in the price, so the bill is the number of screenshots times the price and nothing else.

EventFree and BronzeSilverGold
Screenshot delivered$3.50 per 1,000$3.20 per 1,000$2.90 per 1,000
Full-page add-on, charged on top for fullPage captures$2.50 per 1,000$2.30 per 1,000$2.10 per 1,000
Actor start$0.00005 per GB of memorysamesame

What typical jobs cost on the Free or Bronze tier:

  • 100 screenshots of the visible area: $0.35
  • 1,000 screenshots of the visible area: $3.50
  • 1,000 full-page screenshots: $6.00
  • One screenshot from an API call: $0.0037, start included

Not charged: pages that time out without rendering, network errors, invalid URLs, selectors that match nothing, and error pages when failOnHttpError is on. Set a maximum cost for the run in the run options and the Actor stops when it is reached.

Limits you should know

  • No proxy. Requests leave from Apify's data-center addresses. Some sites answer those with a bot check or a 403 page. You get a screenshot of that page with its httpStatus and an http-403 warning. Turn on failOnHttpError to skip and not pay for them.
  • No login. There is no way to pass cookies, headers or credentials, so only public pages can be captured.
  • Cookie banners are not removed automatically. Use hideSelectors for the sites you capture often.
  • Full-page height is capped at maxFullPageHeight (20,000 px at most). At scale 2 the cap drops to keep the image under 32 megapixels: 6,250 px for a 1280 px wide page. Runs with less than 4 GB of memory are capped at 8,000 px.
  • Animations are switched off. Pages are asked for reduced motion and CSS animations are fast-forwarded, which keeps captures sharp. Content that only appears through a scroll-driven script effect can come out blank.
  • Pages that scroll inside a panel (some web apps) are expanded on a best-effort basis.
  • PDF output is paginated A4, not one long page.
  • Files live in the run's key-value store and follow your account's data retention. Download them, or use a named store, if you need them for longer.

Use it from the API

Run and get the results in one call. Replace <TOKEN> with your Apify API token:

curl -X POST "https://api.apify.com/v2/actors/menkiks~website-screenshot/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://example.com"], "fullPage": true, "format": "jpeg"}'

The response is the array of output rows. Open screenshotUrl to download the image.

With the JavaScript client:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('menkiks/website-screenshot').call({ urls: ['https://example.com'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].screenshotUrl);

Use it from an AI agent

Add the Actor as a tool through the Apify MCP server:

https://mcp.apify.com?tools=menkiks/website-screenshot

The agent calls it with the same input as above and reads screenshotUrl, status and errorType from each row. The input, dataset and output schemas are published with the Actor, so the agent knows every field before it runs anything.