Full page options
Reference for the full page options of the shotkit screenshot API, with an example request for each.
Capture the whole scrollable page instead of the viewport. The page is scrolled first so lazy-loaded images and sections render.
full_page
Capture the full scrollable page. Not available for recorded formats (gif, mp4, webm, animated webp); use animation_scroll to record the whole page instead.
Type: boolean · Default: false
curl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true}' \
--fail-with-body -o shot.jpgcurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_scroll":false}' \
--fail-with-body -o shot.jpgcurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_scroll_delay":800}' \
--fail-with-body -o shot.jpgcurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_scroll_by":500}' \
--fail-with-body -o shot.jpgcurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_max_height":6000}' \
--fail-with-body -o shot.jpgfull_page_slices
Split into vertical slices (URLs returned). Returns the slices as URLs: in the JSON body with response_type=json, otherwise in the X-Full-Page-Slices-Url header (a JSON file listing them). The full image is still returned too.
Type: boolean · Default: false
curl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_slices":true,"response_type":"json"}' \
--fail-with-body -o shot.jsoncurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_slices":true,"full_page_slice_height":2000,"response_type":"json"}' \
--fail-with-body -o shot.jsoncurl -X POST "https://shotkit.net/api/take" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","full_page":true,"full_page_slices":true,"full_page_slice_height":2000,"full_page_slice_overlap_height":100,"response_type":"json"}' \
--fail-with-body -o shot.json