kadi_bence/website-screenshot
kadi_bence--website-screenshotThis tool calls the Actor "kadi_bence/website-screenshot" and retrieves its output results. Actor description: $2.50 per 1,000 screenshots, failed pages free. Capture screenshots or PDFs of web pages. Input: URLs; format (PNG, JPEG, WebP, PDF), full page or viewport, device preset, element selector, dark mode. Returns per URL: file URL, title, HTTP status, size. Hides cookie banners, loads lazy images.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "kadi_bence--website-screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | **REQUIRED** Web pages to capture, one per line, e.g. https://example.com/pricing or just example.com (https:// is added). Duplicates are skipped, max 50,000 per run. You can paste a CSV column. Only capture pages you are allowed to. Example values: ["https://example.com","https://apify.com","https://www.wikipedia.org"] | |
| device | No | Desktop 1920x1080, Laptop 1366x768, Tablet 820x1180 (2x pixels, touch, mobile user agent), Mobile 412x915 (2x pixels, touch, Android Chrome user agent). Sites that serve a mobile layout will show it. Example values: "desktop" | desktop |
| format | No | PNG = lossless, sharp text. JPEG / WebP = much smaller files (WebP smallest). PDF = printable document with selectable text. Every format costs the same. Example values: "png" | png |
| delayMs | No | Extra wait after loading, e.g. 2000 for pages with intro animations or slow charts. Max 30000. | |
| quality | No | JPEG and WebP quality, 1-100, e.g. 70 for small thumbnails. Higher = sharper but bigger files. Ignored for PNG and PDF. Example values: 80 | |
| blockAds | No | Blocks requests to common ad and tracking networks and hides empty ad slots. Faster loads and cleaner screenshots. Example values: true | |
| darkMode | No | Tell the page the visitor prefers a dark color scheme (prefers-color-scheme: dark). Works on sites that support dark mode. | |
| fullPage | No | On: the whole scrollable page. Off: only the visible viewport ("above the fold"). Ignored for PDF and when a CSS selector is set. Example values: true | |
| selector | No | Optional. Capture only the first visible element matching this CSS selector, e.g. #pricing, .hero or table.results. If nothing matches, the row is an error and is not charged. | |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| pdfFormat | No | Paper size for PDF output, e.g. A4 (Europe) or Letter (US). Example values: "A4" | A4 |
| pdfMargin | No | Margin on all four sides, e.g. 10mm, 0.5in, 1cm, 20px or 0. Example values: "10mm" | 10mm |
| waitUntil | No | Load = page load event (max 8 s after the page is ready) plus up to 1.5 s for late network requests (good default). Network idle = wait until the network is quiet (up to 15 s; slower but safer for single-page apps). DOM ready = fastest, may miss images. Example values: "load" | load |
| maxRetries | No | Retries after a timeout, network error or tab crash (HTTP errors like 404 are not retried). Failed pages are not charged. Example values: 1 | |
| pdfLandscape | No | Landscape instead of portrait PDF pages. Useful for wide dashboards and tables. | |
| scrollToLoad | No | Scrolls through the page (max 8 s) before a full-page, element or PDF capture so lazy-loaded images and sections render, then scrolls back to the top. Example values: true | |
| hideSelectors | No | Optional. Extra elements to hide before capture (up to 50), e.g. chat widgets or newsletter pop-ups: #intercom-container, .newsletter-modal | |
| viewportWidth | No | Overrides the device width (200-3840), e.g. 1280. Leave empty to use the device preset. | |
| maxConcurrency | No | How many pages are captured at the same time. 0 = automatic from the run memory (2 GB: 3 tabs, 4 GB: 6, 8 GB: 12). For more speed, give the run more memory: the price per screenshot stays the same. | |
| viewportHeight | No | Overrides the device height (200-4320), e.g. 800. For viewport screenshots this is the image height. | |
| pdfUseScreenCss | No | On: the PDF uses the page's normal screen styles (looks like the website). Off: the page's print stylesheet is used (often plainer, without navigation). Example values: true | |
| waitForSelector | No | Optional. Wait until this element is visible before capturing (max 15 s), e.g. .chart-loaded. If it never appears, the row is an error and is not charged. | |
| respectRobotsTxt | No | Skip pages that the site's robots.txt does not allow for automated access (RFC 9309). Skipped pages are listed and not charged. Keep this on unless you own the site. Example values: true | |
| deviceScaleFactor | No | 1 = normal, 2 = retina (twice the pixels in each direction), 3 = extra sharp. Empty = device default (desktop 1, tablet and mobile 2). Bigger images take longer. | |
| fullPageMaxHeight | No | Very long or infinite-scroll pages are cut at this height (CSS pixels) and the row gets truncated: true. WebP is also limited to 16,383 px and JPEG to 65,500 px (divided by the pixel density). Example values: 20000 | |
| hideCookieBanners | No | Hides consent pop-ups from 35+ consent tools (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast...) and other cookie overlays with CSS. Nothing is clicked: no consent is given on your behalf. Example values: true | |
| pdfPrintBackground | No | Keep background colors and images in the PDF (as on screen). Example values: true | |
| proxyConfiguration | No | Usually not needed. Use Apify Proxy (datacenter) to capture from other IP addresses. Residential proxies are not supported. Example values: {"useApifyProxy":false} | |
| navigationTimeoutSecs | No | Give up on a page that does not load within this time (it is retried once). Failed pages are not charged. Example values: 45 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |