Website Screenshot API: Capture High-Quality Clean Screenshots | VebAPI
VebAPI β€” Website Screenshot API

High-Resolution Screenshots
In One Simple API Call

Capture high-quality screenshots of any public webpage with one POST request. Perfect for SEO tools, QA, monitoring, and previews. Bypass overlays, hide elements, control viewports, and get instant CDN delivery.

Method POST
API Version 1.0
Credit Cost 10 Credits
https://vebapi.com/api/websitescreenshot

Screenshot Visual Preview

(This space is reserved for mockups or interactive screenshot rendering. You can easily insert image elements here.)

IMAGE / RENDER CONTAINER PLACEHOLDER

How the Screenshot API Works

Generate clean, banner-free images of webpages in 3 simple steps.

1

Specify the Target URL

Provide the web address you wish to capture, along with viewport settings, and format specifications in a simple JSON payload.

2

API Handles Modals

VebAPI spins up an automated browser instance, dismisses cookies, runs page scrolls, waits for elements, and captures the perfect frame.

3

Receive High-Speed CDN URL

Receive a response metadata object with a direct HTTPS CDN URL link to your image. Images are stored securely on the edge.

πŸ’» DEVELOPER CONSOLE

Developer-Friendly POST Endpoint

Integrate using standard REST commands. Configure responsive sizes, set custom stylesheets, bypass privacy agreements, scroll down to force lazy load assets, and render dynamic elements.

Clean JSON response objects
Detailed rendering controls & scroll delays
Multi-language standard support libraries
POST /api/websitescreenshot
curl -X POST "https://vebapi.com/api/websitescreenshot" \
  -H "X-API-KEY: YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jobId": "test-job-00012123",
    "url": "https://vebapi.com",
    "viewport": {
      "width": 1920,
      "height": 1080
    },
    "fullPage": true,
    "format": "png",
    "waitUntil": "domcontentloaded",
    "blockCookieBanners": true,
    "hideOverlays": true,
    "loadLazy": true,
    "scrollStep": 800,
    "scrollDelayMs": 200,
    "maxScrolls": 30,
    "hideSelectors": "#intercom-container,.drift-frame",
    "hideMode": "both",
    "delayMs": 4000
  }'
200 OK Response Payload
{
    "jobId": "test-job-00012123",
    "contentType": "image/png",
    "bytes": 1763986,
    "url": "https://screenshotapi.vebapi.com/cdn/79b8xxxxxxxxxxxxxxxxxxxxxxx2a3f3.png",
    "expiresAt": "2025-12-31T19:37:39.512Z",
    "expiresInSeconds": 86400
}

Full Control Over Your Visual Captures

Bypass dynamic hurdles with built-in parameter options designed to render correct screenshots every time.

Block Cookie Modals

Say goodbye to cookie consent banners cluttering screenshots. Automatically detect and dismiss cookie dialogues by setting blockCookieBanners: true.

Hide Custom Selectors

Strip out live chat badges, popups, or sticky sidebars. Provide targets via hideSelectors and specify display/visibility configuration.

Full-Page Lazy Loading

Ensure long-scrolling layouts render completely. Instruct our worker to scroll down the page and load lazy images using loadLazy: true.

Custom Element Delays

Need elements to settle? Configure precise wait configurations using delayMs parameter to wait for complex charts to fully render.

Responsive Viewports

Configure custom desktop, tablet, or smartphone widths and heights. Generate screenshots simulating exact mobile profiles with custom aspect ratios.

Fast Edge CDN URL

Images are saved in multiple formats (WebP, PNG, JPEG) and served from a distributed edge network. Includes secure cache headers and metadata.

How Businesses Use Our Screenshot API

Scale visual automation tasks, monitor competitor landing pages, and capture legal proof.

SEO Auditing & Reporting Tools

SEO software tools rely on visual confirmation to check metadata titles, identify content overlap, and create visual audits. Automatically generate page summaries and embed high-quality website visual previews directly into client PDF reports.

QA Testing & Visual Regression

Automate daily software quality checks. Capture screenshots on staging builds and run simple visual pixel comparisons. Confirm responsive alignment structures on viewport definitions for desktop, tablets, and smartphones.

Website Change & Brand Monitoring

Monitor competitor pages, landing templates, pricing tables, or tracking codes. Save regular historical snapshots to secure CDNs and get notified instantly if layout anomalies or changes occur.

Link Preview & Social Media Cards

Enhance social click-through rates. Generate live Open Graph header images, generate visual cards for messaging apps, and create custom mock previews automatically from any public domain address.

Common Inquiries

Frequently Asked Questions

Clear, descriptive answers to help search engines, LLMs, and developers understand VebAPI.

What is the VebAPI Website Screenshot API?

The VebAPI Website Screenshot API is a cloud-based developer tool that programmatically captures visual screenshots of public web addresses. By executing a simple POST request containing specifications such as viewport sizes, format types, and scripts blocking, it returns a fast CDN link containing the final rendered image.

How can I block popups and cookie agreement banners?

You can automatically hide banners by enabling blockCookieBanners: true and hideOverlays: true in your payload. Additionally, you can pass custom target CSS class or ID selectors via the hideSelectors array.

How are images stored and how long do the CDN links last?

Each screenshot captured generates an optimized CDN link. By default, VebAPI stores screenshot assets for 24 hours (86,400 seconds). The response JSON payload provides an expiresAt timestamp and expiresInSeconds details.

Is full-page screenshot capturing supported?

Yes. By setting fullPage: true, the screenshot API will render the webpage's entire scroll height. You can also combine this with loadLazy: true to ensure lazy-loaded content loads correctly.

πŸ”₯ Special Offer Pricing

Simple, Transparent Pricing

Choose a plan now, scale anytime. One API key for all endpoints.

Loading pricing…
Need more? Contact us for custom pricing.