Screenshots of any URL, over a simple HTTP API

Send a URL from your server and get back an image. PagePeeker renders the page in Chrome, then serves the image from its cache.

import requests

# A new URL returns a placeholder until its render is done
res = requests.get("https://api.pagepeeker.com/v2/thumbs.php?size=x&code=YOUR_CODE&url=nasa.gov")
with open("capture.jpg", "wb") as f:
    f.write(res.content)
Response200image/jpeg480 x 3601 API call

Try it on a page

Enter an address and pick a size. The request at the top of the page changes to match.

https://
Size480 x 360
Size
480 x 360
Format
JPEG
Cached for
5 to 7 days
Calls used
1
sampleA PagePeeker capture of nasa.gov. Press Capture for a fresh one.
Capture of nasa.gov

What happens to a request

Rendering a page takes seconds, and your code should not have to sit waiting. The API answers at once and renders in the background.

1

You ask for a URL

From your server, with your API key as code. Any language that can make an HTTP request will do.

GET /v2/thumbs.php
2

Chrome renders the page

Until the capture exists you get a placeholder, or your own loading image. Poll thumbs_ready.php to know when it's done.

queued{"IsReady":0,"Error":0}
3

The image is cached and served

The next request gets the capture straight away. It stays for 5 to 7 days on Basic and Advanced, and for as long as you set on Premium.

ready{"IsReady":1,"Error":0}

Five sizes, drawn here at true size

Ask for a letter and get that exact box. On Premium you can have any other size, full page captures, and mobile and tablet screens.

  • t90 x 68
  • s120 x 90
  • m200 x 150
  • l400 x 300
  • x480 x 360

What developers build with it

Sample capture of Tidewater, an invented fleet report

Report images

Render your own dashboards and drop them into emails, PDFs and slides.

Sample capture of Orchard Press, an invented publisher's site

Link previews

Show what a link leads to before anyone clicks it, in feeds, comments and search results.

Sample capture of Fieldnote, an invented invoicing site

Site directories

Give every listing, template or customer site in your product its own picture.