Web Screenshot Renderer

FREEMIUM
By petadata
Updated 6 months ago
Media
-/10
Popularity Score
-
Latency
-
Success Rate

Web Screenshot Renderer API Documentation

This service renders screenshot of web page to various image formats. You can specify additional parameters to customize rendering process. It runs on cloud-based, high-availability, fault-tolerant server farm.

View API Details
GETRenderHtmlAsBinary
GETRenderUriAsBinary
GETRenderUriAsUri
GETRenderHtmlAsBinary

Renders screenshot of html code and returns byte array of image

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
htmlContentSTRING
REQUIREDHtml code to render
Optional Parameters
browserWidthNUMBER
OPTIONALPreferred browser width in pixels. Can be used to render responsive screenshots. Default: 1024
browserHeightNUMBER
OPTIONALPreferred browser height in pixels. If you pass 0 service will render whole webpage. Default: 800
imageWidthNUMBER
OPTIONALPreferred image width in pixels. Can be used to create thumbnail image. Default: null
imageHeightNUMBER
OPTIONALPreferred image height in pixels. Can be used to create thumbnail image. Default: null
renderDelayNUMBER
OPTIONALThe time (in seconds) to delay before rendering web page. Default: 0
imageFormatSTRING
OPTIONALThe image format. Can be bmp, jpg, emf, exif, gif, wmf, png or tif. Default: png
Code Snippet
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication