YouTube data

YouTube Playlist Videos Scraper (bulk, lightweight)

Every video in a YouTube playlist in order: position, title, duration, view count, publish date and thumbnail, plus the playlist title and owner. Paste playlist URLs or ids. Only delivered videos are charged.

$0.35per 1,000 ยท Video listed

One video from the playlist delivered to the dataset. Playlists that fail or are empty are never charged.

run it
ACTOR=steadydata~youtube-playlist-videos
URL="https://api.apify.com/v2/acts/$ACTOR/run-sync-get-dataset-items"

curl -X POST "$URL?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"playlists": ["https://www.youtube.com/playlist?list=PLBsP89CPrMeNm71T5gYC6jebm9vPbLBiP"], "maxVideosPerPlaylist": 100, "language": "en"}'

# rows come straight back as JSON, one object per delivered row

Input

FieldNameWhat it does
playlists
required
PlaylistsPlaylist ids or any YouTube URL containing one, for example PLBsP89CPrMeNm71T5gYC6jebm9vPbLBiP or https://www.youtube.com/playlist?list=PL...
maxVideosPerPlaylistMax videos per playlistStop after this many videos per playlist. This is your cost ceiling: one delivered video is one charged event.
languageLanguageInterface language for the texts YouTube returns, e.g. en, nl, de.
countryCountryISO country code used for the request, e.g. US, NL, DE.

What you get back

FieldType
playlistIdstring, null
playlistUrlstring, null
playlistTitlestring, null
playlistOwnerstring, null
playlistVideoCountinteger, null
positioninteger, null
videoIdstring, null
urlstring, null
titlestring, null
durationstring, null
durationSecondsinteger, null
channelNamestring, null
channelIdstring, null
thumbnailUrlstring, null
statusstring, null
inputstring, null
errorCodestring, null
errorstring, null