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 authenticated page, send the screenshot API a valid session cookie for the target site in the exact format that provider expects, then wait for the protected content to render and check the resulting image. A URL alone does not carry your browser’s login session. Only capture pages you are authorized to access, and treat cookies as credentials.

What you need before making the request

  • Authorization: An account and an access method you are allowed to use. A screenshot service cannot infer or automatically reuse the session in your personal browser.
  • A current credential: Obtain the session cookie through an authorized workflow. Depending on the site, you may need your own sign-in code to obtain it; ScreenshotOne’s guide notes that cookie acquisition can require custom code.
  • The cookie’s scope: Check its domain and path against the requested page, along with its expiry and security attributes. A cookie scoped to another host or path may not be sent or accepted.
  • The provider’s request format: Cookie syntax is not universal. Do not copy one service’s representation into another API.

Never put live cookie values or authorization tokens in source control, shared examples, URLs, or logs. Use the smallest-scope credential available and protect it as you would a password.

Choose the authentication method the site uses

Session cookie

Use this when the site authenticates a browser session. Cloudflare Browser Run accepts a JSON array of cookie objects; ScreenshotOne demonstrates a formatted cookie string with cookie attributes. Their representations differ, so follow the API’s own documentation: Cloudflare Browser Rendering documentation and ScreenshotOne’s authentication guide.

HTTP Basic Auth

For a page protected by Basic Auth, Cloudflare documents an authenticate object with a username and password. This is separate from the API token used to authorize the request to Cloudflare.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Authorization or other custom headers

If the target accepts a bearer token or another header, use the header mechanism supported by both the target and screenshot service. Cloudflare documents setExtraHTTPHeaders; ScreenshotOne’s guide also demonstrates authorization and other named headers. Do not treat the screenshot provider’s API credential as the target site’s credential.

Firewall access for a site you control

ScreenshotOne describes allowing its servers through a site owner’s firewall as an option for a site the operator controls. This is an integration choice for your own infrastructure, not a way to get around another site’s login or access policy.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Cloudflare Browser Run: send a scoped cookie

Cloudflare’s documented screenshot endpoint is https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-run/screenshot. Its REST example uses a POST request with a target URL and a cookies array. Replace the placeholders with the account, API token, authorized target URL, and current cookie value; do not use an example value as a real credential.

curl -X POST "https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/browser-run/screenshot" 
  -H "Authorization: Bearer CLOUDFLARE_API_TOKEN" 
  -H "Content-Type: application/json" 
  --data '{
    "url": "https://example.com/protected-page",
    "cookies": [
      {
        "name": "session_id",
        "value": "YOUR_SESSION_COOKIE_VALUE",
        "domain": "example.com",
        "path": "/"
      }
    ]
  }' 
  --output protected-page.png

Use an API token with the documented Browser Rendering permission for REST access, or use Cloudflare’s documented Workers binding approach. The token in the Authorization header authorizes your call to Cloudflare; the cookie in the JSON body authenticates the browser session at the target site.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Wait for the authenticated content to render

A successful navigation is not proof that a JavaScript application has finished loading its dashboard or report. Cloudflare notes that its default load behavior can capture before JavaScript rendering is complete. Use a wait condition suited to the page:

  • Network idle: Use an appropriate gotoOptions.waitUntil value such as networkidle0 or networkidle2 when the page’s requests settle predictably.
  • A content selector: Wait for a stable selector that appears only when the protected content is ready. This can avoid waiting indefinitely on persistent background requests unrelated to the content you need.

Cloudflare’s Browser Rendering documentation describes these waiting options. A combined-data workflow may also use its /snapshot endpoint, which can return rendered content and a screenshot in one call; see the Cloudflare documentation for endpoint details.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Verify the capture, not just the request

An image response can still show a login screen, access-denied page, or incomplete application. Open the image and check that it contains the intended authenticated page. If it does not, distinguish an authentication problem from a rendering problem: a login form points first to the cookie or access method; missing app content points first to the wait condition.

Common failures and fixes

What you see Likely cause What to check
A login form instead of the protected page The cookie is expired, incorrect, out of scope, malformed for that API, or not accepted for automated access. Obtain a current cookie for the correct account; verify the target host, cookie domain and path, expiry, and provider-specific cookie format. Inspect the returned image rather than treating a successful API response as proof of login.
A blank or partly rendered application The capture ran before client-side rendering finished. Wait for network idle or a selector that identifies the actual protected content. Avoid relying only on initial navigation completion.
The cookie appears to be ignored The cookie object/string has the wrong shape or scope, or the site does not permit the requested automated access. Compare the request with the screenshot provider’s cookie documentation, including domain and path. Confirm the site’s permitted integration path.
Access is blocked despite a changed user-agent The site’s bot defenses still identify the browser automation request. Do not treat a user-agent change as a bypass. Cloudflare says Browser Run requests remain identifiable as bot traffic. Use an authorized access route supported by the site.
Cloudflare rejects the API request The REST token may lack the required Browser Rendering permission, or the request may not match the endpoint’s expected shape. Check the account ID, endpoint, token permission, JSON body, and Cloudflare’s current Browser Rendering documentation.
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 is a website screenshot API and MCP server. For a page you are authorized to access, pass the valid session cookie in the API’s supported cookie parameter format; session-cookie syntax still depends on the target and request. Its API supports custom cookies and lets you wait for a selector, a delay, or network idle. See the ScreenshotNeo documentation for the current parameters and authentication format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/protected-page -o shot.webp

Cookie banners are accepted and removed before capture, along with supported newsletter popups and chat widgets; each cleanup step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server lets AI agents use take_screenshot, get_page_info, and capture_pdf. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. These features are on every plan. Sign up free for 1,000 screenshots a month, with no card required.

Security and access boundaries

Cookie possession grants access to the associated session, so do not share credentials casually or leave them in request logs. These techniques are for pages you own or are permitted to access. A screenshot API’s cookie, header, or user-agent options do not override the target site’s terms, access controls, or bot protections.

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.