DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk7 min

How to Capture a Website Screenshot with Screenshotlayer in WordPress

Screenshotlayer’s documented WordPress approach is a server-side API integration, not an established native plugin. Here’s how to request a capture safely and handle its options and response.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can use Screenshotlayer from WordPress by making a server-side HTTP request to its screenshot API. The documented request needs your Screenshotlayer access key and the complete URL to capture; optional parameters control dimensions, format, timing, caching and export. The official pages reviewed do not establish a dedicated WordPress plugin, so treat this as a custom integration rather than a plugin-based setup.

Does Screenshotlayer have a WordPress plugin?

The official Screenshotlayer pages referenced here do not establish a native WordPress plugin or a published WordPress-specific integration. The documented approach is to connect WordPress site-side code to Screenshotlayer’s HTTP capture endpoint. That means your site—not the visitor’s browser—sends the API request and handles the result.

As an Amazon Associate I earn from qualifying purchases.

Screenshotlayer describes itself as a hosted screenshot API. Its API specification is in an archived repository, so confirm that the endpoint, parameter names and plan capabilities still match your account before relying on them in production.

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

What you need before integrating it

  • A Screenshotlayer account and the API access key shown in the provider’s account dashboard. The key authenticates requests; keep it private. See the Screenshotlayer product page and API specification.
  • The full target page URL, including http:// or https://.
  • A place in WordPress server-side code to make an outbound HTTP request, such as a small custom plugin or a site-specific integration. Do not put the access key in page HTML, JavaScript, a shortcode rendered to visitors, or a public repository.
  • A decision about whether your use case needs a returned image URL or an export destination. The API specification describes export options and error responses; confirm current behavior against your account.

How to make a Screenshotlayer request from WordPress

1. Get and protect your API key

Sign in to Screenshotlayer and retrieve your access key from the account dashboard. Store it in server-side configuration or another private secrets store available to your WordPress installation. Do not expose it in a publicly rendered page or send it to the visitor’s browser.

#1 Best Overall
HP OmniBook 3 17.3 inch Laptop PC, FHD Display, AMD Ryzen 3 30, 8 GB RAM, 512 GB SSD, AMD Radeon 610M Graphics, Windows 11 Home, Mica Silver, 17-dp0199nr
  • FULL HD IPS DISPLAY - Enjoy vibrant, crystal-clear images with 178-degree wide-viewing angles
  • AMD RYZEN 3 30 PROCESSOR - Everyday performance you can count on; Multitask, stream, game casually, and edit photos smoothly with responsive power and vibrant HDR visuals
  • ENJOY UP TO 14 HOURS AND 15 MINUTES OF BATTERY LIFE - HP Fast Charge restores battery from 0 to 50% in approximately 45 minutes
  • AMD RADEON 610M GRAPHICS - Experience smooth entertainment; Built for streaming and multitasking, enjoy realistic visuals and efficient performance for work and play
  • STORAGE AND MEMORY - 512 GB PCIe NVMe M.2 SSD offers fast speed and efficient storage; and 8 GB LPDDR5 RAM memory boosts performance with higher bandwidth

2. Choose the target and capture settings

Build the request around the documented capture endpoint. Supply the access key and target URL, then add only the options you need. For example, fullpage=1 requests a full-height capture, viewport sets capture dimensions, width sets image width, format chooses an output format, delay waits before capture, and ttl requests a cache lifetime.

The specification documents HTTPS availability for paid customers, but plan terms and capabilities can change. Check the current documentation and your account before designing a workflow that depends on HTTPS captures or a particular option.

3. Make the request on the WordPress server

Use WordPress’s HTTP API from trusted server-side code rather than assembling a public-facing link that contains your key. The example below illustrates the integration pattern: set the endpoint and parameters, make a bounded-time request, check for transport and HTTP errors, and then handle the response according to the API’s current response format. Replace the configuration values with secrets and values appropriate to your installation.

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.
Rank #2
HP 14" HD Chromebook Laptop for Students, Intel Quad-Core N4120(> N4020), 4GB RAM, 64GB eMMC, WiFi, Webcam, HDMI, USB-A&C, 14 Hours Battery Life, Zoom, Chrome OS, CUE Accessories
  • Intel Celeron N4120: 4 Cores & Threads, 1.1GHz Base Clock, Up to 2.6GHz Boost Clock, 4MB Cache, Intel UHD Graphics 600. The perfect combination of performance, power consumption, and value helps your device handle multitasking smoothly and reliably with four processing cores to divide up the work.
<?php
$access_key = getenv( 'SCREENSHOTLAYER_ACCESS_KEY' );
$target_url = 'https://example.com/page-to-capture';

if ( ! $access_key ) {
    return new WP_Error( 'screenshotlayer_missing_key', 'Screenshotlayer access key is not configured.' );
}

