# Website Screenshot API - Full Page, Mobile, No Cookie Banners (`tallyproof/website-screenshot-no-cookie-banners`) Actor

Bulk website screenshots of any URL list: full page or first screen, desktop, laptop, tablet or mobile, JPEG, PNG or WebP. Cookie consent banners (OneTrust, Cookiebot, Usercentrics, Didomi and 25 more) and newsletter popups are hidden so you capture the real page. Blocked and failed pages are free.

- **URL**: https://apify.com/tallyproof/website-screenshot-no-cookie-banners.md
- **Developed by:** [Ethan Kerr](https://apify.com/tallyproof) (community)
- **Categories:** Developer tools, SEO tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 screenshots

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Website Screenshot API - Full Page, Mobile, No Cookie Banners

Take clean screenshots of any list of web pages: **full page or first screen**, on **desktop, laptop, tablet or mobile**, as **JPEG, PNG or WebP**. Cookie consent banners, newsletter popups and chat bubbles are **hidden before the picture is taken**, so you see the page a returning visitor sees, not a wall of overlays.

- Bulk: paste 1 or 10,000 URLs; each URL x device is one screenshot.
- Full-page capture scrolls the page first so lazy-loaded images actually appear.
- Hides banners from about 30 consent managers (OneTrust, Cookiebot, Usercentrics, Didomi, CookieYes, Shopify, Sourcepoint, Quantcast, TrustArc, Complianz, iubenda, Osano and more) and popups from Klaviyo, Privy, Justuno, OptinMonster, Attentive, Postscript and others. Nothing is clicked or accepted.
- Each dataset row links to the image and tells you which banners were hidden.

**Price: $4.00 per 1,000 screenshots. Blocked, robots-disallowed and failed pages are free.**

### Who uses it

- **Ecommerce and agencies**: weekly snapshots of competitor home pages, sale banners and pricing pages; before/after shots for client reports.
- **SEO and QA**: check how pages render on mobile vs desktop across a whole sitemap.
- **Archiving and monitoring**: dated, full-page visual records of landing pages and ads destinations.
- **AI and data pipelines**: page images for vision models, without consent overlays covering the content.

### Try it in one minute

Run with the prefilled input, or call it from code:

```json
{
  "urls": ["https://www.allbirds.com/", "https://www.gymshark.com/"],
  "devices": ["desktop", "mobile"],
  "fullPage": true,
  "format": "jpeg"
}
```

```bash
curl -X POST "https://api.apify.com/v2/acts/tallyproof~website-screenshot-no-cookie-banners/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://www.allbirds.com/"],"devices":["mobile"]}'
```

### Input

| Field | What it does | Default |
|---|---|---|
| `urls` | Pages to capture (full URLs or bare domains) | example store |
| `devices` | `desktop` 1440x900, `laptop` 1280x800, `tablet` 820x1180 (2x), `mobile` 390x844 (2x, touch, iPhone UA) | `["desktop"]` |
| `fullPage` | Whole scrollable page, or only the first screen | `true` |
| `format` / `quality` | `jpeg`, `png` or `webp`; quality 1-100 for JPEG/WebP | `jpeg`, 80 |
| `hideCookieBanners` | Hide consent banners (hidden only, consent is not given) | `true` |
| `hidePopups` | Hide email popups, chat widgets and large fixed overlays; unlock scrolling | `true` |
| `hideSelectors` | Your own CSS selectors to hide, e.g. `#promo-bar` | none |
| `waitMs` | Extra wait after load for animations | 1500 |
| `maxHeightPx` | Cut very long pages at this height | 12000 |
| `maxPages` | Cap on screenshots per run | 500 |
| `concurrency` | Pages loaded in parallel (raise memory with it: 1 CPU core per 4 GB) | 4 |
| `blockTrackers` | Skip ~50 analytics, ad and session-replay hosts and video streams (invisible in a screenshot, slow to load) | `true` |
| `respectRobotsTxt` | Skip pages the site's robots.txt disallows (free) | `true` |

### Output

One dataset row per screenshot. The image itself is saved in the run's key-value store; `screenshotUrl` links straight to it.

```json
{
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/2-www.gymshark.com-mobile.jpg",
  "screenshotKey": "2-www.gymshark.com-mobile.jpg",
  "status": "ok",
  "url": "https://www.gymshark.com/",
  "finalUrl": "https://www.gymshark.com/",
  "device": "mobile",
  "pageTitle": "Gymshark Official Store - Gym & Workout Clothes",
  "width": 390,
  "height": 8089,
  "pixelRatio": 1.978,
  "fullPage": true,
  "truncated": false,
  "format": "jpeg",
  "bytes": 1045114,
  "httpStatus": 200,
  "bannersHidden": ["OneTrust"],
  "popupsHidden": 1,
  "takenAt": "2026-11-22T22:10:31.000Z"
}
```

- `width` / `height` are CSS pixels; the image is `pixelRatio` times larger (mobile and tablet are 2x). Very tall pages are scaled so the image stays under 16,000 px.
- `truncated: true` means the page was longer than `maxHeightPx`.
- Free rows have `status` `blocked` (HTTP 401/403/429/503), `skipped` (robots.txt) or `error` (404, DNS failure, timeout, invalid or private URL) and an `errorCode`.

The dataset has two views: **Screenshots** (with image previews) and **Blocked / errors**.

### Pricing

| Event | Price |
|---|---|
| Screenshot (one image saved) | $0.004 |
| Actor start (per GB of run memory) | $0.00005 ($0.0002 at the default 4 GB) |

1,000 screenshots = $4.00. Set **Max screenshots** or a max cost per run in Apify and the Actor stops there.

### Limits and data policy

- Public pages only: no logins, no cookies carried between pages, no form filling. Pages behind bot walls come back free as `blocked`.
- robots.txt is respected by default. Private and local network addresses are refused.
- Banner hiding is visual only. The Actor never clicks Accept or Reject, so it does not give consent on anyone's behalf.
- Images stay in your own Apify storage. Nothing is analysed or kept by us.

### Related Actors by Tallyproof

- [Shopify Speed Test - Core Web Vitals & Slow Apps Finder](https://apify.com/tallyproof/store-speed-test-apps-slowing-store)
- [Cookie Consent Checker - Consent Mode v2 & GDPR Scanner](https://apify.com/tallyproof/cookie-consent-consent-mode-checker)
- [Tracking Pixel Checker - GA4, GTM & Meta Pixel Auditor](https://apify.com/tallyproof/ecommerce-tracking-pixel-auditor)
- [Shopify SEO Audit Crawler - Store Site Audit & Broken Links](https://apify.com/tallyproof/store-seo-audit-crawler)
- [Google Ads Transparency Scraper - Competitor Ads & Creatives](https://apify.com/tallyproof/google-ads-transparency-scraper)

Questions, a banner we missed or a site that renders wrong? Open an issue on the Actor's Issues tab and we'll fix it fast.

# Actor input Schema

## `urls` (type: `array`):

Pages to screenshot. Full URLs or bare domains (allbirds.com). One screenshot per URL per device.

## `devices` (type: `array`):

One or more of: desktop (1440x900), laptop (1280x800), tablet (820x1180), mobile (390x844, iPhone-size, touch, 3x). Each device is a separate screenshot.

## `fullPage` (type: `boolean`):

Capture the whole scrollable page (scrolls first so lazy images load). Off = only the first screen.

## `format` (type: `string`):

png is lossless; jpeg and webp are much smaller.

## `quality` (type: `integer`):

1-100. Ignored for PNG.

## `hideCookieBanners` (type: `boolean`):

Hide consent banners from about 30 common consent managers (OneTrust, Cookiebot, Usercentrics, Didomi, CookieYes, Shopify, Quantcast, TrustArc, Complianz, iubenda and more). Nothing is accepted or rejected: the banner is only hidden from the picture.

## `hidePopups` (type: `boolean`):

Hide email-signup popups (Klaviyo, Privy, Justuno, OptinMonster, Omnisend and others), chat widgets and large fixed overlays that cover the page, and unlock page scrolling.

## `hideSelectors` (type: `array`):

Optional CSS selectors to hide before the screenshot, e.g. #promo-bar or .sticky-header.

## `waitMs` (type: `integer`):

Extra wait after the page loads, for animations or late content. 0-30000.

## `maxHeightPx` (type: `integer`):

Very long pages are cut at this height so the image stays usable. 1000-30000.

## `maxPages` (type: `integer`):

Safety cap on screenshots per run (URLs x devices).

## `concurrency` (type: `integer`):

Pages loaded at the same time. 1-8. Raise memory with it: Apify gives 1 CPU core per 4 GB.

## `blockTrackers` (type: `boolean`):

Skip loading about 50 analytics, ad and session-replay hosts (Google Analytics, GTM, Meta pixel, TikTok, Hotjar, Clarity, Criteo...) and video streams. They never show in a screenshot; pages load faster. Turn off to capture the page exactly as a tracked visitor loads it.

## `respectRobotsTxt` (type: `boolean`):

Skip (free) any page the site's robots.txt disallows.

## Actor input object example

```json
{
  "urls": [
    "https://www.allbirds.com/",
    "https://www.gymshark.com/"
  ],
  "devices": [
    "desktop"
  ],
  "fullPage": true,
  "format": "jpeg",
  "quality": 80,
  "hideCookieBanners": true,
  "hidePopups": true,
  "waitMs": 1500,
  "maxHeightPx": 12000,
  "maxPages": 500,
  "concurrency": 4,
  "blockTrackers": true,
  "respectRobotsTxt": true
}
```

# Actor output Schema

## `screenshots` (type: `string`):

Every screenshot taken: page, device, size, image link and hidden banners.

## `errors` (type: `string`):

Free rows for invalid URLs, robots-disallowed, blocked and unreachable pages.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.allbirds.com/",
        "https://www.gymshark.com/"
    ],
    "devices": [
        "desktop"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tallyproof/website-screenshot-no-cookie-banners").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://www.allbirds.com/",
        "https://www.gymshark.com/",
    ],
    "devices": ["desktop"],
}

# Run the Actor and wait for it to finish
run = client.actor("tallyproof/website-screenshot-no-cookie-banners").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.allbirds.com/",
    "https://www.gymshark.com/"
  ],
  "devices": [
    "desktop"
  ]
}' |
apify call tallyproof/website-screenshot-no-cookie-banners --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tallyproof/website-screenshot-no-cookie-banners"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uaWqTsuETeazBL9ia/builds/66Xe5N0jrecbrvg3s/openapi.json
