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 desk3 min

How to Set Viewport Size in ScreenshotMachine API Requests

Use ScreenshotMachine’s dimension parameter to request a specific capture size or full-page height. Here is the documented curl approach and the limits to know.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set ScreenshotMachine’s dimension request parameter to WIDTHxHEIGHT, such as 1366x768. For command-line use, send it as an API parameter with curl; the official materials reviewed document API requests and examples, but do not establish a separate ScreenshotMachine CLI or a dedicated viewport flag.

Set the requested width and height with dimension

ScreenshotMachine’s API uses dimension for the requested screenshot width and height. For example, dimension=1366x768 requests a 1366-by-768 capture. The documented reference also gives 320x240, 800x600, 1024x768, and 1920x1080 as examples. See the official Website Screenshot API reference for parameter details.

As an Amazon Associate I earn from qualifying purchases.

The reference sets width limits at 100–1920 pixels and height limits at 100–9999 pixels. Its documented default is 120x90. A request outside the documented bounds may not produce the intended capture.

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

Send the parameter from a shell with curl

The official materials show a Bash/curl API example rather than a standalone CLI command. Use your API key and target URL, and pass dimension as a request parameter. Replace the example values before running:

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • 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
curl -G "https://api.screenshotmachine.com" 
  --data-urlencode "key=YOUR_API_KEY" 
  --data-urlencode "url=https://example.com" 
  --data-urlencode "dimension=1366x768" 
  -o screenshot.png

The required request fields are key and url; dimension specifies the capture size. URL-encoding the values avoids shell and URL parsing issues, particularly when the target address contains query parameters. Keep the API key private: do not put a real key in a public repository, webpage, or example.

Capture a full page or emulate a device-sized viewport

Full-page height

Use full as the height value to request a full-length capture at a specified width, for example dimension=1024xfull. This is different from a fixed-height viewport: the resulting screenshot extends down the page. Long pages may need more time for images or animations to load, so consider increasing delay.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • 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

Device mode and dimensions are separate

The API documents desktop, phone, and tablet as device options, separately from dimension. Its examples pair desktop with 1024x768, phone with 480x800, and tablet with 800x1280. Do not assume that selecting a device automatically sets one fixed viewport; specify the desired dimensions explicitly when they matter.

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

Delay and zoom do different jobs

delay controls the wait before capture. The reference lists values from 0 through 10000 milliseconds in specified increments, with a documented default of 200 ms. For long pages containing images or animations, it recommends considering a longer delay, such as 2000 ms or more. zoom changes page zoom instead of setting width and height: its documented default is 100%, with values from 10 to 400, and the reference says zoom is ignored for screenshots smaller than a typical device dimension. Neither setting replaces dimension.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • 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.

Troubleshoot incorrect or missing viewport sizing

  • The image has unexpected dimensions: Check that the request includes dimension=WIDTHxHEIGHT and that width and height fall within the documented limits.
  • The whole page is not captured: Use dimension=WIDTHxfull; a numeric height requests a fixed-height capture.
  • The page is cut off or images are absent: For a long or animated page, increase delay within the documented range and retry.
  • A device selection did not give the desired size: Set dimension explicitly as well as the device mode; they are separate parameters.
  • The request fails or targets the wrong page: Confirm the API key and URL are included, and URL-encode the target address. Do not invent a CLI flag such as --viewport; the documented configuration is an API request parameter.
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 screenshot API and MCP server from ScreenshotNeo. One GET request can return a PNG, JPEG, WebP, or PDF; the response format and other settings are documented at ScreenshotNeo’s API documentation.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【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.
Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • 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
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 before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. Its MCP server lets AI agents use screenshot tools, and the free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

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.

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

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
PC Slower Than It Used to Be?Free scan - under a minute
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.