YouTube data

YouTube Video Details Scraper (bulk, lightweight)

Full metadata for up to 500 YouTube videos per run: title, description, view count, duration, publish date, category, tags, channel and thumbnail. Paste URLs, short links, shorts or bare video ids. Only delivered videos are charged.

$1.50per 1,000 ยท Video delivered

One video with full metadata delivered to the dataset. Videos that fail, are deleted or are private are never charged.

run it
ACTOR=steadydata~youtube-video-details
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 '{"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "JGwWNGJdvx8"], "language": "en", "country": "US"}'

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

Input

FieldNameWhat it does
videos
required
VideosVideo URLs or ids, up to 500 per run. Watch URLs, youtu.be links, shorts, embeds and bare 11-character ids all work.
languageLanguageInterface language for the texts YouTube returns, e.g. en, nl, de.
countryCountryISO country code used for the request, e.g. US, NL, DE. Some videos are region restricted.

What you get back

FieldType
videoIdstring, null
urlstring, null
titlestring, null
descriptionstring, null
channelIdstring, null
channelNamestring, null
channelUrlstring, null
viewCountinteger, null
durationSecondsinteger, null
publishDatestring, null
uploadDatestring, null
categorystring, null
tagsarray, null
isLiveContentboolean, null
isFamilySafeboolean, null
thumbnailUrlstring, null
statusstring, null
inputstring, null
errorCodestring, null
errorstring, null