Youtube Scraper avatar
Youtube Scraper

Pricing

from $2.50 / 1,000 videos

Go to Apify Store
Youtube Scraper

Youtube Scraper

Unlimited and Affordable YouTube video scraper. Easily extract all video data using search terms or direct URLs. Carefully developed code, optimised through over 100 iterations, to minimise computational costs.

Pricing

from $2.50 / 1,000 videos

Rating

5.0

(2)

Developer

BluePhantom

BluePhantom

Maintained by Community

Actor stats

2

Bookmarked

10

Total users

4

Monthly active users

14 days

Issues response

10 days ago

Last modified

Share

YouTube Scraper ๐ŸŽฌ

Scrape YouTube videos, shorts, and live streams at scale. Extract views, likes, channel info, thumbnails, transcripts, and more.

Optimized pricing for all plans

Features

  • ๐Ÿ” Search scraping โ€” Search any term and scrape videos, shorts, or streams
  • ๐ŸŽฌ Videos, Shorts & Streams โ€” Scrape any content type separately
  • ๐Ÿ“ Transcripts/Subtitles โ€” Download in TXT, SRT, VTT, or JSON format
  • ๐ŸŒ Multi-region โ€” Target specific countries and languages
  • ๐Ÿ”— Direct URLs โ€” Scrape specific videos by URL
  • ๐ŸŽฏ View filters โ€” Filter by minimum/maximum view count
  • โšก Optimized โ€” Fast, efficient, and cost-effective

Output Data

Each scraped video includes:

FieldDescription
titleVideo title
videoIdYouTube video ID
videoUrlFull video URL
contentTypevideo, short, or live
viewsView count
likesLike count
channelNameChannel name
channelIdChannel ID
channelUrlChannel URL
subscribersChannel subscriber count
publishedDatePublish date
thumbnailThumbnail URL
isMembersOnlyMembers-only content flag
subtitlesTranscript text (if enabled)
subtitlesLanguageTranscript language code
searchTermOriginal search term
scrapedAtScrape timestamp

Example Output

{
"title": "How to Build a Web Scraper in 10 Minutes",
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"contentType": "video",
"views": 1250000,
"likes": 45000,
"channelName": "Tech Tutorials",
"channelId": "UC1234567890",
"channelUrl": "https://www.youtube.com/channel/UC1234567890",
"subscribers": 500000,
"publishedDate": "2 months ago",
"thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"isMembersOnly": false,
"searchTerm": "web scraping tutorial",
"scrapedAt": "2024-01-15T10:30:00.000Z"
}

Input Parameters

Search Configuration

ParameterTypeDefaultDescription
searchTermsarray[]List of search terms
maxVideosPerSearchinteger10Max videos per search (0 to disable)
maxShortsPerSearchinteger0Max shorts per search (0 to disable)
maxStreamsPerSearchinteger0Max streams per search (0 to disable)

Direct URLs

ParameterTypeDefaultDescription
directUrlsarray[]Direct YouTube URLs to scrape

Transcript Options

ParameterTypeDefaultDescription
downloadSubtitlesbooleanfalseDownload transcripts
subtitleLanguagestringenPreferred language
subtitleFormatstringtxtFormat: txt, srt, vtt, json

Filters

ParameterTypeDefaultDescription
minViewCountinteger0Minimum views (0 = no minimum)
maxViewCountinteger0Maximum views (0 = no maximum)

Localization

ParameterTypeDefaultDescription
regionCodestringUSYouTube region
interfaceLanguagestringenInterface language

Performance

ParameterTypeDefaultDescription
delayBetweenRequestsinteger500Delay in ms between requests
deduplicateResultsbooleantrueSkip duplicate videos

Proxy

ParameterTypeDefaultDescription
proxyConfigurationobject{"useApifyProxy": true}Proxy settings

Example Input

{
"searchTerms": ["web scraping tutorial", "python automation"],
"maxVideosPerSearch": 20,
"maxShortsPerSearch": 5,
"downloadSubtitles": true,
"subtitleLanguage": "en",
"subtitleFormat": "txt",
"minViewCount": 1000,
"regionCode": "US",
"proxyConfiguration": {
"useApifyProxy": true
}
}

Use Cases

  • Market Research โ€” Analyze trending content in your niche
  • Competitor Analysis โ€” Track competitor video performance
  • Content Ideas โ€” Find popular topics and formats
  • Lead Generation โ€” Find channels and creators to reach out to
  • Data Analysis โ€” Build datasets for ML/AI training
  • Transcript Mining โ€” Extract text content for analysis

Integrations

Export data to:

  • JSON, CSV, Excel
  • Google Sheets
  • Webhooks
  • Zapier, Make, n8n
  • Any API endpoint

Tips

  1. Use Apify Proxy โ€” Recommended for reliable scraping at scale
  2. Start small โ€” Test with a few videos before large scrapes
  3. Filter by views โ€” Use minViewCount to get only popular content
  4. Deduplicate โ€” Keep deduplicateResults enabled to avoid duplicates across search terms

Pricing

$0.0025 - $0.004 per video scraped = $2.5 - $4 per 1,000 videos

You only pay for successfully scraped videos with complete metadata.

Support

Having issues? Open an issue for this Actor or contact me at https://x.com/Im_BluePhantom.