Website Screenshot API with Change Detection avatar

Website Screenshot API with Change Detection

Pricing

from $6.00 / 1,000 screenshots captured

Go to Apify Store
Website Screenshot API with Change Detection

Website Screenshot API with Change Detection

Capture a PNG or JPEG screenshot of any public web page URL (or raw HTML) and get an image hash to detect visual changes between scheduled runs.

Pricing

from $6.00 / 1,000 screenshots captured

Rating

0.0

(0)

Developer

Chun-Yung Yong Lo

Chun-Yung Yong Lo

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Capture a screenshot of any public web page (or of raw HTML) as PNG or JPEG. Every run returns the image (base64), its size and a SHA-256 hash. Pass the hash from a previous run as previousHash and the result tells you whether the page changed visually - ideal for scheduled monitoring, compliance archiving and visual QA.

What it does

  • Renders the page in headless Chromium (Playwright) at the viewport size you choose.
  • Viewport-only or full-page capture (full page capped at 10,000 px height).
  • PNG or JPEG output, optional extra wait for late-rendering pages.
  • Change detection: compares the new image hash with previousHash.
  • Blocks localhost and private network addresses.

Input example

{
"url": "https://example.com",
"width": 1280,
"height": 720,
"fullPage": true,
"format": "png",
"previousHash": ""
}

Provide exactly one of url (http/https) or html.

Output example

{
"status": "ok",
"source": "url",
"url": "https://example.com",
"finalUrl": "https://example.com/",
"httpStatus": 200,
"title": "Example Domain",
"format": "png",
"width": 1280,
"height": 720,
"imageBytes": 18432,
"imageSha256": "<64 hex chars>",
"changed": null,
"imageBase64": "iVBORw0KGgo...",
"capturedAt": "2025-01-01T00:00:00+00:00",
"message": ""
}

status is one of ok, http_error (server answered 4xx/5xx, screenshot still included), timeout, fetch_failed, browser_unavailable. Invalid input fails the run with a clear error message.

Pricing

US$0.006 per screenshot captured.

Limits

  • Public pages only; no login, no bypassing of bot protection or blocks.
  • Viewport 200-3840 x 200-2160 px; full-page height capped at 10,000 px.
  • Images larger than about 6 MB are not embedded (hash and size are still returned).
  • Ads, animations, clocks and cookie banners can change the hash on every run; the hash detects any difference in the encoded image, not only meaningful changes.
  • One URL per call.

For AI agents (MCP)

Call this Actor through Apify's MCP server with one copy-paste input:

{"url": "https://example.com", "fullPage": false, "includeImage": true}

One call captures one page and costs US$0.006. Check status first: ok means the image is valid; changed is true/false only when previousHash was supplied, otherwise null. Store imageSha256 and pass it as previousHash next time to detect changes.

Credits

Built on Playwright for Python by Microsoft, licensed under Apache-2.0.