Screenshot API for Marketing Agencies

Automate client reports, competitor tracking, and visual QA with a screenshot API built for agency workflows. Bulk capture, webhooks, PDF export.

Vitalii Holben Updated

One client is five pages, two device types, ten screenshots. Twenty clients - two hundred. Add competitor sites, staging versions, mobile viewports for each - you are past 500 screenshots a week. That does not scale by hand. You either hire someone to take screenshots full-time, or you automate.

ScreenshotRun captures any URL as an image or PDF through one API call. For agencies, that means automated client reports, competitive captures across every account, visual QA before site handoffs, portfolio archives - all from the same endpoint - all from the same endpoint, regardless of which client the screenshot belongs to.

Client reporting on autopilot

Most agencies first feel the screenshot bottleneck at reporting time. You need current captures of client homepages, landing pages, campaign microsites. Desktop and mobile. Sometimes with annotations showing what changed since last month. Multiply that across fifteen accounts and the task eats a full day.

You can script the entire capture run. Feed it a list of client URLs from a spreadsheet or your project management tool, and it returns images in whatever format the deck needs:

import httpx, os, csv, pathlib

API_KEY = os.environ["SCREENSHOTRUN_KEY"]
BASE = "https://api.screenshotrun.com/v1/screenshots/capture"

output = pathlib.Path("client-reports")

with open("client-urls.csv") as f:
    reader = csv.DictReader(f)
    for row in reader:
        client_dir = output / row["client_name"].lower().replace(" ", "-")
        client_dir.mkdir(parents=True, exist_ok=True)

        for device in ["desktop", "mobile"]:
            resp = httpx.get(BASE, params={
                "url": row["url"],
                "format": "webp",
                "device": device,
                "full_page": "true",
                "block_cookies": "true",
                "block_ads": "true",
                "delay": "3000",
                "response_type": "image",
            }, headers={"Authorization": f"Bearer {API_KEY}"}, timeout=60)

            if resp.status_code == 200:
                (client_dir / f"{device}.webp").write_bytes(resp.content)
                print(f"{row['client_name']} / {device}: {len(resp.content) // 1024} KB")

Thirty client URLs, two device types each, sixty screenshots. The script finishes in a few minutes. Run it on Monday morning before the team starts building decks, and every screenshot is fresh. No browser tabs, no manual cropping, no "can you retake this one, the cookie banner is showing."

The block_cookies=true strips consent overlays automatically. block_ads=true removes promotional placements that clutter the capture. These two parameters alone save more editing time than anything else you tweak.

Competitor captures across every account

Every client wants to know what their competitors are doing. That means capturing competitor homepages, product pages, pricing tables, feature comparison charts. Some agencies track eight to twelve competitors per client - with ten clients that balloons to a hundred URLs.

Stealth mode via the stealth parameter handles sites that detect bots - most large brand sites run Cloudflare, Akamai, PerimeterX, DataDome. Without stealth, you get CAPTCHAs and block pages instead of actual content:

const clients = [
    {
        name: "ClientA",
        competitors: [
            "https://competitor-1.com",
            "https://competitor-2.com/pricing",
            "https://competitor-3.com/features",
        ],
    },
    {
        name: "ClientB",
        competitors: [
            "https://rival-brand.com",
            "https://market-leader.com/products",
        ],
    },
];

const API_KEY = process.env.SCREENSHOTRUN_KEY;

for (const client of clients) {
    for (const url of client.competitors) {
        const params = new URLSearchParams({
            url,
            format: "png",
            full_page: "true",
            stealth: "true",
            block_cookies: "true",
            block_chats: "true",
            delay: "3000",
            response_type: "image",
        });

        const res = await fetch(
            `https://api.screenshotrun.com/v1/screenshots/capture?${params}`,
            { headers: { Authorization: `Bearer ${API_KEY}` } }
        );

        const buffer = await res.arrayBuffer();
        // Save to client folder, compare with previous capture
        console.log(`${client.name}: captured ${url} (${buffer.byteLength} bytes)`);
    }
}

