GET
/api/v1/screenshotRecord 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
| Name | Type | Required | Description |
|---|---|---|---|
format | string | required | mp4, webm, mov, avi, or gif. |
url | string | required | The page URL to record. |
video_duration | integer | optional | Recording length in seconds (1–30). Default: 5. |
video_fps | integer | optional | Frames 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.gifResponse
(Raw video bytes, Content-Type: video/mp4)