Screenshot API for WordPress

Capturing website screenshots from WordPress usually means running and scaling a headless browser yourself. With Snapraven you skip all of that — generate preview thumbnails for posts and links from PHP.

What you can build with WordPress

Auto-generate featured images for link posts, build a directory of site thumbnails, or refresh homepage screenshots on a schedule with WP-Cron — all from your theme or a small plugin, no external service to wire up.

Example in WordPress

$png = wp_remote_get(
  'https://api.snapraven.app/v1/screenshot?url=' . urlencode($url),
  ['headers' => ['x-api-key' => SNAPRAVEN_KEY]]
);

That's the entire integration. Snapraven renders the page in a real Chromium browser and returns a PNG or JPEG. Add fullPage=true for the full scrollable page, or width/height for custom viewports.

💡 Tip for WordPress

Fetch once and save the image to the Media Library (or uploads dir) instead of calling on every page load, then refresh it periodically with a WP-Cron event.

Why developers use Snapraven with WordPress

WordPress screenshot API — FAQ

Do I need a plugin?

No. `wp_remote_get` from your theme or a small custom plugin is enough. A WP-Cron event can refresh thumbnails on a schedule.

How do I avoid slow page loads?

Capture once, store the file as a media attachment, and serve the saved image — never call the API during a front-end request.

Other guides

Not a developer? Capture screenshots with no code in the dashboard — paste URLs and download a ZIP.

Add screenshots to your WordPress app today

Get your free API key