API Documentation

Easily capture full-page screenshots with our simple and powerful API.
Supports both basic and advanced configurations (v1 and v2).

Capture a Screenshot (v1)

Basic usage to capture a full-page screenshot.

POSThttps://screenshot-snapshot-site2.p.rapidapi.com/api/v1/screenshot

Capture a full-page screenshot from any URL.

Request Body Schema

FieldTypeDescription
url *string (uri)URL of the website to capture.
formatstring ("png" | "jpeg" | "pdf")Set image format. Default: png.
widthinteger (100-8000)Set screen width. Default: 1280.
heightinteger or null (100-20000)Set screen height. Default: 720.
delayinteger (0-10)Delay in seconds before capturing. Default: 2.
fullSizebooleanCapture full page. true/false.
hideCookiebooleanHide cookie banners if true.
hidestring or nullHide elements by CSS selectors (e.g. #cookie-banner, .ads).
1curl --request POST
2--url https://screenshot-snapshot-site2.p.rapidapi.com/api/v1/screenshot
3--header 'Accept: application/json'
4--header 'Content-Type: application/json'
5--header 'x-rapidapi-host: screenshot-snapshot-site2.p.rapidapi.com'
6--header 'x-rapidapi-key: YOUR_API_KEY'
7--data '{"url":"https://wikipedia.org","format":"png","width":1280,"height":720,"delay":0,"fullSize":false,"hideCookie":false}'
8

Advanced Capture (v2)

Advanced screenshot with JavaScript injection.

POSThttps://screenshot-snapshot-site2.p.rapidapi.com/api/v2/screenshot

Use advanced parameter with javascriptCode.

Request Body Schema

FieldTypeDescription
url *string (uri)URL of the website to capture.
formatstring ("png" | "jpeg" | "pdf")Set image format. Default: png.
widthinteger (100-8000)Set screen width. Default: 1280.
heightinteger or null (100-20000)Set screen height. Default: 720.
delayinteger (0-10)Delay in seconds before capturing. Default: 2.
fullSizebooleanCapture full page. true/false.
hideCookiebooleanHide cookie banners if true.
hidestring or nullHide elements by CSS selectors (e.g. #cookie-banner, .ads).
javascriptCodestring or nullExecute JavaScript code before capturing.
1curl --request POST
2--url https://screenshot-snapshot-site2.p.rapidapi.com/api/v2/screenshot
3--header 'Accept: application/json'
4--header 'Content-Type: application/json'
5--header 'x-rapidapi-host: screenshot-snapshot-site2.p.rapidapi.com'
6--header 'x-rapidapi-key: YOUR_API_KEY'
7--data '{"url":"https://wikipedia.org","format":"png","width":1280,"height":720,"delay":0,"fullSize":false,"hideCookie":false,"javascriptCode":"document.body.style.color ='''#fd7e14''';var elements = document.querySelectorAll('''a''');[].slice.call(elements).forEach(function(elem) {elem.style.color = '''#fd7e14''';});","hide":"#js-link-box-en, #js-link-box-fr"}'
8

Subscribe to Snapshot Site API

Snapshot Site is a powerful API that allows you to capture full-page, high-resolution screenshots of any website with pixel-perfect accuracy.
Simply send a URL to the API to generate a complete snapshot — not just the visible area — covering entire web pages, scrolling content, landing pages, blogs, news articles, social media posts, videos, and more.
Designed for developers, designers, marketers, and journalists,
Snapshot Site makes it easy to integrate web page capture into your applications, workflows, and automation tools.

Subscribe Now
bg wave