Website Screenshot Capture avatar
Website Screenshot Capture

Pricing

Pay per usage

Go to Apify Store
Website Screenshot Capture

Website Screenshot Capture

30+ device presets, full-page capture, dark mode, cookie banner blocking and batch processing for pixel-perfect website screenshots. Supports iPhone, iPad, Android, Desktop, and up to 100 URLs per run.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Allscreenshots

Allscreenshots

Maintained by Community

Actor stats

1

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Share

Website Screenshot API

Capture pixel-perfect screenshots of any website using the AllScreenshots API. This Actor supports single URLs, bulk processing (up to 100 URLs), 30+ device presets, full-page capture, dark mode, ad blocking, and more.

Features

  • 30+ Device Presets: iPhone (SE to 15 Pro Max), iPad, Android (Pixel, Galaxy), Desktop, and Social Media sizes
  • Bulk Processing: Capture up to 100 URLs in a single run
  • Full Page Screenshots: Capture entire scrollable pages
  • Dark Mode: Force dark theme on supported websites
  • Ad & Cookie Banner Blocking: Clean screenshots without distractions
  • Multiple Formats: PNG, JPEG, WebP, or PDF output
  • Custom CSS Injection: Hide elements or modify styles
  • Element Selection: Capture specific page elements

Quick Start

Minimum Configuration

{
"apiKey": "your-allscreenshots-api-key",
"urls": ["https://example.com"]
}

Get Your API Key

  1. Visit AllScreenshots.com
  2. Sign up for a free account
  3. Copy your API key from the dashboard

Input Parameters

Essential

ParameterTypeRequiredDescription
apiKeyStringYesYour AllScreenshots API key
urlsArrayYes*List of URLs to screenshot
urlStringYes*Single URL to screenshot

*Either urls or url is required.

Device & Viewport

ParameterTypeDefaultDescription
devicePresetString-Device preset (e.g., iphone-15-pro-max, desktop-hd)
viewportWidthInteger1920Custom viewport width (100-4096)
viewportHeightInteger1080Custom viewport height (100-4096)
deviceScaleFactorInteger1Pixel density (1-3)

Available Device Presets

Desktop

  • desktop-hd (1920x1080)
  • desktop-large (1440x900)
  • desktop-retina (2560x1440 @2x)
  • laptop (1366x768)
  • laptop-retina (1536x864 @2x)

iPhone

  • iphone-se, iphone-xr, iphone-12, iphone-12-pro-max
  • iphone-14, iphone-14-pro-max, iphone-15, iphone-15-pro-max

iPad

  • ipad, ipad-pro-11, ipad-pro-12-9, ipad-mini

Android

  • pixel-5, pixel-7, pixel-7-pro
  • galaxy-s21, galaxy-s23, galaxy-tab-s7
  • surface-pro-7

Social Media

  • facebook-og (1200x630)
  • twitter-card (1200x675)
  • linkedin-post (1200x627)
  • instagram-square (1080x1080)
  • instagram-portrait (1080x1350)
  • instagram-story (1080x1920)

Output Format

ParameterTypeDefaultDescription
formatStringpngOutput format: png, jpeg, webp, pdf
qualityInteger90Image quality 1-100 (JPEG/WebP only)
fullPageBooleanfalseCapture entire scrollable page

Page Loading

ParameterTypeDefaultDescription
delayInteger0Delay before capture (ms, 0-30000)
waitForString-CSS selector to wait for
waitUntilStringloadWait event: load, domcontentloaded, networkidle
timeoutInteger30000Page load timeout (ms, 1000-60000)

Page Customization

ParameterTypeDefaultDescription
darkModeBooleanfalseForce dark mode
customCssString-Custom CSS to inject
hideSelectorsArray-CSS selectors of elements to hide
selectorString-Capture specific element only

Content Blocking

ParameterTypeDefaultDescription
blockAdsBooleantrueBlock advertisements
blockCookieBannersBooleantrueBlock cookie consent banners
blockLevelStringnormalBlocking intensity: none, light, normal, pro, pro_plus, ultimate

Output Options

ParameterTypeDefaultDescription
outputToDatasetBooleantrueSave metadata to Dataset
outputToKeyValueStoreBooleantrueSave images to Key-Value Store
fileNamePatternString{domain}_{timestamp}.{format}File naming pattern

Output

Dataset

Each screenshot produces a dataset record:

{
"url": "https://example.com",
"screenshotKey": "example_com_1705123456789.png",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/xxx/records/example_com_1705123456789.png",
"capturedAt": "2025-01-15T12:30:45.789Z",
"format": "png",
"viewport": "1920x1080",
"devicePreset": null,
"fullPage": false,
"fileSize": 245678,
"success": true,
"error": null,
"processingTimeMs": 1523
}

Key-Value Store

Screenshot images are stored with the key pattern you specify (default: {domain}_{timestamp}.{format}).

Examples

Mobile Screenshot

{
"apiKey": "your-api-key",
"urls": ["https://example.com"],
"devicePreset": "iphone-15-pro-max",
"format": "webp",
"quality": 85
}

Full Page with Ad Blocking

{
"apiKey": "your-api-key",
"urls": ["https://news-site.com/article"],
"fullPage": true,
"blockAds": true,
"blockCookieBanners": true,
"blockLevel": "pro"
}

Dark Mode Screenshots

{
"apiKey": "your-api-key",
"urls": ["https://github.com", "https://twitter.com"],
"darkMode": true,
"devicePreset": "desktop-hd"
}

Social Media Images

{
"apiKey": "your-api-key",
"url": "https://your-website.com/landing-page",
"devicePreset": "facebook-og",
"format": "jpeg",
"quality": 90
}

Hide Elements

{
"apiKey": "your-api-key",
"urls": ["https://example.com"],
"hideSelectors": [".cookie-banner", "#popup", ".advertisement"],
"customCss": "body { background: white !important; }"
}

Bulk Processing

{
"apiKey": "your-api-key",
"urls": [
"https://example.com",
"https://google.com",
"https://github.com",
"https://twitter.com"
],
"devicePreset": "desktop-hd",
"format": "png"
}

Pricing

This Actor uses the AllScreenshots API. You need an API key to use it.

  • Free tier: 100 screenshots/month
  • Paid plans: Higher limits available

Visit AllScreenshots.com for pricing details.

Support

License

ISC