Screenshot as a Service

Stop wrestling with Puppeteer/Chrome in production.
Generate high-quality visuals from URLs instantly.

View Examples API Reference
🖼️

OG Image Generation

Dynamically generate social media preview cards for your blog posts or products.

🤖

Archive & Monitoring

Keep a visual history of your website or track competitors' landing page changes.

Stealth & Fast

Built-in ad-blocking and anti-detection ensures clean captures every time.

Integration Examples

Node.js

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();

Python

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}")

Frequently Asked Questions

How are cookies handled?

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.

Is it fast?

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.

Does it work on SPA (Single Page Apps)?

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.