Screenshot API
Capture pixel-perfect screenshots of any webpage via API. Full-page or viewport with configurable dimensions. PNG output from $0.02/call.
Capture screenshots of any URL with a headless browser. Get viewport or full-page screenshots with configurable dimensions. Returns a base64-encoded PNG image.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"url": "https://example.com",
"image": "iVBORw0KGgoAAAANSUhEUgAA...(base64 PNG)",
"width": 1920,
"height": 1080
}
}Features
Use cases
Visual Regression Testing
Capture screenshots of your pages to detect unintended visual changes during development and deployment.
OG Image Generation
Generate dynamic Open Graph preview images by screenshotting custom HTML pages or templates.
Competitor Monitoring
Take periodic screenshots of competitor websites to track design changes, promotions, and A/B tests.
Link Previews
Generate thumbnail previews for URLs shared in your app, chat tool, or bookmarking service.
Archival & Compliance
Capture and archive webpage snapshots for legal compliance, audit trails, or historical records.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/scrape/screenshot', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"url": "https://example.com",
"fullPage": false,
"width": 1920,
"height": 1080
}),
});
const data = await res.json();
console.log(data);Why YepAPI is cheaper
No monthly minimums. No enterprise plans. Just pay per call.
| Provider | Cost / call | Catch |
|---|---|---|
| YepAPI | $0.02 | No minimum. Pay as you go. |
| ScrapingBee | $0.03 | $49/mo minimum |
| ScreenshotAPI | $0.02 | $29/mo plan |
| Urlbox | $0.03 | $39/mo plan |
Frequently asked questions
Capture screenshots of any URL with a headless browser. Get viewport or full-page screenshots with configurable dimensions. Returns a base64-encoded PNG image.
Each API call costs $0.02. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/scrape/screenshot. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. No credit card required.
More web scraping endpoints
Scrape
$0.01Scrape any URL and get clean markdown, HTML, or plain text. Fast lightweight scraping for blogs, docs, and static pages from $0.01/call.
JS Scrape
$0.02Scrape JavaScript-rendered pages with a headless browser. Handle React, Vue, and Angular SPAs with full DOM rendering from $0.02/call.
Stealth Scrape
$0.03Scrape protected sites with residential proxies and anti-bot bypass. Handle Cloudflare, Akamai, and rate limiters from $0.03/call.