GET/api/v1/screenshot

Record a website as a video

Record a page as an MP4, WebM, or animated GIF. Set format to a video type and optionally control duration and FPS.

Set format to mp4, webm, mov, avi, or gif. The browser loads the page, waits for it to settle, then records for video_duration seconds. See Video & GIF for the full parameter list.

Video captures consume more quota than screenshots. Check your plan in the Dashboard.

Parameters

NameTypeRequiredDescription
formatstringrequiredmp4, webm, mov, avi, or gif.
urlstringrequiredThe page URL to record.
video_durationintegeroptionalRecording length in seconds (1–30). Default: 5.
video_fpsintegeroptionalFrames per second (5–60). Default: 24.

Code Examples

# 5-second MP4
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
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&format=gif&video_duration=6&video_fps=12" \
  --output animation.gif

Response

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