Comparison

Screenshotly vs Browser Extensions

Browser extensions are fine for one-off captures. A screenshot API is what you reach for once captures need to run from code, on a schedule, or inside CI.

Quick summaryScreenshot API vs browser extensions. Extensions are triggered by a person in their own browser. APIs are triggered by code. Choose based on who or what starts the capture.

Screenshotly vs Browser Extensions: At a Glance

Extensions are triggered by a person in their own browser. APIs are triggered by code. If nobody needs captures to run without a human clicking, an extension is the simpler choice.

Feature Comparison: Screenshotly vs Browser Extensions

FeatureScreenshotlyBrowser Extensions
PricingFrom $14/moOften free; some charge a one-time fee or subscription
Triggered from code✅ HTTP API❌ Manual only
CI/CD and scheduled jobs✅ Yes❌ No
Viewport control✅ 320–3840 px width, or device presets⚠️ Your browser window
PDF output✅ Basic+ (A4)⚠️ Varies by extension
Your logged-in view⚠️ Pass headers or cookies (Basic+)✅ Uses your session
Zero setup for a one-off⚠️ Requires an account and API key✅ Install and go

Why Choose Screenshotly?

REST API you can call from any language, CI system, or scheduler
Explicit viewport, device preset, wait, and format on every request
PNG, JPEG, and WebP on every plan; PDF and HTML on Basic+
Authenticated captures with headers or cookies (Basic+), async jobs, and webhooks

Where Browser Extensions Stands Out

Zero setup: install and click
Captures exactly what you see, including your logged-in session
Good for ad-hoc captures and annotation

Browser Extensions Limitations

Needs a person to trigger each capture
Cannot run in CI, cron jobs, or serverless functions
Output depends on each person’s browser, window size, fonts, and extensions

When to Choose Which

Choose Screenshotly if…

  • Captures need to run from code, CI, a scheduler, or a webhook
  • You need the same viewport, wait, and format on every capture
  • You need PDF or HTML output, or authenticated captures without a person logged in

Choose Browser Extensions if…

  • Zero setup: install and click
  • Captures exactly what you see, including your logged-in session
  • Good for ad-hoc captures and annotation

Screenshotly vs Browser Extensions: The Verdict

Use a browser extension when a person needs one screenshot now. Use a screenshot API when screenshots must happen on a schedule, from code, or inside a pipeline.

Deep Dive: What This Trade-off Actually Looks Like

Taking a screenshot of a web page looks like one task, but it is really two. Sometimes a person wants to save what is on their screen. Other times a system needs an image of a page, made the same way every time, without anyone clicking anything. Browser extensions are built for the first job and screenshot APIs for the second.

The Question That Decides It: Who Triggers the Capture?

Browser extensionScreenshot API
Triggered byA person clicking in their browserCode: CI, cron, a queue worker, a webhook, or your app
Runs whereOn that person’s machine, in their open browserOn the provider’s servers
RendersYour live session, exactly as you see itA clean headless browser configured by the request
Output controlWhatever the extension’s UI exposesEvery option is a request field: size, waits, format
Logged-in pagesAutomatic, because you’re already signed inYou pass headers or cookies explicitly
Cost modelOften free or a small subscription; varies by extensionPlan allowance; Screenshotly starts at $14/month after 100 free captures

If the honest answer to "who clicks the button?" is "a person, when they feel like it", you probably want an extension. If it is "the deploy", "every night at 2am", or "whenever a customer adds a URL", you need an API. Volume is not the deciding factor: even five captures a week justify an API if they have to happen without anyone remembering to do them.

Same Page, Different Image

An extension captures your session. The image includes whatever your browser is doing right now:

  • You are logged in, so you see your account, your name, and your data
  • Other extensions you have installed, such as ad blockers, password managers, or dark-mode tools, may change the page
  • Your browser zoom, window size, and display pixel density decide the dimensions
  • Cookie banners you have already dismissed don’t appear, while new visitors still see them

An API renders the page in a clean browser

That is exactly right for a bug report, where the point is "this is what I see". An API renders in a browser that only knows what you put in the request. With Screenshotly, that looks like this:

{
  "url": "https://example.com/pricing",
  "width": 1440,
  "height": 900,
  "deviceScaleFactor": 2,
  "timezone": "America/New_York",
  "darkMode": false,
  "waitForNetworkIdle": true,
  "blockAds": true,
  "format": "png"
}

The same request gives the same rendering setup on every run, whether it is sent from your laptop, a GitHub runner, or a production server. The page itself can still change, so you control the environment, not the website. That reproducibility is what documentation screenshots, visual regression baselines, and generated preview images need, and what a personal browser cannot guarantee.

When an Extension Is Genuinely Enough

