Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk5 min

How to Take a Full-Page Screenshot with the Browserless Screenshot API

Send a POST request to Browserless’s current Screenshot API with options.fullPage set to true, then save the response bytes as an image. Learn how to capture lazy-loaded content and troubleshoot common failures.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture an entire rendered page with Browserless, send a POST request to the current /screenshot endpoint with options.fullPage set to true, then save the binary response as an image. If the page uses lazy loading, add the top-level scrollPage: true option so scrolling can trigger content before capture.

Make a full-page screenshot with cURL

Use the host assigned to your Browserless account or fleet. This documented example uses the shared production SFO endpoint; replace the sample token with your own and keep it private.

As an Amazon Associate I earn from qualifying purchases.

curl -X POST 
  "https://production-sfo.browserless.io/screenshot?token=YOUR_API_TOKEN_HERE" 
  -H 'Cache-Control: no-cache' 
  -H 'Content-Type: application/json' 
  -d '{
    "url": "https://example.com/",
    "options": {
      "fullPage": true,
      "type": "png"
    }
  }' 
  --output "screenshot.png"

The response is image bytes rather than a JSON object. The --output argument writes those bytes to the named file. The current REST documentation lists PNG, JPEG, and WebP as output formats; change the output type and filename together if you choose another format. See the Browserless Screenshot REST API documentation for the current request schema.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the same request from JavaScript or Python

Both examples below send the same JSON settings and write the returned response bytes to a file.

#1 Best Overall
Sale
Motorola Moto g - 2026 | Unlocked | Made for US 4/128GB | 50MP Camera | Pantone Slipstream, Cellular_Phone
  • Universal unlocked. Compatible with all major U.S. carriers, including Verizon, AT&T, T-Mobile and other prepaid carriers.
  • Super-bright, super-smooth 6.7" display. See your screen clearly even outdoors in sunlight, and enjoy seamless views with a fast-refreshing 120Hz display.*
  • AI-powered camera system. Take stunning photos in any light with the 50MP camera**, look your best with a 32MP selfie cam*****, and capture extreme close-ups.
  • Superfast 5G performance. Unleash your entertainment at 5G speed*** with the MediaTek Dimensity 6300 chipset and up to 12GB of RAM with RAM Boost****.
  • Long-lasting battery + TurboPower charging. Power through day after day with a 5200mAh battery, then get hours of power in just minutes.****

JavaScript

const response = await fetch(
  "https://production-sfo.browserless.io/screenshot?token=YOUR_API_TOKEN_HERE",
  {
    method: "POST",
    headers: {
      "Cache-Control": "no-cache",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      url: "https://example.com/",
      options: {
        fullPage: true,
        type: "png"
      }
    })
  }
);

if (!response.ok) {
  throw new Error(`Browserless returned HTTP ${response.status}`);
}

const image = Buffer.from(await response.arrayBuffer());
await import("node:fs/promises").then(fs => fs.writeFile("screenshot.png", image));

Python

import requests

response = requests.post(
    "https://production-sfo.browserless.io/screenshot",
    params={"token": "YOUR_API_TOKEN_HERE"},
    headers={
        "Cache-Control": "no-cache",
        "Content-Type": "application/json",
    },
    json={
        "url": "https://example.com/",
        "options": {
            "fullPage": True,
            "type": "png",
        },
    },
    timeout=90,
)
response.raise_for_status()

with open("screenshot.png", "wb") as image_file:
    image_file.write(response.content)

Capture content that loads as you scroll

A full-page capture does not guarantee that every lazy-loaded image or section has been fetched: many sites load content only after it approaches the viewport. Browserless documents a top-level scrollPage: true setting to scroll the page before the full-page screenshot. Add it alongside url and options:

{
  "url": "https://example.com/",
  "scrollPage": true,
  "options": {
    "fullPage": true,
    "type": "png"
  }
}

Inspect the resulting image for page-specific content that requires an interaction rather than scrolling—for example, a section revealed only after clicking a control. A single REST screenshot request is a one-shot job, not a live browser session in which you can interact midway through the capture.

Rank #2
Samsung Galaxy A17 5G Smart Phone 128GB US 1 Yr Manufacturer Warranty Black | Large AMOLED, High-Res Camera, Durable Design, Super Fast Charging, Expandable Storage, Circle to Search, 2025
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.

Choose the right capture settings

  • Full page or viewport: options.fullPage: true captures the full rendered page instead of only the visible viewport. Omit it when you need only the viewport.
  • Image format: The current REST overview lists PNG, JPEG, and WebP. PNG is used in the examples; ensure your filename matches the format you request.
  • Page dimensions and detail: Browserless documents screenshot controls including viewport size and device scale factor. Clip regions, selectors, and waits are also available for cases where you need a bounded area or particular content. Use the REST API schema for the exact accepted request shape.
  • Quality: Do not assume options from one Browserless interface apply unchanged to another. The separate BrowserQL screenshot mutation documents a quality value from 0 to 100 and says it does not apply to PNG; that is a BrowserQL schema detail, not a universal REST setting.