Run this weekly and you have a visual archive of every competitor across every account. When a client asks "what did their homepage look like last quarter?" you pull it from storage instead of guessing. For structured competitor data, the analyze parameter returns every element on the page as JSON - pricing tables, CTAs, feature lists - without OCR or pulling data by hand.

Detailed competitor tracking workflows: competitor monitoring with screenshot API.

Visual QA before client handoffs

You built the client a new landing page. It looks perfect in your browser. Then the client opens it on their iPad and the hero image is cropped wrong. The CTA button is behind the sticky nav on certain Android phones. These issues show up after launch because nobody tested every viewport combo - there are too many to check manually.

Automated screenshots catch these before handoff. Capture the staging URL at every device type and viewport width your client audience uses:

import httpx, os

API_KEY = os.environ["SCREENSHOTRUN_KEY"]
BASE = "https://api.screenshotrun.com/v1/screenshots/capture"

staging_url = "https://staging.client-site.com/new-landing-page"

viewports = [
    {"device": "desktop", "width": "1920", "height": "1080"},
    {"device": "desktop", "width": "1440", "height": "900"},
    {"device": "desktop", "width": "1280", "height": "800"},
    {"device": "mobile", "width": "390", "height": "844"},
    {"device": "mobile", "width": "360", "height": "800"},
    {"device": "tablet", "width": "768", "height": "1024"},
]

os.makedirs("qa-handoff", exist_ok=True)

for vp in viewports:
    resp = httpx.get(BASE, params={
        "url": staging_url,
        "format": "png",
        "full_page": "true",
        "device": vp["device"],
        "width": vp["width"],
        "height": vp["height"],
        "retina": "true",
        "block_cookies": "true",
        "response_type": "image",
    }, headers={"Authorization": f"Bearer {API_KEY}"}, timeout=60)

    filename = f"qa-handoff/{vp['device']}_{vp['width']}x{vp['height']}.png"
    with open(filename, "wb") as f:
        f.write(resp.content)
    print(f"Captured {vp['device']} {vp['width']}x{vp['height']}")

Six screenshots in under a minute. Drop them in a grid, review, done. The retina=true doubles resolution to match high-DPI screens - critical for QA on Retina MacBooks and modern phones where blurry text or misaligned icons are immediately visible.

For agencies running CI/CD for client sites, hook this into the deployment pipeline: visual regression testing with screenshot API.

Portfolio and case study screenshots

Your portfolio page shows work you built for clients. Those screenshots go stale. The client redesigns six months later, your portfolio still shows the old version. Or worse, the site goes offline entirely and you have no visual record of the project.

Capture portfolio screenshots at launch and archive them. The full-page capture grabs everything from header to footer. Store both the viewport screenshot (for portfolio cards) and the full-page version (for case study deep dives):

# Viewport capture for portfolio card thumbnail
curl -G "https://api.screenshotrun.com/v1/screenshots/capture"   -H "Authorization: Bearer $SCREENSHOTRUN_KEY"   --data-urlencode "url=https://client-site.com"   --data-urlencode "format=webp"   --data-urlencode "width=1440"   --data-urlencode "height=900"   --data-urlencode "block_cookies=true"   --data-urlencode "response_type=image"   -o portfolio-card.webp

# Full page for case study
curl -G "https://api.screenshotrun.com/v1/screenshots/capture"   -H "Authorization: Bearer $SCREENSHOTRUN_KEY"   --data-urlencode "url=https://client-site.com"   --data-urlencode "format=png"   --data-urlencode "full_page=true"   --data-urlencode "block_cookies=true"   --data-urlencode "response_type=image"   -o case-study-full.png

Schedule these captures weekly for active client sites. When a client project ends, you already have months of archived screenshots showing the site in its prime - not whatever it looks like two years later after the client handed maintenance to their nephew.