$endpoint = 'https://api.screenshotlayer.com/api/capture';
$args = array(
    'access_key' => $access_key,
    'url'        => $target_url,
    'format'     => 'PNG',
);
$request_url = add_query_arg( $args, $endpoint );
$response = wp_remote_get( $request_url, array( 'timeout' => 60 ) );

if ( is_wp_error( $response ) ) {
    return $response;
}

$status = wp_remote_retrieve_response_code( $response );
$body   = wp_remote_retrieve_body( $response );

if ( $status < 200 || $status >= 300 ) {
    return new WP_Error( 'screenshotlayer_http_error', 'Screenshotlayer returned HTTP ' . $status );
}

// Inspect the current API response format before using $body.
// Store or display the returned image/export result as appropriate.

The endpoint shown follows the archived API specification; verify the current endpoint and format values with Screenshotlayer before deployment. The snippet intentionally does not assume whether your account returns image bytes, a URL, or an export result for a particular configuration. Handle that response explicitly, and never print raw API responses or secrets into public pages.

4. Decide how WordPress should use the result

If the API returns an image URL, validate and use it as an image source only if that behavior suits your caching and availability requirements. If you need to retain a durable copy, use a documented export option or download and store the resulting file using an appropriate WordPress media/storage workflow. Check API errors before displaying or storing anything; the specification documents error responses.

Screenshotlayer options that matter

Need Documented setting or behavior What to check
Capture the whole page fullpage=1 Full-height capture can produce a much taller image than the initial viewport.
Set the capture dimensions viewport Use dimensions appropriate to the layout you want to inspect.
Set output image width width Screenshotlayer’s FAQ discusses image width; verify accepted values and resulting behavior in current docs.
Choose an image format format The FAQ discusses output formats. Confirm current accepted values and whether the response is an image or another result.
Wait for dynamic content delay A longer wait may help content that appears after initial load, but adds latency.
Control cache freshness ttl The FAQ states a default cache duration of 2,592,000 seconds (30 days) and says ttl can request a shorter custom period. Confirm current behavior before depending on freshness guarantees.
Export or retain output Export options are described in the API specification Check the current export destinations, response format and account eligibility.
Capture over HTTPS The specification says paid customers can use HTTPS Confirm current plan-dependent availability with Screenshotlayer; the archived specification may not reflect current terms.

WordPress integration checks and troubleshooting

The request returns an authentication error

Check that the key is present, copied accurately and being sent in the parameter named by the current API specification. Confirm the key belongs to the account and has not been rotated. Keep diagnostic logs free of the full key.

Rank #3
Sale
AKCHART 15.6'' AI Laptop with Office 365 12GB RAM 256GB SSD Win 11 Laptops
  • Stunning 15.6" FHD IPS Display: Experience crisp 1920x1080 resolution on this 15.6 inch laptop with an IPS panel that delivers wide viewing angles and vivid colors. The narrow-bezel design maximizes screen real estate for comfortable viewing on this Win 11 laptop, whether you're studying or working.
  • Celeron J4105 Processor & 256GB SSD: Powered by a reliable Celeron J4105 processor paired with 12GB DDR4 memory and a fast 256GB M.2 SSD. This laptop computer supports SSD expansion up to 2TB and TF card expansion up to 1TB, so your storage grows with your needs. Delivers smooth multitasking for daily productivity.
  • AI-Powered Win 11 Laptop: Built-in AI features enhance your productivity with smart assistance for writing, summarizing, and task management. Pre-installed with Win 11 and includes Office 365 subscription. This student laptop is backed by 1-year warranty and 24/7 customer support.
  • All-Day 7000mAh Battery & 180° Hinge: The high-capacity 7000mAh battery keeps this laptop powered through long classes or meetings. The 180-degree lay-flat hinge lets you share your screen effortlessly during presentations. This durable laptop computer adapts to your dynamic workflow.
  • Versatile Connectivity Hub: Equipped with USB 3.2, Type-C, Mini HDMI, and 3.5mm audio jack to connect all your peripherals. Stay online anywhere with high-speed 5G WiFi and Bluetooth 4.2. This college laptop keeps you connected at home, in the library, or on the go.

The screenshot request fails or times out

Check the target URL from the server environment, not only from your browser. Verify that it includes a protocol and that your hosting provider permits outbound HTTPS requests. Increase the WordPress HTTP timeout only when justified; a longer timeout also ties up server resources for longer. Inspect the HTTP status and API error response rather than treating every non-empty body as a successful image.

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

The result is blank, incomplete or stale

Try an appropriate delay for pages that populate after initial load, and confirm whether a full-page capture is needed. Check whether the cache is serving an older result; Screenshotlayer’s FAQ states a 30-day default cache duration and describes ttl for a shorter custom period. Do not assume that a new WordPress request always produces a fresh capture.

The key appears in a public page or log

Remove the key from rendered HTML, client-side scripts and public repositories. If it may have been exposed, rotate it in the provider dashboard and update the server-side configuration. Avoid logging full request URLs because query-string authentication can expose credentials.

