YouTube Scraper avatar

YouTube Scraper

Pricing

from $0.38 / 1,000 results

Go to Apify Store
YouTube Scraper

YouTube Scraper

Scrape YouTube videos, channels, playlists, and trending. Search by keyword, handle, or URL. Get titles, views, likes, descriptions, tags, and more. Fast, reliable, and export to JSON, CSV, or Excel.

Pricing

from $0.38 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeForge

ScrapeForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape YouTube videos, channels, and playlists at scale. Extract rich metadata including titles, descriptions, views, likes, comments, tags, thumbnails, and more.

Features

  • Search by keywords - Find videos by any search query with sorting options (relevance, date, views, rating)
  • Channel scraping - Extract videos from any channel using @handle, channel URL, or channel ID
  • Playlist extraction - Get all videos from any public playlist
  • Direct URLs - Scrape specific video or shorts URLs
  • Shorts support - Include YouTube Shorts when scraping channels

Input

FieldTypeDescription
startUrlsarrayYouTube URLs to scrape (auto-detects type: video, channel, playlist, search)
youtubeHandlesarrayChannel handles (@user), channel IDs, or channel URLs
keywordsarrayKeywords to search for on YouTube
sortstringSort order: relevance, date, views, or rating
includeShortsbooleanInclude YouTube Shorts when scraping channels
glstringCountry code (e.g., US, ES, BR) for search results
maxResultsintegerMaximum total results (default: 50, min: 50, max: 10,000)
maxResultsPerChannelintegerMaximum videos per channel (default: 30, max: 5,000)

Output

Each result contains:

FieldTypeDescription
videoIdstringYouTube video ID
titlestringVideo title
descriptionstringFull video description
urlstringVideo URL
thumbnailUrlstringHigh-resolution thumbnail URL
durationintegerDuration in seconds
uploadDatestringUpload date (ISO format)
categorystringVideo category
tagsarrayVideo tags
viewCountintegerNumber of views
likeCountintegerNumber of likes
commentsCountintegerNumber of comments
channelNamestringChannel name
channelIdstringChannel ID
channelUrlstringChannel URL
subscriberCountintegerChannel subscriber count
isShortbooleanWhether the video is a YouTube Short

Usage examples

Search for videos

{
"keywords": ["web scraping tutorial", "python automation"],
"maxResults": 200,
"sort": "relevance"
}

Scrape channels

{
"youtubeHandles": ["@MrBeast", "@PewDiePie"],
"maxResultsPerChannel": 50,
"includeShorts": false
}

Scrape specific URLs

{
"startUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.youtube.com/@MrBeast",
"https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf"
]
}

Export

Results can be exported to JSON, CSV, Excel, or accessed via the Apify API and integrations (Google Sheets, Zapier, Make, etc.).

Limits

  • Minimum 50 results per run
  • Maximum 10,000 results per run
  • Maximum 5,000 videos per channel
  • No login required

Disclaimer

This is an unofficial actor and is not affiliated with, endorsed by, or sponsored by YouTube or Google. It is developed and maintained independently. YouTube is a trademark of Google LLC.

This actor accesses only publicly available data. Users are responsible for ensuring their use complies with YouTube's Terms of Service and all applicable laws. By using this actor, you agree that you are solely responsible for how you use the extracted data.