YouTube Video & Channel Data Extractor avatar

YouTube Video & Channel Data Extractor

Pricing

Pay per usage

Go to Apify Store
YouTube Video & Channel Data Extractor

YouTube Video & Channel Data Extractor

Extract video details, transcripts, comments, channel analytics, playlists, and search results from YouTube. Content marketing and video SEO research tool.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Richard P

Richard P

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Extract video metadata, channel info, search results, and comments from YouTube. Uses oEmbed API and page scraping — no API key required.

Features

  • Video data extraction — Title, description, duration, views, likes, upload date, thumbnails
  • Channel data extraction — Name, subscribers, video count, avatar, banner, join date
  • YouTube search — Search for videos by keyword, get title, views, publish date, duration
  • Comment extraction — Scrape comments with author, text, likes, timestamps
  • Multi-source — Accept video URLs, channel URLs, and search queries in one run
  • No API key needed — Uses oEmbed API + page scraping via JSON-LD, ytInitialData, meta tags

Input

FieldTypeRequiredDescription
videoUrlsarray of stringsYouTube video URLs to extract
channelUrlsarray of stringsYouTube channel URLs to extract
searchQueriesarray of stringsSearch terms to find videos
maxResultsintegerMax videos per source (default: 30)
includeCommentsbooleanScrape comments on videos (default: false)
maxCommentsintegerMax comments per video (default: 50)

Example Input

{
"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"channelUrls": ["https://www.youtube.com/@Veritasium"],
"searchQueries": ["python tutorial 2026"],
"maxResults": 20,
"includeComments": true,
"maxComments": 30
}

Output Fields

Per video: videoId, title, description, channelName, channelUrl, duration (seconds), views, thumbnailUrl, uploadDate, publishedText, keywords, comments, sourceType

Per channel: channelUrl, title, description, subscriberCount, videosCount, avatarUrl, bannerUrl, channelId, joinedDate, sourceType

Per search: searchQuery, results (array of video search results), sourceType

Local Development

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
apify run --purge

Limitations

  • YouTube may block aggressive scraping — add delays between requests
  • Comment extraction depends on ytInitialData being present in page HTML
  • Some metadata may be missing without a valid API key
  • Search results may vary by region/language