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.
https://screenshot-snapshot-site2.p.rapidapi.com/api/v1/screenshot
Capture a full-page screenshot from any URL.
Request Body Schema
Field | Type | Description |
---|---|---|
url * | string (uri) | URL of the website to capture. |
format | string ("png" | "jpeg" | "pdf") | Set image format. Default: png. |
width | integer (100-8000) | Set screen width. Default: 1280. |
height | integer or null (100-20000) | Set screen height. Default: 720. |
delay | integer (0-10) | Delay in seconds before capturing. Default: 2. |
fullSize | boolean | Capture full page. true/false. |
hideCookie | boolean | Hide cookie banners if true. |
hide | string or null | Hide 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.
https://screenshot-snapshot-site2.p.rapidapi.com/api/v2/screenshot
Use advanced parameter with javascriptCode.
Request Body Schema
Field | Type | Description |
---|---|---|
url * | string (uri) | URL of the website to capture. |
format | string ("png" | "jpeg" | "pdf") | Set image format. Default: png. |
width | integer (100-8000) | Set screen width. Default: 1280. |
height | integer or null (100-20000) | Set screen height. Default: 720. |
delay | integer (0-10) | Delay in seconds before capturing. Default: 2. |
fullSize | boolean | Capture full page. true/false. |
hideCookie | boolean | Hide cookie banners if true. |
hide | string or null | Hide elements by CSS selectors (e.g. #cookie-banner, .ads). |
javascriptCode | string or null | Execute 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.