API Documentation > Rest API

HTTP Website Screenshot API

The Page2Images REST web service interface allow you to get a screenshot of one target web page by sending us the URL of that page. You can also choose which device of the page screenshot should be take on, the screen size of that device and the image size you want to get. We also allow you to create a full page screenshot which will include everything in one image.

Since the it is based on REST protocol, it is very easy and quick to write and run applications. You can use the browsers to access URLs as well as pretty much any other HTTP clients in any coding language to access with the API. If you are familiar with linux, you also can use "wget" command to simulate a HTTP client.

Base URL

All URLs used in the Rest API documentation have this base:

http://api.page2images.com
GET/POST?

We support both of GET and POST method. To make a API call, make an HTTP GET or POST request to API server.

With the API, You Can:

Create Website Screenshot

Convert HTML to Image or PDF

Create website Screenshots with Batch Rest API

Sample Codes
Download Java sample source code for website screenshot
Download PHP sample source code for website screenshot
Download Python sample source code for website screenshot
Download PHP sample source code for convert HTML to image
Use Code Generator to Build the Code

Using our Code Generator, you can quickly generate the source code for IMG Tags. Use page2images code generator for website screenshot.

Free Engineering Service

Premium and XLarge rate plan users get free help with writing and testing code. Please contact us if you need help.

version:1.7