Peekabooo Screenshot API Logo

The Peekabooo API

Screenshot-as-a-Service. Just shots.

What Is Peekabooo?

peekabooo is a lightweight screenshot API. Send a URL, and get a crisp .png of the page. Nothing less.

How to Use

Make a GET request like this:

https://peekabooo.vercel.app/screenshot?url=https://github.com/victoryosiobe/peekabooo&width=1280&height=720

Query Parameters

Name Type Default Description
url string required The full URL of the page to screenshot
width number 1280 Viewport width in pixels
height number 720 Viewport height in pixels
fullPage boolean false Set to true to capture the full page height, not just the viewport

JavaScript Example

fetch("https://peekabooo.vercel.app/screenshot?url=https://github.com/victoryosiobe/peekabooo&fullPage=true")
  .then(res => res.blob())
  .then(blob => {
    const img = document.createElement("img");
    img.src = URL.createObjectURL(blob);
    document.body.appendChild(img);
  });

What You Get

A raw .png image. Save it, embed it, build link previews with it; whatever you need.