Rank #4
HP Essential Laptop 2026, Intel CPU, 128GB Storage, Office 365, Windows 11
  • Efficient Performance for Everyday Computing: Powered by Intel N150 processor with up to 3.6 GHz Intel Turbo Boost Technology, 6 MB L3 cache, 4 cores, and 4 threads, this HP laptop delivers responsive performance for web browsing, streaming, document editing, and multitasking. Paired with 4GB LPDDR5 RAM and 128GB UFS storage, it handles daily tasks smoothly. Includes 1-year Microsoft 365 Personal subscription for Word, Excel, PowerPoint, and cloud storage to maximize your productivity.
  • 14-Inch HD Micro-Edge Display:Enjoy clear visuals on the 14-inch HD (1366 x 768) anti-glare screen with 250-nit brightness and 62.5% sRGB coverage. The micro-edge bezel delivers a 79% screen-to-body ratio in a compact design. An HP True Vision 720p HD camera with noise reduction and dual-array microphones supports clear video calls, remote work, and online learning.
  • Modern Connectivity and Wireless Technology: Stay connected with Wi-Fi 6 (2x2) for faster wireless speeds and Bluetooth 5.4 for seamless pairing with accessories. Versatile port selection includes 1 USB Type-C 10Gbps with DisplayPort 1.2 for external displays, 2 USB Type-A 5Gbps ports for peripherals, 1 HDMI 1.4b port, 1 headphone/microphone combo jack, and 1 multi-format SD media card reader. Connect monitors, transfer files quickly, and expand your workspace with ease.
  • All-Day Battery Life and Portable Design: Enjoy up to 11 hours of video playback, 7.5 hours of mixed usage, or 7.5 hours of wireless streaming on a single charge, perfect for students and professionals on the go. Weighing just 3.24 lb and measuring 12.76" x 8.86" x 0.71", this lightweight laptop fits easily in backpacks and bags. The stylish willow green top cover with matte finish and natural silver keyboard deck with vertical brushing pattern offer a modern, professional look.
  • AI-Enhanced Productivity: Access Microsoft Copilot instantly with the dedicated Copilot key for faster assistance. AI Noise Reduction filters background sounds and improves voice clarity during calls. Dual speakers provide clear audio, while the full-size natural silver keyboard and HP Imagepad support comfortable typing and navigation.

WordPress reports a successful request but cannot display the result

Confirm the response content type and current Screenshotlayer response format. A successful HTTP status alone does not establish that the body is an image URL or usable image bytes. Process the actual response according to the provider’s current documentation, and check the API’s documented errors and export behavior.

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

Reliability, performance and cost considerations

Every capture adds an external network dependency to your WordPress workflow. Avoid running screenshot requests on every page view unless that is genuinely required; cache the result in your own application where appropriate, and refresh it according to your content-freshness needs. The provider FAQ describes its default cache as 2,592,000 seconds (30 days), with a shorter custom duration available through ttl. Treat this as provider-documented behavior and verify it for your current account.

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

Screenshotlayer’s FAQ gives an approximate uptime claim of “around 99.9%” but says public statistics are not offered. That is a provider claim, not independently published availability evidence. For a production workflow, decide what WordPress should show if the capture service is unavailable and whether old screenshots may remain available as a fallback.

Best Value
HP 14 inch Laptop, 2027 Edition, Intel N150 CPU, 4GB RAM, 128GB SSD, 1TB Cloud Storage, Long Battery Life, Win 11 with Microsoft 365
  • 【Powerful Performance】Equipped with an Intel N150 CPU, featuring up to 4.4 GHz, ensuring efficient and powerful multitasking capabilities.
  • 【Versatile Connectivity】Stay connected with multiple ports including USB 3.0 Type-C, USB 3.0 Type-A, and a headphone/mic combo jack, with Wi-Fi and Bluetooth for seamless wireless networking.

Request quotas, plan prices and feature eligibility are volatile. Check the current Screenshotlayer pricing page before estimating recurring cost, and distinguish successful captures from your integration’s own request attempts when monitoring usage.

Or skip the browser setup

If you would rather use a single screenshot API call than build and maintain the WordPress-side Screenshotlayer integration, ScreenshotNeo is another option. Its API can accept a URL and return a screenshot or PDF; its documentation is at ScreenshotNeo docs.

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

ScreenshotNeo removes cookie banners, newsletter popups and chat widgets before capture. Bot checks, blank pages and failed loads are not billed, and response headers report the page verdict and billing status. An MCP server offers screenshot tools for AI agents, and the free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo free.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

Frequently Asked Questions

Can I put a Screenshotlayer screenshot in a WordPress post?

Yes, if your integration processes the API response into a usable image URL or stored image and your WordPress content references it. The exact response and export behavior should be checked against Screenshotlayer’s current documentation.

Does Screenshotlayer’s cache mean my WordPress screenshot is always 30 days old?

No. The FAQ describes a default cache duration of 30 days and a shorter custom duration through ttl; it does not mean each result will necessarily be that old.

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
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

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.