What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
To take a screenshot of a URL with an API, send an authenticated HTTPS request containing the URL, choose the output and rendering options, then save the binary response as an image or PDF. A typical request looks like this:
GET https://api.screenshotone.com/take?url=https://apple.com&access_key=YOUR_ACCESS_KEY
The same workflow applies to hosted services such as ScreenshotOne, Urlbox, and ScreenshotNeo, or to an API you build around Playwright or Puppeteer. This guide covers full-page captures, CSS-selector elements, dynamic pages, error handling, and the trade-offs between a hosted API and running your own browser.
How a screenshot API works
A screenshot API receives a URL (or HTML), authenticates your request, opens the page in a browser, renders it, and returns binary image data or a PDF. Your application does not need to install a browser when you use a hosted service. You do need to treat the response as bytes rather than JSON unless the provider documents a separate error mode.
- Create an account and obtain an API key.
- Call the HTTPS endpoint and URL-encode query values, or send a JSON POST body for large HTML.
- Set rendering options such as format, viewport, delay, full-page mode, selector, or interaction.
- Write the response to a file or object store.
- Check HTTP status, quotas, timeouts, and provider-specific headers before declaring success.
ScreenshotOne’s documentation explicitly says to always call its API over HTTPS. Its options include url and html inputs, PNG, JPEG, WebP, GIF, JP2, TIFF, AVIF, HEIF, PDF, HTML, and Markdown outputs, plus interactions such as click and hover.
#1 Best Overall
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
First request: capture a URL with cURL
Use the provider’s credential and save the binary body directly. The ScreenshotOne-style request below is suitable for a quick test:
curl -G "https://api.screenshotone.com/take"
--data-urlencode "url=https://apple.com"
--data-urlencode "access_key=YOUR_ACCESS_KEY"
-o apple.png
--data-urlencode prevents spaces, ampersands, and other URL characters from breaking the query string. A successful response is an image file; use the provider’s documented error format or HTTP status to diagnose failures.
Capture with JavaScript, Python, and Node.js
Browser-side or server-side JavaScript with fetch
const params = new URLSearchParams({
access_key: process.env.SCREENSHOT_ACCESS_KEY,
url: 'https://example.com'
});
const response = await fetch(`https://api.screenshotone.com/take?${params}`);
if (!response.ok) {
throw new Error(`Screenshot failed: ${response.status} ${await response.text()}`);
}
const image = Buffer.from(await response.arrayBuffer());
await require('node:fs').promises.writeFile('example.png', image);
Keep the access key on your server, never in browser JavaScript shipped to users. For large HTML payloads, use the provider’s POST JSON endpoint instead of putting the document in a query string.
Python requests
import requests
response = requests.get(
"https://api.screenshotone.com/take",
params={
"access_key": "YOUR_ACCESS_KEY",
"url": "https://example.com",
},
timeout=90,
)
response.raise_for_status()
with open("example.png", "wb") as file:
file.write(response.content)
The timeout is important for pages that load fonts, images, or client-side data. Add retries in your job queue rather than an unbounded request loop.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Node.js example for ScreenshotNeo
ScreenshotNeo’s API base is https://api.screenshotneo.com/v1/shot. Its complete minimal request is:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' }); const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
For production, check res.ok, inspect the response headers, and write await res.arrayBuffer() to a file. See the ScreenshotNeo documentation for the current parameter list and response details.
Rank #2
- CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
- SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
Full-page screenshots
A viewport screenshot captures only what fits in the browser window. Full-page mode measures the document and stitches or renders the entire scrollable page. Enable the provider’s documented full-page option and allow extra time for lazy-loaded content.
curl -G "https://api.urlbox.com/v1/render"
--data-urlencode "url=https://urlbox.com"
--data-urlencode "full_page=true"
-o full-page.png
Urlbox documents { "url": "https://urlbox.com", "full_page": true } for this use case. It also documents skip_scroll when the initial lazy-load scroll is unnecessary and full_width for pages that scroll horizontally. Names differ between vendors, so map these concepts to the service you selected.
Lazy images and dynamic content
- Use a wait-for-network-idle option when the page fetches data after navigation.
- Use a selector wait when a specific chart, table, or hero image signals that rendering is complete.
- Use a controlled delay when the site has animations or delayed hydration.
- For very long pages, test memory and maximum-height limits before enabling full-page capture in bulk.
Capture one element with a CSS selector
Element capture is useful for receipts, product cards, dashboards, or a component preview. Urlbox documents this request shape:
{
"url": "https://example.com",
"selector": "#element-to-screenshot"
}
The selector must match an element after the page has loaded. If it matches nothing, providers commonly return an error or a blank result; wait for the selector and verify it in browser developer tools first. A selector can also be paired with a full-page request when you need the page context for scripts but only want one component in the output.
Rendering options worth exposing in your integration
A robust wrapper should expose options rather than hard-code one browser state. Compare providers on the following capabilities:
| Requirement | Why it matters |
|---|---|
| URL and HTML input | URL captures live sites; HTML input renders generated templates or private previews. |
| Format and quality | PNG preserves sharp text, JPEG is smaller for photos, WebP often balances both; PDF is suited to documents. |
| Viewport, device, and scale | Lets you reproduce desktop, mobile, and retina layouts. |
| Full-page and selector capture | Supports complete pages or a single component. |
| Click and hover | Opens menus, dismisses overlays, or activates state before capture. |
| Wait controls | Selector, delay, or network-idle waits reduce races with client rendering. |
| Headers, cookies, and user agent | Enables authenticated or locale-specific pages; protect these secrets. |
| Interaction and blocking | Blocking ads, trackers, requests, or resource types can improve consistency and speed. |
| Asynchronous jobs and webhooks | Prevents long-running HTTP requests from tying up web workers. |
| Rate limits, size limits, and retention | Determine whether the service fits sensitive data and batch workloads. |
Do not assume an option exists because another API has it. Read the selected provider’s parameter documentation and record the exact defaults in your own API contract.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #3
- Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
- Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
- Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
- In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
- Ultra-thin bezels: Maximize your viewing experience with thin bezels.
Build it yourself with Playwright
Self-managed Playwright gives direct browser control but transfers browser binaries, isolation, scaling, and maintenance to your team. Install Playwright and its browser, then use the official JavaScript pattern:
const { webkit } = require('playwright');
(async () => {
const browser = await webkit.launch();
const context = await browser.newContext({ viewport: { width: 1440, height: 900 } });
const page = await context.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.screenshot({ path: 'screenshot.png' });
await browser.close();
})();
For a full page, use await page.screenshot({ path: 'screenshot.png', fullPage: true });. For one element, use await page.locator('.header').screenshot({ path: 'header.png' });. Add explicit navigation and locator timeouts, close the browser in a finally block, and run untrusted URLs in isolated workers with restricted network access.
Puppeteer alternative
Puppeteer’s Page.screenshot() returns a Uint8Array by default or a base64 string when the encoding option is set to base64. Choose it when your existing Node.js stack already uses Puppeteer; the same operational concerns—browser updates, concurrency, sandboxing, and retries—still apply.
Hosted API or your own browser?
| Choose a hosted API when… | Choose Playwright or Puppeteer when… |
|---|---|
| You want a stable HTTP interface for previews, reports, monitoring, or batches. | You need unrestricted browser automation or custom lifecycle control. |
| You do not want to maintain browser binaries and worker pools. | Your team can operate browsers, isolation, scaling, and patching. |
| Predictable per-request accounting is preferable. | High sustained volume makes infrastructure economics attractive after operations are counted. |
There is no universal latency, reliability, or price winner in the available documentation. Measure your own URLs, page sizes, regions, concurrency, and retry behavior. Before committing, verify authentication, URL versus HTML input, formats, device controls, interactions, asynchronous delivery, rate limits, privacy, retention, and error semantics.
Free tools Windows power users keep installed
One-click scans. No signup required.
Or skip the browser setup
ScreenshotNeo is a hosted screenshot API and MCP server. One GET request returns PNG, JPEG, WebP, or PDF:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
ScreenshotNeo can accept cookie and consent banners as a visitor and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be disabled. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and each response reports the result in X-Page-Verdict and X-Billed headers.
Its 63 options include full-page capture with lazy images loaded, CSS-selector elements, dark mode, 12 device presets or a custom viewport, retina scale, PDF paper size/margins/landscape/page ranges, HTML/CSS-to-image, custom CSS and JavaScript, clicks, hide selectors, selector/delay/network-idle waits, request and resource blocking, headers, cookies, user agent, Authorization, timezone, geolocation, transparent backgrounds, resizing, chosen-TTL caching, signed image links, asynchronous jobs with signed webhooks, bulk capture of 100 URLs per call, a usage API, an OpenAPI specification, and familiar parameter names for easier migration.
Rank #4
- CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
- SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
- MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
- KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
- INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. Plans include 1,000 shots per month free with no card, Starter at $5 for 3,000, Growth at $15 for 15,000, Pro at $39 for 60,000, Scale at $99 for 250,000, and Business at $249 for 1,000,000; yearly billing gives two months free, and every feature is on every plan.
Sign up for the free ScreenshotNeo plan to get 1,000 screenshots a month without a card.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Troubleshooting checklist
401 or 403 authentication errors
Check that the key is active, sent in the documented parameter or header, and not being stripped by a proxy. Rotate exposed keys and keep them server-side.
400 invalid URL or parameter
Send a fully qualified URL including https://, URL-encode query values, and verify spelling and data types. For large HTML, switch to the documented JSON POST request.
Timeouts and navigation failures
Raise the client timeout within the provider’s limit, wait for a meaningful selector instead of an arbitrary long delay, and retry transient failures with exponential backoff. Check whether the target blocks automated browsers or requires authentication.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallBlank or incomplete images
Confirm that the selector exists, wait for client-side rendering, allow lazy images to load, and disable animations with custom CSS when supported. Compare a normal browser load with the same viewport and user agent.
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
Wrong mobile or desktop layout
Set viewport width and height explicitly, select the intended device preset, and account for device scale factor. A responsive breakpoint can change when the browser chrome or viewport differs from your local test.
Large files, quota errors, or slow batches
Choose WebP or JPEG when lossless PNG is unnecessary, resize after capture where supported, use asynchronous jobs or bulk endpoints, and monitor usage before hitting a hard limit. Cache stable URLs with a deliberate TTL, but do not cache pages containing user-specific data.
Production reliability and security
- Validate and allow-list destination URLs if users can submit them; otherwise your service can become an SSRF proxy.
- Redact credentials from logs and never log full cookie or Authorization values.
- Set bounded connect, navigation, and total-job timeouts.
- Retry only transient network and server errors; do not blindly retry invalid requests.
- Store response metadata such as status, format, viewport, provider request ID, and billing result.
- Use idempotency keys or deterministic object names for queued jobs.
- Test pages with consent dialogs, bot checks, long lazy lists, custom fonts, and authenticated redirects.
FAQ
Can an API screenshot private pages?
Only when the service supports the required authentication mechanism, such as headers or cookies, and your data-handling policy permits sending that content to a hosted renderer. Self-managed browsers keep rendering inside your infrastructure.
Should I return the image directly from my web endpoint?
For small, synchronous previews you can stream the binary response with the correct content type. For long pages or batches, queue a job and return a status URL or signed download link.
Is a full-page screenshot always one very tall image?
Not necessarily. Providers may stitch a tall image, impose height limits, or offer PDF pagination. Check documented limits and select PDF when printed pages are the actual requirement.
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.

