GET/api/v1/screenshot

Video & GIF

Record a video or animated GIF of a page. Supported formats: mp4, mov, avi, webm, gif.

Set format to a video format to record the page instead of taking a still image. The browser opens the URL, waits for load, then records for video_duration seconds while auto-scrolling.

Note: Video captures cost more quota than still screenshots. Check your plan in the Dashboard.

Parameters

NameTypeRequiredDescription
formatstringrequiredmp4, mov, avi, webm, or gif.
video_durationintegeroptionalRecording length in seconds (1–30). Default: 5.
video_fpsintegeroptionalFrames per second (5–60). Default: 24.
video_scrollbooleanoptionalAuto-scroll the page during recording. Default: true.
video_section_delayintegeroptionalPause between scroll steps in ms (200–5000). Default: 1200.
video_scroll_durationintegeroptionalTime in ms to scroll one viewport height (300–3000). Default: 600.
viewport_widthintegeroptionalRecording viewport width. Default: 1280.
viewport_heightintegeroptionalRecording viewport height. Default: 800.

Code Examples

# 5-second MP4 recording
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&format=mp4&video_duration=5" \
  --output recording.mp4

# Animated GIF at 12 fps, 8 seconds
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&format=gif&video_duration=8&video_fps=12" \
  --output animation.gif

Response

(Raw MP4 bytes, Content-Type: video/mp4)