
How to take a screenshot of any website with one API call
How to Take a Screenshot of Any Website with One API Call No browser installation. No Puppeteer. No chromedriver version pinning. One API call, one PNG back. curl -X POST https://api.pagebolt.dev/v1/screenshot \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com"}' \ --output screenshot.png That's it. screenshot.png lands in your current directory. Get an API key free at pagebolt.dev — 100 requests/month, no credit card. Full-page screenshot Capture the entire scrollable page, not just the visible viewport: curl -X POST https://api.pagebolt.dev/v1/screenshot \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com", "fullPage": true }' \ --output fullpage.png Remove cookie banners and ads Most pages have cookie consent popups that ruin screenshots. Block them: curl -X POST https://api.pagebolt.dev/v1/screenshot \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "
Continue reading on Dev.to Webdev
Opens in a new tab




