Youtube Video Details Scraper avatar

Youtube Video Details Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Youtube Video Details Scraper

Youtube Video Details Scraper

Extract comprehensive details from YouTube videos including metadata, channel information, transcripts, comments, and engagement metrics.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(1)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

18

Total users

4

Monthly active users

15 days ago

Last modified

Share

Scrape comprehensive YouTube video details including metadata, channel info, chapters, endscreen elements, related videos, caption tracks, comments, and engagement metrics. HTTP-first approach with automatic Playwright fallback for maximum reliability.

Input

FieldTypeRequiredDefaultDescription
videoUrlsstring[]Yes-YouTube video URLs, short links (youtu.be), shorts URLs, clip URLs, or plain video IDs
maxCommentsintegerNo0Max comments to extract per video (0-1000). Set to 0 to skip comments
includeChaptersbooleanNotrueExtract chapter markers from the video engagement panel or description timestamps
includeEndscreenbooleanNotrueExtract endscreen elements (suggested videos/channels/playlists shown at video end)
includeCardsbooleanNofalseExtract interactive info cards embedded in the video
includeTranscriptMetadatabooleanNotrueList available caption/transcript tracks (language codes, auto-generated flag). Does not fetch transcript text
includeRelatedVideosintegerNo0Number of related/suggested videos to extract from the watch page sidebar. 0 = skip
proxyCountrystringNo"US"Country for proxy routing. One of: US, GB, DE, IN, JP, BR, FR, ES, KR, RU. Useful for geo-blocked videos

Supported URL formats

  • https://www.youtube.com/watch?v=dQw4w9WgXcQ
  • https://youtu.be/dQw4w9WgXcQ
  • https://www.youtube.com/shorts/dQw4w9WgXcQ
  • https://www.youtube.com/embed/dQw4w9WgXcQ
  • https://www.youtube.com/v/dQw4w9WgXcQ
  • https://www.youtube.com/clip/UgkxxxxClipId (clip URLs)
  • dQw4w9WgXcQ (bare video ID)

Example input

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/VIDEO_ID_2"
],
"maxComments": 100,
"includeChapters": true,
"includeRelatedVideos": 10,
"proxyCountry": "US"
}

Output

Each row in the dataset represents one video with full metadata, channel info, optional chapters/endscreen/related videos, caption track listings, and optionally comments.

Video fields

FieldTypeExample
typestring"video"
inputUrlstringOriginal URL provided in input
videoIdstring"dQw4w9WgXcQ"
titlestring"Rick Astley - Never Gonna Give You Up"
descriptionstringFull video description
channelIdstring"UCuAXFkgsw1L7xaCfnd5JJOw"
channelNamestring"Rick Astley"
publishedDatestring"2009-10-25"
durationSecondsinteger212
viewCountinteger1234567890
likeCountinteger15000000
commentCountinteger500000
commentsDisabledbooleanfalse
tagsarray["rick astley", "never gonna give you up"]
hashtagsarray["#rickastley", "#nevergonnagiveyouup"]
thumbnailsobject{"default": "...", "medium": "...", "high": "..."}
categorystring"Music"
languagestring"en"
defaultAudioLanguagestring"en"
liveStatusstring"none", "live_now", "was_live", or "upcoming"
liveBroadcastDetailsobjectStart/end timestamps when applicable
uploadTypestring"normal", "live", "was_live", "premiere", or "short"
engagementRatefloat0.0162
resolutionstring"1080p"
isFamilySafebooleantrue
isPlayablebooleantrue
isAgeGatedbooleanfalse
requiresLoginbooleanfalse
playabilityStatusstring"OK"
availableCountriesarray["US", "GB", "CA", ...]
clipIdstring/nullClip identifier (clip URLs only)
clipStartMsinteger/nullClip start time in ms
clipEndMsinteger/nullClip end time in ms
successbooleantrue
scrapedAtstring"2026-02-10T12:00:00.000000+00:00"

Channel info (embedded in channel object)

FieldTypeExample
idstring"UCuAXFkgsw1L7xaCfnd5JJOw"
namestring"Rick Astley"
handlestring"@rickastley"
urlstring"https://www.youtube.com/@rickastley"
subscriberCountinteger2500000
subscriberCountTextstring"2.5M subscribers"
logostringChannel avatar URL
badgesarray["Verified"]

Chapters (embedded in chapters array, when includeChapters=true)

FieldTypeExample
titlestring"Intro"
startSecondsinteger0
startTimeTextstring"0:00"
thumbnailUrlstringChapter thumbnail URL

Endscreen (embedded in endscreen array, when includeEndscreen=true)

Array of endscreen items (videos, channels, playlists, or links) shown at the end of the video. Each item includes its type, title, target URL, and thumbnail.

Caption tracks (embedded in captionTracks array, when includeTranscriptMetadata=true)

FieldTypeExample
languageCodestring"en"
languageNamestring"English"
isAutoGeneratedbooleanfalse
isTranslatablebooleantrue

Array of related video objects from the watch page sidebar, including videoId, title, channelName, viewCount, duration, and thumbnail.

Comments (embedded in comments array, when maxComments > 0)

FieldTypeExample
commentIdstring"abc123"
textstring"This song is timeless!"
authorNamestring"MusicFan"
authorChannelIdstring"UC..."
authorProfileImageUrlstringProfile image URL
publishedTimeTextstring"2 years ago"
likeCountinteger1200
isHeartedbooleanfalse
isPinnedbooleanfalse

FAQ

Q: Does this scraper fetch full transcript text? No. With includeTranscriptMetadata=true it lists available caption tracks (language code, auto-generated flag, translatable). Use a dedicated transcript scraper to fetch the text body.

Q: Why is commentCount non-zero but comments empty? Comments are only fetched when maxComments > 0. The commentCount field reflects YouTube's total, which is always populated.

Q: How are clip URLs handled? Clip URLs return the parent video's metadata plus clipId, clipStartMs, and clipEndMs describing the clip range.

Q: What happens for geo-blocked videos? Set proxyCountry to a region where the video is available. The availableCountries array on output shows where the video is accessible.

Q: Are private or members-only videos supported? Only public videos are scraped. Private, unlisted-without-link, or members-only videos will return isPlayable=false with the matching playabilityStatus.

Use Cases

  • Content research — extract full video metadata including chapters, tags, and engagement rates for any video at scale
  • SEO analysis — collect titles, descriptions, hashtags, and related videos for keyword and ranking research
  • Media monitoring — track view counts, like counts, and playability status for a set of videos over time
  • Competitor intelligence — analyze a competitor's video catalog: upload frequency, categories, endscreen strategy, and caption availability
  • AI and NLP pipelines — use captionTracks to discover available languages, then fetch full text with the Transcript Scraper
  • Legal and compliance — check availableCountries, isAgeGated, and playabilityStatus for content rights workflows

YouTube Scraper Suite

This actor is part of a complete YouTube data extraction toolkit. Explore the full suite:

ActorDescription
YouTube Channel ScraperChannel metadata, subscriber counts, and full video catalogs
YouTube Channel Scraper FastStreamlined channel scraper for high-volume and speed-sensitive workflows
YouTube Comment ScraperComments, replies, likes, author info, and pinned/hearted status
YouTube Email ScraperCreator contact emails from channel pages, Instagram, TikTok, and Linktree
YouTube Hashtag ScraperVideos and Shorts tagged with specific hashtags
YouTube Playlist ScraperAll videos and metadata from any YouTube playlist
YouTube Search ScraperSearch results including videos, channels, and playlists
YouTube Shorts ScraperShorts from channels or hashtags with full view and like metadata
YouTube Transcript ScraperTimed transcripts and captions with optional Whisper AI fallback
YouTube Trending ScraperRanked trending videos by category — Gaming, Music, News, Movies
YouTube Video Details ScraperComprehensive video metadata, chapters, endscreen, captions, and comments
YouTube Video DownloaderDownload videos, playlists, and channels in any quality with metadata