Logo

Realtime Website Screenshot API

Web Scraping APIs

Capture website screenshots with Chrome engine. Supports full-page, viewport, overlay hiding elements, and lazy-load scrolling, remove cookie banner, remove any elements u want

About this API

Take a screenshot of any public web page and get back a temporary download link to the image (PNG, JPEG or WebP). Supports full-page captures, custom viewports, cookie banner blocking, hiding your own elements and scrolling to load lazy content.

Include your API key in the X-API-KEY request header. Each successful (HTTP 200) request uses 1 credit.

The returned url expires after expiresInSeconds (24 hours). After that the link returns 404 or 410, so download the image if you need to keep it.

Realtime Website Screenshot API Endpoints
POST Version 1.0 1 Credit

Render screenshot

Capture website screenshots with Chrome engine. Supports full-page, viewport, overlay hiding elements, and lazy-load scrolling, remove cookie banner, remove any elements u want

Ready to query this endpoint?

Sign up to get a free API key instantly with sandbox test credits. No card required.

Request Details

Endpoint URL
POST https://apipeak.dev/api/screenshot/render
Request Parameters

No parameters required for this endpoint.

Documentation

Renders a screenshot of the page and returns a temporary download link.

Tips for good results:

  • Most sites: waitUntil: "domcontentloaded" with delayMs of 500–1500.
  • Long pages with images: fullPage: true and loadLazy: true.
  • Sites with CSS animations: set loadLazy: true, or content may not appear.
  • Chat widgets / banners: hideSelectors: "#intercom-container,.drift-frame" with hideMode: "both".
  • Avoid networkidle on modern sites that keep connections open, as the page may never become idle.

Responses

StatusDescription
200Screenshot rendered. url is a temporary download link.
400Invalid input, e.g. a bad URL or a number outside its limits.
401API key missing or invalid.
402Not enough credits left on the subscription.
403Key not authorized for this API, or the API or subscription is inactive, suspended or expired.
500The page failed to load or the screenshot failed.
Request Example (cURL)
curl -X POST "https://apipeak.dev/api/screenshot/render" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jobId":"job_001","url":"https://example.com","viewport":{"width":1280,"height":800},"fullPage":true,"format":"png","waitUntil":"domcontentloaded","delayMs":500,"blockCookieBanners":true,"hideOverlays":true,"hideSelectors":"#intercom-container,.drift-frame","hideMode":"both","loadLazy":true,"scrollStep":800,"scrollDelayMs":200,"maxScrolls":20,"scrollToTopAfter":true}'
Expected JSON Response
{
    "jobId": "job_001",
    "contentType": "image\/png",
    "bytes": 182934,
    "url": "https:\/\/screenshotapi.vebapi.com\/cdn\/9fcb6c36ef444b24390bf9c3a246a74e.png",
    "expiresAt": "2026-10-25T14:42:56.170Z",
    "expiresInSeconds": 86400
}

Flexible Subscriptions

Choose the monthly credit subscription that supports your development throughput. Cancel or shift tiers at any time.

FREE

Perfect for exploring the API

$0 /month
  • 50 requests per month
  • Developer Sandbox Credentials
  • Instant API Key Activation

PRO

Best for indie developers and small projects

$12 /month
  • 3,000 requests per month
  • Developer Sandbox Credentials
  • Instant API Key Activation

ULTRA

Ideal for SaaS products and tools

$30 /month
  • 10,000 requests per month
  • Developer Sandbox Credentials
  • Instant API Key Activation

MEGA

Built for agencies and businesses

$69 /month
  • 50,000 requests per month
  • Developer Sandbox Credentials
  • Instant API Key Activation