Search APIs
Loading…
← API Store
Social

YouTube

YouTube

YouTube video frame at a time

GET /youtube/v1/video/screenshot
Test this endpoint

A frame of the video near a time, from YouTube's own timeline preview frames (the images shown when scrubbing the player; up to 160x90 px). image_url is a grid image of frames and crop the box (x, y, width, height) of the frame in it. YouTube keeps one frame every few seconds (frame.interval_s), so the frame returned is the last one at or before t; its time is frame_time_s. levels lists the same frame in every size YouTube keeps. Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
video_idrequiredstringVideo id or any YouTube video URL (also accepted as `id` or `url`). Example: aircAruvnKk
tstringTime in the video: seconds (90), 1:30 or 1m30s. Default 0. Also accepted as `timestamp`. Example: 300

Every endpoint also takes: raw、fields、fresh、output、records

No sample yet

This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.