Ad placement and campaign verification

Display ad campaigns run across dozens of publisher sites. The media buy says your client's banner appears above the fold on techcrunch.com. Does it actually? Verifying ad placements manually means visiting each publisher site, scrolling to find the ad, hoping it loads (programmatic ads rotate), and taking a screenshot before it refreshes.

Every publisher page gets captured with everything rendered - including programmatic ad slots. That delay gives ad networks time to fill their slots:

curl -G "https://api.screenshotrun.com/v1/screenshots/capture"   -H "Authorization: Bearer $SCREENSHOTRUN_KEY"   --data-urlencode "url=https://publisher-site.com/article-123"   --data-urlencode "format=png"   --data-urlencode "full_page=true"   --data-urlencode "delay=5000"   --data-urlencode "stealth=true"   --data-urlencode "certified=true"   --data-urlencode "response_type=json"   -o ad-placement-evidence.json

The certified=true parameter adds a SHA-256 hash and timestamp. When a publisher disputes that an ad slot was empty or misplaced, you have tamper-proof evidence with a verifiable timestamp. For campaigns running across different markets, geolocation screenshots capture what the page looks like from each target region.

SEO audit snapshots for client sites

SEO agencies run audits on client sites monthly or quarterly. Part of every audit is documenting how the site currently looks - page layouts, internal link structures visible on the page, mobile rendering, structured data display (rich snippets in search results). Screenshots are evidence. When you recommend a redesign of the product page layout, the "before" screenshot proves why.

Pair the screenshot API with your crawl data. For every URL your crawler flags (broken layout, missing H1, slow LCP), capture a screenshot to document it:

import httpx, os, json

API_KEY = os.environ["SCREENSHOTRUN_KEY"]
BASE = "https://api.screenshotrun.com/v1/screenshots/capture"

# URLs flagged by your SEO crawler
flagged_urls = json.load(open("audit-flagged-urls.json"))

for item in flagged_urls:
    for device in ["desktop", "mobile"]:
        resp = httpx.get(BASE, params={
            "url": item["url"],
            "format": "png",
            "device": device,
            "full_page": "true",
            "block_cookies": "true",
            "extract_metadata": "true",
            "response_type": "json",
        }, headers={"Authorization": f"Bearer {API_KEY}"}, timeout=60)

        data = resp.json()
        print(f"{item['url']} ({device}): {data.get('metadata', {}).get('title', 'no title')}")
        # Store screenshot URL + metadata alongside audit findings

Adding extract_metadata pulls the page title and description alongside each screenshot. That means your audit report pairs the visual evidence with the actual meta tags - no switching between tools to cross-reference. More on this workflow: SEO audits with screenshot API.

Multi-region captures for international clients

International clients need their sites checked from multiple countries. The UK version shows prices in pounds. Over in Germany, the site should display GDPR-compliant cookie handling. And the Japanese version? Character encoding issues that only surface from local networks.

Each capture routes through the country you specify, using the geolocation parameter. One script, all regions, same API call structure:

# Capture from US
curl -G "https://api.screenshotrun.com/v1/screenshots/capture"   -H "Authorization: Bearer $SCREENSHOTRUN_KEY"   --data-urlencode "url=https://client-global-site.com"   --data-urlencode "format=webp"   --data-urlencode "geolocation=us"   --data-urlencode "block_cookies=true"   --data-urlencode "response_type=image"   -o us-version.webp

# Capture from Germany
curl -G "https://api.screenshotrun.com/v1/screenshots/capture"   -H "Authorization: Bearer $SCREENSHOTRUN_KEY"   --data-urlencode "url=https://client-global-site.com"   --data-urlencode "format=webp"   --data-urlencode "geolocation=de"   --data-urlencode "block_cookies=true"   --data-urlencode "response_type=image"   -o de-version.webp

