Runs onScreenshot API

Take website screenshots without cookie banners or ads

A cookie-banner and ad-blocking screenshot API captures a web page as an image after removing consent pop-ups and ads, so you get a clean screenshot without writing any blocking code.

Geekflare's Screenshot API removes cookie consent banners and blocks ads before every capture. Both options are on by default, so a plain request returns a clean image.

Get a free API key

Rated 4.9 on average: G2 4.8, Google 4.9, Product Hunt 5.0.

  • 100 free screenshots every month
  • No card to start
  • Failed requests cost nothing

Try it on your own URL

Banners and ads are removed by default.

Try:

Trusted by teams at Pfizer, NBCUniversal, TCS, Hostinger, Kissflow, Lookout, Plivo, ClearSale, Sparkian, CBSplit and Omreon.

Two parameters, both on by default

Two request options control what gets removed. hideCookie removes cookie consent banners before the page is captured. blockAds blocks ads before the capture. Both default to true, so you don't need to send them. Set either one to false when you want the page exactly as a first-time visitor sees it, banner and ads included.

ParameterDefaultWhat it doesSet to false to
hideCookietrueRemoves cookie consent banners before the captureKeep the consent banner in the image
blockAdstrueBlocks ads before the captureCapture the page with its ads
skipCaptchatrueTries to get past a CAPTCHA before the captureLeave CAPTCHA handling off

Your first clean screenshot

Send the URL. The response contains a link to the image in data. Add fullPage for the whole scrolling page, device: "mobile" for a phone-sized view, or type for JPEG or WebP instead of PNG. If your tool can't fetch a URL, add inline: true to get the image as Base64 in the same response. Every option is in the Screenshot API docs.

quickstart.pyofficial SDK
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import ScreenshotDto

with GeekflareClient(api_key="<api-key>") as client:
    result = client.screenshot(
        ScreenshotDto(
            url="https://example.com",
            full_page=True
        )
    )
    print(result)

See it in 20 seconds

Hiding cookie banners in Puppeteer or Playwright

If you run the browser yourself, there are three common ways to get rid of a consent banner. You can click its accept button, which needs a selector for each site. You can hide it with injected CSS, which needs the same selectors. Or you can block the scripts that load it, which needs a list of consent and ad domains. All three work, and all three need upkeep because banners change. With the API, the same result is one request, and the browser, blocking and upkeep are not your job.

  • Click the accept button: a selector per site, which breaks when the banner changes
  • Hide it with CSS: the same selectors, and the banner can still shift the layout
  • Block the consent and ad scripts: a domain list you maintain

When to keep the banner in the screenshot

Sometimes the banner is the thing you need to see. If you are checking that a consent banner appears, documenting what visitors in a country are shown, or keeping a record for compliance, set hideCookie to false. Do the same with blockAds when you need to see where ads appear on a page. Combine it with proxyCountry to see the banner a visitor in another country, such as Germany or France, gets.

What teams use clean screenshots for

Clean captures matter most where nobody checks the image before it is used.

  • Visual testing: compare releases without a banner covering the part of the page you changed
  • Link previews and thumbnails: show the page, not the consent pop-up
  • Archiving: keep a dated visual record of a page with addTimestamp
  • Reports and docs: screenshots that need no manual cleanup, in light or dark mode

How many screenshots each plan covers.

A screenshot costs 5 credits, with banner and ad removal included. The free plan has 500 credits a month, which is 100 screenshots, with no credit card. Failed requests cost nothing, and the same credits work for the Web Scraping and Search APIs.

2 months free
Covered per month
Free
$0/mo
No card
Starter
$19/mo
Most popular
Growth
$69/mo
Business 500K
$299/mo
Business 1M
$499/mo
Credits a month
50020,000100,000500,0001,000,000
ScreenshotsFull page or viewport in a real Chrome browser, banners and ads removed.5 credits
1004,00020,000100,000200,000
Requests per second15102525
Start freeCompare plans and credit packsEvery account starts free. Upgrade when you need more, or buy a credit pack from $10.

What customers say.

Read all reviews
“Finally found a screenshot API that handles full-page captures correctly. Most others mess up the rendering of dynamic elements. Geekflare API captures the whole thing.”
Dinny RobersonDeveloper
“Geekflare screenshot API has been solid so far. I like how consistently it handles dynamic content and modern websites. Team feature is a plus, I can get my team members to get API key and request logs.”
Michael TSoftware Engineer
“Great API and even better customer support. They went above and beyond to help me fix a rendering issue. Fast response times and effective solutions. 5 stars!”
Kham Nguyen DinhDeveloper

Clean captures, specifically.

General screenshot questions are answered on the Screenshot API page.

Open the Screenshot API page

Send the page URL to the Geekflare Screenshot API. Cookie consent banners are removed by default because hideCookie is true unless you change it. You get back a link to a clean PNG, JPEG or WebP.

Geekflare's Screenshot API does it on every request by default. The hideCookie option removes the consent banner before the capture, and blockAds blocks ads. You can switch either off per request.

Use blockAds, which is true by default. Ads are blocked before the page is captured, so a plain request already returns the page without them.

Yes. Set hideCookie to false and the page is captured as a first-time visitor sees it. This is useful when you need to check or document the consent banner itself.

Yes. Banner and ad removal works with fullPage: true and with device: "mobile". You can also set the viewport from 320 to 3840 pixels wide.

You can click the accept button, hide the banner with CSS, or block the scripts that load it. Each needs selectors or a domain list that you keep up to date. The API does this for you with hideCookie.

Each screenshot costs 5 credits, and banner and ad removal add nothing. The free plan includes 100 screenshots a month. On paid plans, 1,000 screenshots cost between $2.50 and $4.75.

Clean screenshots from the first request.

Create a free account and get 100 screenshots a month. No credit card needed.