
How to Capture Website Screenshots with a Simple API Call
If you've ever needed to capture website screenshots programmatically, you know the pain: spinning up Puppeteer, managing Chrome instances, handling timeouts, dealing with memory leaks. It's a whole infrastructure problem for what should be a simple task. I built GrabShot to solve this. One API call, get a screenshot. Here's how it works. The Simple Version curl "https://grabshot.dev/v1/screenshot?url=https://github.com&format=png" \ -H "x-api-key: YOUR_KEY" \ -o github.png That's it. You get back a PNG of github.com. No Puppeteer setup, no Chrome management, no memory leaks to debug at 3 AM. Getting Started (Free Tier) Head to grabshot.dev/dashboard Create an account (just email) You get 25 free screenshots per month Start capturing What Can You Actually Do With This? OG Images for Your Blog Generate dynamic Open Graph images so your links look great when shared: const ogUrl = `https://grabshot.dev/v1/screenshot?url= ${ encodeURIComponent ( myPageUrl )} &width=1200&height=630&format=p
Continue reading on Dev.to Webdev
Opens in a new tab