What a REST screenshot can and cannot do

The Screenshot REST API is suited to independent captures: Browserless launches a browser, performs one task, and closes it. REST requests do not preserve browser session state or provide real-time interaction. If your workflow requires a persistent login, a sequence of clicks, or continuing interaction, consider a BaaS browser session or BrowserQL persisted state instead. Browserless describes these distinctions in its BaaS and endpoint documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The example host is a shared-fleet endpoint, not a universal host for every account. Browserless distinguishes shared and private fleets; use the endpoint assigned to your account or deployment.

Rank #3
Samsung Galaxy A16 5G 128GB Cell Phone, Unlocked Android Smartphone, Large AMOLED Display, Durable Design, Super Fast Charging, Expandable Storage, US Version, 2025, Blue Black (Renewed)
  • Charger NOT Included, 6.7" Super AMOLED FHD+, 90Hz Refresh Rate, 385 ppi, 800 nits (HBM), 1080x2340px, 5000mAh Battery
  • 128GB, 4GB RAM, microSDXC, Exynos 1330 (5nm), Octa-Core, Mali-G68 MP2 or Mali-G57 MC2 GPU
  • Rear Camera: 50MP, f/1.8 (wide) + 5MP, f/2.2 (ultrawide) + 2MP, f/2.4 (macro), LED flash, panorama, HDR; Front Camera: 13MP, f/2.0, Android 14, up to 6 major Android upgrades, One UI 6.1
  • 3G: HSDPA 850/900/1700(AWS)/1900/2100; 4G LTE: 1/2/3/4/5/7/12/13/14/20/25/26/28/29/30/38/39/40/41/48/66/71, 5G: 2/5/25/41/66/71/77/78 SA/NSA/Sub6/mmWave - Nano-SIM + eSIM
  • US Model – Global Connectivity – Compatible with Most GSM Carriers like T-Mobile, AT&T, MetroPCS, etc. Will Also work with CDMA Carriers Such as Verizon, Straight Talk.

Troubleshoot missing or failed captures

The screenshot contains only the visible portion

Check that fullPage is inside the options object and is the boolean true, not the string "true". Save the response bytes rather than trying to parse them as JSON.

Images or sections are missing

Try the top-level scrollPage: true together with options.fullPage: true so scrolling can trigger lazy loading. Content that depends on a click or other interaction may need a workflow with browser interaction rather than a single screenshot request.

Rank #4
Sale
Samsung Galaxy A17 5G Smart Phone 128GB, US 1 Yr Manufacturer Warranty Blue | Large AMOLED, High-Res Camera, Durable Design, Super Fast Charging, Expandable Storage, Circle to Search, 2025
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.

The result is blank, a CAPTCHA, or an access-denied page

The target may be blocking automation. Browserless identifies bot challenges and denied responses as possible outcomes, and documents the /unblock API and residential proxies as possible routes. Those measures are not a guarantee that every site or protection will be bypassed; Browserless describes bypass availability as limited. See the Browserless Unblock API documentation and its connection and endpoint guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The request fails against the example host

Verify that the token is valid and that you are using the host assigned to your account. The SFO hostname in the example is a documented shared-fleet endpoint; private deployments can have a different host.

Best Value
Tracfone Motorola Moto G 2025, 64GB, Saphire Blue (Locked to
  • Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Tracfone plan required, activating is easy, just 3 steps.
  • DISPLAY: Immersive viewing on a 6.7-inch super-bright 120Hz display with powerful stereo speakers and Bass Boost for cinematic entertainment.
  • CAMERA SYSTEM: Advanced 50MP Quad Pixel camera captures sharp, detailed photos and videos in any lighting condition
  • PERFORMANCE: Lightning-fast 5G connectivity paired with a powerful processor and RAM Boost for smooth multitasking.
  • BATTERY LIFE: Long-lasting 5000mAh battery with TurboPower charging technology delivers hours of power in minutes.

You are following an older endpoint example

Use the current Screenshot REST API instructions rather than the older BaaS v1 screenshot endpoint. Browserless marks its v1 screenshot guidance as deprecated and directs users to BaaS v2 or BrowserQL; the current REST screenshot page documents the request used here. See the deprecated BaaS v1 screenshot page.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo offers a one-request screenshot API. Replace the target URL with the page you want to capture and use your ScreenshotNeo API key. See the ScreenshotNeo API documentation for supported parameters.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and the response includes page-verdict and billing headers. An MCP server provides screenshot tools for AI agents. The Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots. Learn about ScreenshotNeo or sign up for 1,000 free screenshots a month, with no card.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently asked questions

Does the screenshot response contain JSON?

No. The endpoint returns image data, so write the response body directly to a file with a matching image extension.

Can a REST screenshot preserve my site’s login between requests?

No. REST screenshot jobs are stateless and do not preserve session state; use a browser-session workflow when persistence or ongoing interaction is required.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.