Don’t add an API to your stack for a job a free extension already does well:

  • Bug reports and support tickets: you want the user’s exact view, including their state.
  • Occasional reference captures: saving a confirmation page or a design you liked.
  • Pages only a person can reach: behind MFA, CAPTCHAs, or interactive flows that can’t be expressed as a cookie or header.
  • Ad-hoc annotation: many extensions include markup tools for arrows, blur, and highlights. An API returns the raw capture.
  • Zero-code environments: where nobody will maintain a script.

Most browsers also include a basic screenshot command in their developer tools or menus, which covers many one-off cases with no extension at all.

Workflows Only an API Can Run

These three patterns cover most automated screenshot needs. They use the same request fields, and the synchronous response is the image itself.

1. In CI: capture every preview deployment

Attach screenshots of key pages to every pull request so reviewers can see the change without opening the preview. The preview URL must be publicly reachable, because the capture runs on Screenshotly’s servers rather than inside your runner. Store the key as a CI secret, and use a separate key for CI so its usage is easy to see.

.github/workflows/preview-screenshots.yml (excerpt)
- name: Capture preview screenshots
  env:
    SCREENSHOTLY_API_KEY: ${{ secrets.SCREENSHOTLY_API_KEY }}
    PREVIEW_URL: ${{ steps.deploy.outputs.url }}
  run: |
    mkdir -p screenshots
    for path in / /pricing /docs; do
      name=$(echo "$path" | tr '/' '_')
      curl --fail-with-body https://screenshotly.app/api/screenshot \
        -X POST \
        -H "x-api-key: $SCREENSHOTLY_API_KEY" \
        -H "content-type: application/json" \
        -d "{\"url\":\"${PREVIEW_URL}${path}\",\"width\":1440,\"height\":900,\"fullPage\":true,\"format\":\"png\"}" \
        --output "screenshots/page${name}.png"
    done

- uses: actions/upload-artifact@v4
  with:
    name: preview-screenshots
    path: screenshots/

2. On a schedule: keep documentation screenshots current

A nightly job can refresh help-centre images from a list of pages. Commit images only when they change, and have a person review the diff: automation keeps screenshots current, but it doesn’t decide whether they are correct. Only successful captures use quota, so a failed run costs nothing beyond the retry.

refresh-doc-screenshots.mjs
import { writeFile } from 'node:fs/promises';

const pages = [
  { url: 'https://app.example.com/demo/dashboard', file: 'dashboard.png', waitForSelector: '[data-loaded]' },
  { url: 'https://app.example.com/demo/settings', file: 'settings.png' },
];

for (const page of pages) {
  const response = await fetch('https://screenshotly.app/api/screenshot', {
    method: 'POST',
    headers: {
      'x-api-key': process.env.SCREENSHOTLY_API_KEY,
      'content-type': 'application/json',
    },
    body: JSON.stringify({
      url: page.url,
      width: 1280,
      height: 800,
      deviceScaleFactor: 2,
      blockAds: true,
      ...(page.waitForSelector ? { waitForSelector: page.waitForSelector } : {}),
      format: 'png',
    }),
  });

  if (!response.ok) {
    console.error(`${page.url}: ${response.status} ${await response.text()}`);
    continue;
  }
  await writeFile(`docs/images/${page.file}`, Buffer.from(await response.arrayBuffer()));
}

3. Event-driven: capture when something happens in your product

When a user saves a link, queue a capture and let Screenshotly call you back when it is ready. Async jobs and webhooks are available on Basic and above. The Idempotency-Key means a retried request returns the original job instead of queueing a second capture.

Queue the capture
await fetch('https://screenshotly.app/api/jobs', {
  method: 'POST',
  headers: {
    'x-api-key': process.env.SCREENSHOTLY_API_KEY,
    'content-type': 'application/json',
    'Idempotency-Key': `link-preview-${link.id}`,
  },
  body: JSON.stringify({
    url: link.url,
    width: 1200,
    height: 630,
    format: 'webp',
    quality: 80,
    webhook: {
      url: 'https://yourapp.example.com/hooks/screenshotly',
      secret: process.env.SCREENSHOTLY_WEBHOOK_SECRET,
    },
  }),
});
Verify the callback before trusting it (Express, raw body)
import { createHmac, timingSafeEqual } from 'node:crypto';

function isValidSignature(rawBody, header, secret) {
  const expected = 'sha256=' + createHmac('sha256', secret).update(rawBody).digest('hex');
  return header && header.length === expected.length && timingSafeEqual(Buffer.from(header), Buffer.from(expected));
}

app.post('/hooks/screenshotly', express.raw({ type: 'application/json' }), (req, res) => {
  if (!isValidSignature(req.body, req.get('X-Screenshotly-Signature'), process.env.SCREENSHOTLY_WEBHOOK_SECRET)) {
    return res.sendStatus(401);
  }
  const event = JSON.parse(req.body);
  if (event.event === 'screenshot.completed') {
    // event.data.storageUrl points at the retained capture
  }
  res.sendStatus(200);
});

