Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
A screenshot API is the right fit when an AI agent needs a single, rendered view of a URL. Use a persistent Playwright, Puppeteer or CDP browser instead when the agent must click through pages, retain state or perform a sequence of actions. This guide shows the distinction, a Cloudflare Browser Run implementation, deterministic capture settings, authentication precautions and a hosted alternative.
Choose a screenshot API or an interactive browser
First define the agent’s job. A stateless screenshot request navigates to a URL (or receives HTML), waits for rendering and returns an image. It is simple to retry, queue and scale for previews, visual checks and single-step evidence.
An interactive browser keeps control after navigation. Choose Playwright, Puppeteer or CDP when the agent must click, type, scroll through several states, upload files, preserve cookies between steps or inspect a live session. Cloudflare’s current guide points AI-agent builders toward Playwright MCP or CDP with MCP clients for this kind of browsing; it also lists Stagehand for intent-based scraping. Those are provider-documented options, not independent performance rankings.
Free tools Windows power users keep installed
One-click scans. No signup required.
Decision checklist
- One rendered page: use a screenshot endpoint or Quick Action.
- Several actions or persistent state: use an interactive browser controlled through Playwright, Puppeteer or CDP.
- Visual plus machine-readable evidence: consider an endpoint that also returns HTML, Markdown or an accessibility tree.
Screenshot API options for AI agents
ScreenshotNeo is the first hosted service to try when you want a single-call API: it removes cookie banners, newsletter popups and chat widgets before capture, bills only clean shots, and has a $5 paid plan for 3,000 shots.
| Option | Best for | What it provides | Important qualification |
|---|---|---|---|
| ScreenshotNeo | Clean, stateless screenshots and PDFs from an API or MCP client | PNG, JPEG, WebP or PDF; full-page and element capture; waits, custom headers, cookies, device settings and more | Service features and prices are those listed by ScreenshotNeo; verify current limits before production use |
| Cloudflare Browser Run screenshot | A documented REST or Worker-binding implementation | Rendered screenshot from a URL or HTML, with viewport and wait controls | Cloudflare documentation currently shows both /browser-rendering/screenshot and /browser-run/screenshot route naming; check the live account documentation |
| Playwright, Puppeteer or CDP | Multi-step agent browsing | Persistent browser control, interactions and screenshots | You operate the browser lifecycle, security and scaling |
Build a one-shot capture with Cloudflare Browser Run
Cloudflare describes its screenshot endpoint this way: “The /screenshot endpoint renders the webpage by processing its HTML and JavaScript, then captures a screenshot of the fully rendered page.” A REST request can send a URL or raw HTML and save the returned image.
#1 Best Overall
- 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
- 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
- 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
- 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
- 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0
1. Create a narrowly scoped API token
Use an account token with the documented Browser Rendering Write permission. Keep it in an environment variable or secret manager rather than in agent prompts, source code or logs.
2. Send the request
The get-started example uses the browser-rendering path:
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchRank #2
- 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
- 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
- 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
- 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
- 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/screenshot'
-H 'Authorization: Bearer <apiToken>'
-H 'Content-Type: application/json'
-d '{"url":"https://example.com"}'
--output screenshot.png
The screenshot reference also shows a /browser-run/screenshot route in current examples. Treat the route as version- and documentation-dependent; confirm the path and permissions in your Cloudflare account before shipping.
3. Make page readiness explicit
Navigation completing does not guarantee that a client-rendered page is visually complete. Cloudflare warns that default loading can produce empty or partial output. Use networkidle0 or networkidle2 when they fit the page, or wait for a selector that marks the content your agent needs. A selector wait is often preferable on pages that keep analytics or other background requests open.
Rank #3
- 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
- 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
- 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
- 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
- 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.
4. Control the output
- Set the viewport deliberately; the quick-action guide documents 1920×1080 as its default.
- Choose viewport, full-page, clipping or element capture according to what the model must inspect.
- Increase
deviceScaleFactorwhen a large viewport looks blurry. - Set image type and quality together. Cloudflare documents HTTP 400 when
qualityis supplied with the default PNG format; use a supported non-PNG format for quality control.
5. Capture authenticated pages safely
The documentation demonstrates session cookies, HTTP Basic authentication and extra authorization headers. Supply only the minimum credential needed for the target, do not print request bodies containing secrets, and confirm that automated access is permitted.
6. Do not treat User-Agent as a bypass
A configurable User-Agent changes the request header; it does not defeat bot protection. Cloudflare states that Browser Run requests remain identifiable as bots. Use an access method allowed by the site’s rules rather than attempting to evade a challenge.
Recommended Free Tools
Rank #4
- [Enhanced 4K-1080P Video Capture Experience] Capture the Magic: Elevate your video recordings to new heights with our upgraded anti-static 1080P Video Capture Card. Immerse yourself in stunning visuals, supporting HDMI input at 4K 60FPS and USB output for capturing in 1080P, complete with rich stereo sound. Enjoy crystal-clear video recordings, dynamic gaming live streams, and professional conference broadcasts. Note: HDMI resolution: Max input can be 3840×2160@30Hz / Video output resolution: Max output can be 1920×1080@30Hz
- [Seamless Real-Time Preview] Stay in the Moment: Our advanced ultra-low latency technology ensures seamless real-time transmission of video streams. Experience instant, lag-free previews, allowing you to capture every detail precisely. Effortlessly record video directly to your hard disk, all without compromising on quality or introducing any delays.
- [Versatility and Broad Compatibility] Your Creative Hub: Connect your DSLR, camcorder, or action camera to a wide range of operating systems, including Windows, MacOS, and Linux. Unlock a world of possibilities with real-time streaming to popular platforms like Twitch, Youtube, OBS, Zoom, Potplayer, and VLC, giving you the tools to share your content effortlessly.
- [Effortless Plug and Play] Simplicity Redefined: Say goodbye to complex installations. Our plug-and-play design eliminates the need for drivers or external power supplies. Seamlessly integrate high-definition acquisition into various scenarios, whether it's educational recordings, immersive gaming, precise medical imaging, captivating live streams, or professional broadcasting.
- [Seize Every Detail with Precision] Unleash your creativity and attention to detail with our video capture card. Capture every nuance, every color, and every moment with precision, thanks to the enhanced capabilities of our technology. Whether you're a content creator, a gamer, or a professional, our capture card empowers you to seize the finest elements and bring them to life in your recordings and live streams.
When an agent needs more than an image
Cloudflare’s snapshot endpoint combines rendered-page information with a screenshot. Its documented response can include an accessibility tree, HTML, Markdown and a base64-encoded screenshot. That combination is useful when an agent needs visual confirmation alongside text or structure. The reference documents a five-second default cacheTTL for that endpoint; treat it as a Cloudflare API setting that may change.
Or skip the browser setup
For a single capture, ScreenshotNeo accepts one GET request and returns a clean image or PDF. Cookie and consent banners, newsletter popups and chat widgets are removed before the shot. Bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and response headers identify the page verdict and billing result. Its MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients.
Use the same call from your shell:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
See the ScreenshotNeo documentation for parameters. Every plan includes its features; 1,000 screenshots per month are free with no card, and paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.
Best Value
- 【1080P 60FPS & 2K 30FPS】Supports HDMI input up to 4K 30FPS for ultra‑clear source signals, and captures/streams smooth footage at max 1080P 60FPS or 2K 60FPS to eliminate motion blur and stuttering, delivering fluid visuals for gaming, live streaming and video recording via high‑speed USB 3.0 transmission.
- 【USB 3.0 High-Speed Interface】USB 3.0 interface with up to 5Gbps bandwidth for lag-free HD capture and streaming with consoles, cameras, desktops, and laptops. Aluminum casing dissipates heat effectively, ensuring stable performance under prolonged high-bandwidth loads. Note: For best results, use a USB 3.0 port.
- 【Easy Plug-and-Play design】with no additional driver software required. The 2-in-1 USB-A & Type-C interface design ensures wide compatibility with laptops, desktops, gaming consoles and mobile devices. Its compact and lightweight construction enhances portability, allowing you to carry and use it effortlessly anytime and anywhere.
- 【Wide Universal Compatibility】Works with diverse devices: laptops, tablets, PS4/PS5, Nintendo Switch, cameras, TV boxes, and Oculus Quest 2/3. It supports major operating systems: Windows 7/8/8.1/10, Mac OS, Linux, Android, and iPadOS 17+. Fully compatible with popular software and streaming platforms like OBS Studio, QuickTime Player, TikTok, Twitch, and YouTube—all without requiring drivers.
- 【Worry-Free After-Sales Support】Whether you're a newcomer or a seasoned user, feel free to reach out anytime with any questions—your satisfaction is our top priority. NOTE: This capture card supports one-way transmission only (HDMI to USB), and ensure your device is equipped with a USB 3.0 port to achieve optimal performance.
Frequently Asked Questions
Should an AI agent use a screenshot API or Playwright?
Use a screenshot API for one rendered capture. Use Playwright, Puppeteer or CDP when the agent must perform multiple actions or keep browser state.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Why is my screenshot blank or incomplete?
The page may still be rendering client-side. Add a suitable network-idle policy or wait for a selector that signals the required content is present.
Can changing the User-Agent bypass a bot check?
No. Cloudflare states that Browser Run requests remain identifiable as bots, so use an access route the target site permits.
Quick Recap
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.