Compare the captures side by side in the client deck. Currency, language, layout differences, missing translations - all visible at a glance without VPN juggling or asking someone in the local office to send screenshots from their phone.

Responsive design previews for client approvals

Before launching a redesign, agencies send clients mockups for approval. But Figma mockups and live sites never really look the same - font rendering differs, real content overflows containers, third-party widgets load in unexpected positions. Screenshots of the actual staged site, captured at the client's most common viewport sizes, close the gap between "design approved" and "launch approved."

The responsive design preview workflow captures the same URL at multiple breakpoints. Add dark mode captures if the client's site supports it - approving both themes before launch prevents the "we didn't test dark mode" email a week after go-live.

Scaling across clients without scaling headcount

Agencies multiply everything. Every workflow that works for one client needs to work for twenty. Manual screenshots scale linearly with client count - double the clients, double the screenshot hours. API-based captures scale flat. The script you wrote for one client's competitor monitoring works for every client. Change the URLs, run again. It just works.

For high-volume agencies processing hundreds of URLs daily, the webhook parameter handles captures asynchronously. Fire all requests at once, receive a callback when each finishes. No blocking, no babysitting timeouts. The queue handles itself.

Pair the API with the tools your agency already uses. Zapier and Make connect screenshot captures to project management platforms, Slack channels, Google Drive folders, client portals, or reporting dashboards - without writing code. When a new client onboards, add their URLs to the spreadsheet and everything runs on its own.

One API key for every client workflow

Client reports and competitor captures sit next to visual QA runs and SEO audit snapshots in your workflow. They feel like separate tasks, but underneath it is the same action. Render a URL, return an image. The only thing that changes between workflows is the URL list and a few parameters.

Agencies that start with one use case - usually client reporting or competitor captures - find the second and third use cases cost almost nothing to set up. The script exists, the API key works, the output format is familiar. Add a new CSV of URLs and run.

Two hundred screenshots per month come free. Enough to build your first reporting script and test it across a couple of client accounts before committing to a paid plan. No credit card, no contract, no "schedule a demo" form. One API key and a few curl commands - your first automated report is done.

FAQ#

The free tier includes 200 screenshots per month for testing. Paid plans start at $9/month with higher limits. A mid-sized agency capturing 30 client sites at desktop and mobile weekly (around 240 screenshots/week) fits comfortably within the Growth plan. Check current pricing for exact tier limits.

The API returns images per request - organize them however your workflow needs. Most agencies create per-client folders in their storage and name files by client, device type, and date. The webhook parameter lets you route completed screenshots to different endpoints per client if you process them asynchronously.

Some sites run bot detection that blocks headless browsers. The stealth parameter masks common headless-Chrome signals so requests look like standard desktop visits. Combined with block_cookies to remove consent overlays and a delay for full rendering, most sites capture cleanly including those behind Cloudflare and similar protection.

WebP for internal archives and dashboards - it is 30-40% smaller than PNG at comparable quality. PNG when you need pixel-perfect accuracy for QA documentation. PDF for full-page captures with text selection intact, useful for compliance records. JPEG if the report goes into a PowerPoint deck where file size matters more than sharpness.

Yes. The cookies parameter lets you pass session cookies so the API captures authenticated pages. Set up a service account for each client site, grab the session cookie, and include it in the API request. The headers parameter also supports custom authorization headers if the client site uses token-based auth.

Run your capture script on a cron schedule - daily, weekly, or monthly depending on the workflow. For no-code setups, Zapier and Make both connect to the API and can trigger captures on a schedule or in response to events like new rows in a Google Sheet. The webhook parameter handles callbacks when each capture finishes.

Written by

Vitalii Holben

Co-founder and CEO of ScreenshotRun. Full-stack developer building screenshot API tools that help developers capture, automate, and monitor web pages at scale. Based in Europe, shipping code since 201...

Screenshot API in a few clicks

Free plan includes 200 screenshots every month. No credit card required.

Sign up → copy your key → make your first call