Welcome to the API

About

This api allows you to enter a website url, along with the below options and in return you will get a webkit rendered screenshot of said url. That's about it.

Register for a Beta account and help test the system.

Click here to register for a beta account.

Documentation

Base url

http://api.thepearson.co/grab/?

Query Parameters

key
Application Key eg, key=fcc42e8e-11ca-11e2-83d9-63d8f8d29fd8
u
URL of site to capture eg, u=http://www.google.com
format
Format of device to emulate, valid values are 'mobile' or 'desktop' eg, format=mobile
width
width of the browser window eg, width=1024
height
height of the browser window, if omitted the entire page will be captured. if specified the screen cap will be height pixels high. eg, height=768
resize
percentage to resize end image by, must be between 1 and 200, leave out percentage signs eg, resize=50
output
output format to return. valid values are jpg or png eg, output=jpg

Examples

Thumbnail of Google.com

example

http://api.thepearson.co/grab/?key=[YOUR_API_KEY]&u=http://www.google.com&width=1024&height=768&resize=15&output=jpg

Amazon Mobile Site

example

http://api.thepearson.co/grab/?key=[YOUR_API_KEY]&u=http://www.amazon.com&format=mobile

The responsive version of smashing Magazine's Site

example

http://api.thepearson.co/grab/?key=[YOUR_API_KEY]&u=http://www.smashingmagazine.com&width=480&height=2048