Website Screenshot API for AI Agents (closes cookie banners) avatar

Website Screenshot API for AI Agents (closes cookie banners)

Pricing

Pay per event

Go to Apify Store
Website Screenshot API for AI Agents (closes cookie banners)

Website Screenshot API for AI Agents (closes cookie banners)

Website screenshot API: give it page URLs and get a PNG screenshot of each for AI agents, with the cookie or consent banner rejected or closed first. Never clicks through logins or paywalls, never hangs, respects robots.txt; charged per screenshot delivered, failed pages are free.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Frameskim Tools

Frameskim Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 hours ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Give it page URLs and get a PNG screenshot of each one for AI agents, the way a person sees the page, without the cookie or consent banner on top. Built for AI agents and automations that need to look at a page: visual checks, evidence, archiving. One item per URL, with a signed link to the PNG. It is also an MCP server (/mcp) and HTTP API (/screenshot) for one page's viewport per call, charged per screenshot, without starting a run in your account; full pages still need a run (see Server interface below).

More: URL Screenshot on frameskim.dev

How it works

  • Each URL is opened in headless Chromium as the FrameskimFetch bot, respecting robots.txt on every hop of the page and of its navigations, and only on public addresses. The images, styles and scripts the page loads are fetched as any browser fetches them.
  • Cookie and consent banners are handled before the screenshot: the known consent platforms (OneTrust, Cookiebot, Didomi, Quantcast, TrustArc, Usercentrics and more) and a generic check in seven languages. The banner is rejected when there is a reject button, else accepted, else hidden (or left when hiding it could remove page content). Each item says what was done (banner).
  • A box it recognizes (by its words in seven languages or a password field) as asking to log in, sign up, subscribe or pay, such as a paywall or an "accept or subscribe" wall, is never clicked or hidden: the screenshot shows it and the item says why.
  • Nothing hangs: every page has hard time limits; a page that never finishes loading is captured as it is.
  • Many sites show their banner only to visitors from Europe, so many pages have no banner to close.

What you get

{
"url": "https://frameskim.dev/",
"finalUrl": "https://frameskim.dev/",
"title": "Frameskim: tools for AI agents",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/aBcDeF123/records/screenshot-3f2a9c1d5e7b8a40?signature=...",
"screenshotKey": "screenshot-3f2a9c1d5e7b8a40",
"fullPage": false,
"width": 1280,
"height": 800,
"bytes": 184233,
"truncated": false,
"banner": {"found": true, "action": "rejected", "framework": "Cookiebot", "reason": null}
}
  • screenshotUrl is a signed link to the PNG in the run's key-value store; screenshotKey is its key there. The link stops working when Apify deletes the run's storage (unnamed storages expire after 7 days by default), so copy the PNG if you need it longer.
  • banner.action is rejected, accepted, hidden or left (a login, sign-up or paywall box, or a banner it will not touch); reason says why when it was left or hidden.
  • truncated is true when a full page was cut at the pixel cap.
  • A URL that could not be captured has url and error, with the reason, and is not charged.
  • The run's status message says how many screenshots were delivered and failed, and why the run stopped early, if it did.
  • If nothing is delivered, the run still ends as succeeded: each page that failed is in the dataset with its error, the status message gives the first reason, and nothing was charged.

Input

FieldWhat it does
urlsFrom 1 to 100 public http or https URLs of HTML pages. A repeated URL is opened once.
fullPageCapture the whole page instead of the window, up to 7,000 px tall at 1280 px wide.
widthWindow width, from 320 to 1920 px (default 1280).
heightWindow height, from 320 to 1080 px (default 800); a full page grows past it.
closeBannersReject, accept or hide the cookie or consent banner first (on by default).

Server interface (HTTP and MCP)

The actor is also a multi-tenant Server Actor: send a request to its server URL (on the Server tab) with your Apify API token in Authorization: Bearer <token> and get one screenshot back at once. You pay only the screenshot event of each screenshot delivered; no run starts in your account.

  • GET /screenshot?url=<page URL>&width=1280&height=800 or POST /screenshot with {"url": "...", "width": 1280, "height": 800, "closeBanners": true}: 200 with a run's item, without the key-value store link, plus png (the PNG as base64) and mimeType. A page that cannot be captured comes back as 422 with its error, and a bad URL or size as 400; neither is charged.
  • POST /mcp: an MCP server (streamable HTTP, stateless) with one tool, url_screenshot, that takes the same fields. Add the MCP URL from the Server tab to your agent with your token as the bearer.
  • The viewport only, 18 seconds per request and a PNG up to 1 MB: full pages, larger screenshots and very heavy pages need a run of the actor. The page sends no request but GET or HEAD (no forms, uploads or tracking beacons). If your requests cost far more than the screenshots they deliver, they get 429 for a while.
  • Requests and screenshots are not stored: the PNG comes back in the response, the server writes no dataset or key-value store, and its log has only the method, route and status of each request and short status and error lines, never the URL or who asked.

Limits

  • Each page gets up to 40 s in the browser, and a PNG larger than 7 MB is not stored.
  • 1 page at a time.
  • Set a maximum charge per run to cap spending: the run stops before a screenshot that would pass it.

Pricing

This actor bills two events:

  • screenshot: one per screenshot delivered.
  • full-page: one more for each full-page screenshot.

Pages that fail are not charged.

Site owners

Pages are opened as the FrameskimFetch bot, which checks robots.txt for each page, its redirects and its navigations (the images, styles and scripts a page loads are fetched as any browser fetches them). To keep your pages out, disallow FrameskimFetch in your robots.txt (the other Frameskim actors that fetch pages also honor that user agent, so the rule stops them too). Questions: support@frameskim.dev.

Terms and privacy

URL Screenshot for AI Agents is operated by Emttn LLC and is not affiliated with, endorsed by or sponsored by the sites whose pages it captures, or by the makers of the consent platforms it recognizes. You are responsible for having a lawful basis to capture each page and for how you use its screenshot, including any personal data it shows. A site owner can opt out by disallowing FrameskimFetch in robots.txt. Terms: https://frameskim.dev/terms. Privacy: https://frameskim.dev/privacy. Questions: support@frameskim.dev.