Stop wrestling with Puppeteer/Chrome in production.
Generate high-quality visuals from URLs instantly.
Dynamically generate social media preview cards for your blog posts or products.
Keep a visual history of your website or track competitors' landing page changes.
Built-in ad-blocking and anti-detection ensures clean captures every time.
const fs = require('fs');
async function capture() {
const res = await fetch('https://rocketutils.dev/v1/screenshot', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
url: 'https://github.com'
})
});
if (!res.ok) throw new Error(await res.text());
const buffer = await res.arrayBuffer();
fs.writeFileSync('github.png', Buffer.from(buffer));
console.log('Saved to github.png');
}
capture();
import requests
url = "https://rocketutils.dev/v1/screenshot"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
data = {
"url": "https://www.reddit.com"
}
response = requests.post(url, json=data, headers=headers)
if response.status_code == 200:
with open("reddit.png", "wb") as f:
f.write(response.content)
print("Screenshot saved!")
else:
print(f"Error: {response.text}")
We automatically attempt to block or hide common GDPR/Cookie consent banners using custom selectors and CSS injection, ensuring your screenshot isn't cluttered with popups.
Yes! We keep browsers "warm" in the background. While the very first request might take a few seconds to spin up, subsequent requests are processed in ~3 seconds.
Absolutely. We wait for the domcontentloaded event
and add a smart intelligent delay to ensure React/Vue/Angular apps have rendered their content
before capturing.