CI/CD screenshot automation guide · Documentation screenshot automation · Screenshot webhooks guide

Logged-In Pages: Where Extensions Look Easier

Extensions win on convenience here, because you are already signed in. An API needs the credentials passed explicitly. On Screenshotly Basic and above, a capture can include request headers and cookies:

  • Use a dedicated, read-only account for captures, never a person’s own session.
  • Prefer short-lived tokens minted for the job over long-lived cookies.
  • Keep secrets in your server or CI secret store, never in browser code.
{
  "url": "https://app.example.com/reports/monthly",
  "headers": {
    "Authorization": "Bearer <short-lived token for a capture-only account>"
  },
  "cookies": [
    {
      "name": "session",
      "value": "<session value>",
      "domain": "app.example.com",
      "secure": true
    }
  ],
  "waitForSelector": "#report-ready",
  "format": "pdf"
}

If the page needs a person to complete MFA or a CAPTCHA, an API can’t replace that step. Capture it manually with an extension, or change the app to issue a capture-only token.

Authenticated screenshot capture guide

Using Both: Split by Trigger

Most teams that adopt an API keep their extension.

TaskBetter fitWhy
Bug report showing a user’s stateExtensionNeeds the person’s exact session
Annotated screenshot for a chat threadExtensionBuilt-in markup, one-off
Help-centre images refreshed with each releaseAPIRepeatable, scheduled, reviewable diffs
Preview images for user-submitted linksAPIFires from your app with no person involved
Visual baselines for staging vs productionAPISame rendering setup on every run
Monthly PDF of an internal dashboardAPI (Basic+)Scheduled, authenticated with a service token

Moving a Manual Habit to Automation

If someone on your team takes the same screenshots every week:

  1. List the captures: URL, size, and what "ready" means for each page (a selector, or network idle).
  2. Prove the request in the playground or with the 100 free captures, and check the output against what the person was producing by hand.
  3. Decide the trigger: a CI step, a schedule, or an event in your app.
  4. Pick the plan from the features you need. PNG, JPEG, and WebP work on every plan. Logged-in pages, PDF output, and webhooks need Basic ($14/month, 2,500 captures). Selector hiding, custom JavaScript, and AI removal need Growth ($59/month, 12,000 captures).
  5. Keep a person in the loop to review changes, at least at first.

Try the playground · Compare plans

Cost by Usage Pattern

Screenshotly prices are list prices for successful captures. Extension pricing varies; many are free.

Monthly volumeScreenshotlyBrowser ExtensionsWhat decides it
Occasional / ad-hocFree allowance (100 captures) or $14 / monthOften freeAn extension is simpler if nothing needs automating
Captures from code or CI$14 / month for 2,500 capturesNot possibleOnly an API can run unattended
Scheduled captures at volume$59–$199 / monthNot possibleAsync jobs (Basic+) and batches of up to 20 (Growth+) handle larger runs

When Browser Extensions is actually the right call

Every tool has legitimate fits. Be honest with yourself — if any of these apply, stay with Browser Extensions.

  • Your only use case is occasional manual captures.
  • You need exactly what your own logged-in browser shows and do not want to pass cookies or headers.
  • You cannot or will not run code in a build pipeline or scheduler.

Frequently Asked Questions

Can I use both?

Yes. Many developers keep an extension for ad-hoc captures and use an API for workflows that run from code, CI pipelines, or scheduled jobs.

When is a browser extension clearly the right choice?

When every capture is started by a person clicking a button in their own browser. If nothing needs to be automated, scheduled, or triggered from a server, an extension is simpler and often free.

What does an API give me that an extension cannot?

Captures triggered by code: from a deploy, a cron schedule, a webhook, or a user action in your product. You also get consistent viewport and format settings on every request, plus async jobs and batch processing for larger workloads.

Do API captures and extension captures look identical?

Not always. An extension captures your browser as it is, including your fonts, window size, logged-in state, and other extensions. An API renders in a clean headless browser with the settings you send, which is more repeatable but will not show your personal session unless you pass cookies or headers.

Can a screenshot API capture pages behind a login?

Yes, if you can supply the credentials as data. On Screenshotly Basic and above you can pass request headers (for example a bearer token) and cookies with the capture. Use a dedicated low-privilege account or a short-lived token, not a personal session cookie. Flows that need a person, such as MFA prompts or CAPTCHAs, still belong in a real browser.

How much does it cost to start with an API?

Screenshotly includes 100 free captures on every account. Paid plans start at $14 a month for 2,500 successful captures. Failed captures do not count.

Ready to switch to Screenshotly?

Every account includes 100 free captures. Paid plans start at $14 a month.

Related Reading

Other Comparisons