▶️ YouTube Scraper avatar

▶️ YouTube Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
▶️ YouTube Scraper

▶️ YouTube Scraper

Scrape YouTube videos, Shorts, channels, playlists, comments, and search results, no API key or quota limit. Extract subtitles, transcripts, channel emails, and a computed virality score for creator research and content analysis.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Data Minds

Data Minds

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

📖 What is YouTube Scraper?

🎬 Videos, Shorts and live streams · 📦 Export to JSON, CSV or Excel · 🔌 API ready · 🤖 Works with AI agents

YouTube Scraper collects videos, Shorts, live streams, playlists, hashtag pages, search results and channel details from YouTube and saves one clean row per video. It is made for marketers, creators, researchers and developers who need the data in a spreadsheet, a database or an AI workflow. Add channel links, video links or search terms, click Start, and download the results.

  • 📈 Compare channels side by side. See views, likes, comment counts, upload dates and engagement for every channel you add.
  • 🔎 Research any topic. Search a term or a hashtag and see which videos win, with views per day and an outlier score.
  • 📧 Build creator lists. Pull subscribers, channel links and public e-mail addresses for outreach.
  • 📝 Collect text for analysis. Get titles, descriptions, tags, chapters, top comments and subtitles in bulk.
  • 🔔 Track only what is new. Turn on Monitor mode and a scheduled run returns just the videos it has not returned before.

📦 What data can YouTube Scraper extract?

Every row is one video, Short or live stream. Fields that YouTube does not show for a video stay empty.

DataFields
🎬 Video basicsid, url, type, title, description, duration, durationText, date, uploadDate, category, thumbnailUrl
📊 PerformanceviewCount, likes, commentsCount, viewsPerDay, engagementRate, outlierScore
🔖 Tags and linkskeywords, hashtags, descriptionLinks, chapters, collaborators
🔴 Status and flagscommentsTurnedOff, isLiveContent, isUpcoming, streamType, isAgeRestricted, isMembersOnly, isPaidContent, isFamilySafe, isUnlisted
💬 Commentscomments (top comments, when Collect comments is on)
📝 Subtitlessubtitles (text, language, format and available languages, when Download subtitles is on)
📺 ChannelchannelName, channelId, channelUrl, channelUsername, isChannelVerified, numberOfSubscribers, channelTotalVideos, channelTotalViews, channelJoinedDate, channelLocation, channelDescription, channelAvatarUrl, channelBannerUrl
📧 Channel contactchannelEmails, channelDescriptionLinks, aboutChannelInfo
🔎 Source of the roworder, input, inputChannelUrl, fromYTUrl, fromChannelListPage, fromSearchQuery, fromPlaylist, playlistTitle, fromHashtag
❗ Errorserror, note

Shorts often have no tags, creators can hide likes, and many channels have no country, banner or public e-mail. Those fields come back empty.

🚫 What data can't YouTube Scraper extract?

  • ❌ Private or deleted videos, and members-only videos.
  • ❌ Comment replies. You get the top comments, with a reply count for each.
  • ❌ Content that needs a signed-in account, such as purchased movies.
  • ❌ Subtitles for videos that have no captions. Those rows say available: false.

🚀 How to scrape YouTube videos, channels and search results

  1. 🔑 Create a free Apify account with your email.
  2. 📥 Open YouTube Scraper and go to the Input tab.
  3. 🔗 Add channel links, video links, playlists or hashtags to Start URLs, or type terms into Search terms.
  4. 🔧 Set Max videos per input, and add Shorts or live streams if you want them.
  5. 🚀 Click Start and wait for the run to finish.
  6. 📤 Open the Output tab, or download the data as JSON, CSV, Excel, XML or HTML.

Here is an input that collects the 10 newest videos of one channel and the top 10 results of a search:

{
"urls": ["https://www.youtube.com/@MrBeast"],
"searchQueries": ["web scraping tutorial"],
"maxResults": 10
}

💡 Tip: Start with a small Max videos per input value, check the output, then raise it for the full run.

🚀 Quick start: Run YouTube Scraper on Apify


💰 How much does it cost to scrape YouTube?

YouTube Scraper costs from $0.002 per video ($2.00 per 1,000 videos) on the Gold plan. You pay for each result row saved, so the bill follows the amount of data you collect. Apify platform usage is billed in addition.

PlanPrice per videoPrice per 1,000 videos
🆓 Free$0.003$3.00
🥉 Bronze$0.0027$2.70
🥈 Silver$0.0024$2.40
🥇 Gold$0.002$2.00

The only priced events are the Results event (video_result, one per saved row) and the Actor Start event. Every run has one start event of $0.00005 for the default 1 GB of memory. Rows that report an input that could not be read are saved without the Results event.

🧮 How much will scraping YouTube cost?

Videos multiplied by the price of your plan. The start event of $0.00005 is not included in these figures.

Plan100 videos1,000 videos10,000 videos
🆓 Free100 x $0.003 = $0.301,000 x $0.003 = $3.0010,000 x $0.003 = $30.00
🥉 Bronze100 x $0.0027 = $0.271,000 x $0.0027 = $2.7010,000 x $0.0027 = $27.00
🥈 Silver100 x $0.0024 = $0.241,000 x $0.0024 = $2.4010,000 x $0.0024 = $24.00
🥇 Gold100 x $0.002 = $0.201,000 x $0.002 = $2.0010,000 x $0.002 = $20.00

💳 Is scraping YouTube free?

You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.003 per video, $5 / $0.003 = about 1,666 videos before platform usage. Higher plans lower the price per video, so the same credit goes further.

See the Pricing tab for the current prices. You can also set a spend limit on a run, and the run then stops cleanly when it is reached.


🔧 Input

You only need one thing to start: at least one link in Start URLs or one term in Search terms. Everything else is optional and has a default. Set the input in the Input tab or send it as JSON through the API. Every limit applies to each input separately, so three channels with maxResults set to 100 return up to 300 videos. Set a limit to 0 to skip that kind of result, but at least one of the three limits must be 1 or more.

FieldTypeDefaultWhat it does
urlsarraynoneLinks to collect from, one per line: channels (@handle, /channel/, /c/, /user/), videos, Shorts, live streams, playlists, hashtags and YouTube search pages.
searchQueriesarraynoneWords or phrases to search on YouTube, one per line. Each term is collected on its own.
maxResultsinteger10Maximum videos for each start URL and each search term (0 or more). Use 0 to skip videos.
maxResultsShortsinteger0Maximum Shorts for each channel link and each search term.
maxResultStreamsinteger0Maximum live streams and past live broadcasts for each channel link and each search term.
sortVideosBystringNEWESTOrder for a channel's videos, Shorts and streams: NEWEST, POPULAR or OLDEST.
sortingOrderstringemptyHow search results are ordered: empty (default), relevance, rating, date or views.
dateFilterstringemptySearch filter for the upload period: hour, today, week, month or year. Empty means any time.
videoTypestringemptySearch filter for the content type: video or movie. Empty means any.
lengthFilterstringemptySearch filter for length: under4 (under 4 minutes), between420 (4 to 20 minutes) or plus20 (over 20 minutes).
isHDbooleanfalseSearch filter: only HD videos.
hasSubtitlesbooleanfalseSearch filter: only videos with subtitles or closed captions.
hasCCbooleanfalseSearch filter: only videos with a Creative Commons licence.
is3DbooleanfalseSearch filter: only 3D videos.
isLivebooleanfalseSearch filter: only streams that are live right now.
is4KbooleanfalseSearch filter: only 4K videos.
is360booleanfalseSearch filter: only 360-degree videos.
isHDRbooleanfalseSearch filter: only HDR videos.
hasLocationbooleanfalseSearch filter: only videos with a location tag. Works best for place searches.
isVR180booleanfalseSearch filter: only VR180 videos.
oldestPostDatestringnoneKeep only videos published on or after this date. Use 2025-01-31 or a relative value such as 30 days, 2 weeks, 3 months or 1 year.
minViewsinteger0Skip videos with fewer views than this. 0 means no minimum.
downloadSubtitlesbooleanfalseAdd the subtitles of every video to its row.
subtitlesLanguagestringenLanguage of the subtitles, for example en, es, de, zh-Hans or any for the first track found. The closest match is used when the language is missing.
subtitlesFormatstringsrtSubtitle format: srt, vtt, xml, plaintext or json3 (timed JSON).
preferAutoGeneratedSubtitlesbooleanfalseChoose the automatic captions over the uploader's own when both exist.
extractCommentsbooleanfalseAdd the top comments of every video to its row.
maxCommentsinteger10Maximum comments for each video (0 or more).
computeOutlierScorebooleantrueAdd an outlier score (views compared with the channel's recent videos) and the engagement rate.
extractChannelDetailsbooleantrueAdd the channel's subscribers, description, links, join date, location and public e-mail to every row.
monitorModebooleanfalseSkip videos that an earlier run with Monitor mode already returned.
maxConcurrencyinteger5How many start URLs or search terms are read at the same time (1 to 20).
maxRequestRetriesinteger3How often a failed request is tried again (1 to 10).
maxScannedinteger20000Safety cap on how many search or hashtag results are looked at while filtering (100 or more).
proxyConfigurationobject{"useApifyProxy": false}Optional network settings for the run. The default works for most runs.

📥 Minimal input

{
"urls": ["https://www.youtube.com/@MrBeast"]
}

🎯 Advanced input

Videos and Shorts from one channel plus a search, published in the last 90 days with at least 10,000 views, with top comments and English subtitles, and only new videos on repeat runs:

{
"urls": ["https://www.youtube.com/@mkbhd"],
"searchQueries": ["folding phone review"],
"maxResults": 25,
"maxResultsShorts": 10,
"sortVideosBy": "POPULAR",
"sortingOrder": "date",
"oldestPostDate": "90 days",
"minViews": 10000,
"extractComments": true,
"maxComments": 20,
"downloadSubtitles": true,
"subtitlesLanguage": "en",
"subtitlesFormat": "srt",
"monitorMode": true
}

❗ Note: The search filters (date, type, length and the feature switches) apply to search terms and search links only. Only videos published after and Minimum views apply to every input. See the Input tab for the full form.


📤 Output

Results are saved to the run's dataset. Open the Output tab for ready-made views (Overview, Video details, Insights, Channel, Comments, Subtitles, Source, Chapters, Description links, Collaborators, Channel links and Errors), or the Storage tab for the raw dataset. Download in JSON, CSV, Excel, XML or HTML, choose the fields you need, or read the rows through the API:

https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json

A run summary with counts, a sample of inputs that could not be read and the final status message is saved under the key RUN_SUMMARY in the run's key-value store.

🎬 Video rows

FieldTypeDescription
id, urlstringYouTube video ID and link.
typestringvideo, short or stream.
title, descriptionstringYouTube video title and full description.
duration, durationTextinteger, stringLength in seconds and as hh:mm:ss.
date, uploadDatestringYouTube video upload date and time in ISO 8601, and the upload date.
viewCount, likes, commentsCountintegerViews, likes and comments.
viewsPerDaynumberAverage views per day since publication.
engagementRatenumberYouTube video engagement rate: likes plus comments divided by views.
outlierScoreobjectratio, label and channelMedianViews: how far the video is above or below the channel's recent videos.
category, keywords, hashtagsstring, arrayCategory, uploader tags and hashtags.
chapters, descriptionLinks, collaboratorsarrayChapters with start times, links in the description and credited channels.
comments, subtitlesarray, objectTop comments and subtitles, when switched on.
isLiveContent, isUpcoming, streamTypeboolean, stringLive status: live, upcoming or ended.
isAgeRestricted, isMembersOnly, isPaidContent, isUnlistedbooleanVideo flags.
channelName, channelId, channelUrl, channelUsernamestringThe YouTube channel ID, name, link and @handle of the channel that published the video.
numberOfSubscribers, channelTotalVideos, channelTotalViewsintegerChannel size, when Channel details is on.
channelEmails, channelDescriptionLinksarrayPublic e-mail addresses and links listed by the channel.
input, order, fromChannelListPagestring, integerThe input that produced the row, its position and the channel list it came from.

💬 YouTube video comments and subtitles

Comments are saved inside the comments array of each video row.

FieldTypeDescription
commentIdstringComment id.
textstringComment text.
authorNamestringWho wrote it.
authorIsChannelOwner, authorIsVerifiedbooleanCreator and verified flags.
likesCountText, replyCountstring, integerLikes as shown by YouTube and the number of replies.
publishedTimeTextstringWhen the comment was posted, as shown by YouTube.

Use Download subtitles to download YouTube subtitles in your language and format. The subtitles object has available, language, kind, format, content and availableLanguages. When no captions exist, it has available: false and a reason.

🚫 Error rows

An input that could not be read returns one extra row with error and note and is not charged as a result.

FieldTypeDescription
errorstringError code, for example CHANNEL_DOES_NOT_EXIST or VIDEO_UNAVAILABLE.
notestringPlain explanation of the error.

📝 JSON example

One video from a channel input (shortened):

{
"id": "7soMd19QQo0",
"url": "https://www.youtube.com/watch?v=7soMd19QQo0",
"type": "video",
"title": "48 Hours at the Folding iPhone Event with MKBHD",
"duration": 955,
"durationText": "00:15:55",
"channelName": "The Studio",
"channelId": "UCG7J20LhUeLl6y_Emi7OJrA",
"channelUsername": "TheStudio",
"date": "2026-09-13T07:01:49-07:00",
"viewCount": 1058217,
"likes": 23818,
"commentsCount": 724,
"category": "Science & Technology",
"keywords": ["MKBHD", "The Studio"],
"engagementRate": 2.3192,
"viewsPerDay": 15532.6,
"isChannelVerified": true,
"numberOfSubscribers": 1170000,
"channelTotalVideos": 222,
"channelLocation": "United States",
"channelJoinedDate": "Apr 23, 2021",
"order": 1,
"input": "https://www.youtube.com/@mkbhd"
}

💡 Tips and advanced usage

🔎 How many videos can you scrape with YouTube Scraper?

You can collect videos up to the limits you set. Search and hashtag pages show a limited number of results per term, so a run can end short of the maximum. The status message at the end of the run says how many were collected. A quick test run is the best way to size a bigger job.

📦 How to export YouTube videos to CSV

Open the Output tab and download the table as CSV or Excel. Run a channel link or a search term, then pick the format you need. Use the Comments view for a sheet of top comments, or send the rows to Google Sheets with an integration.

🎯 What can you do with YouTube data?

Look at titles, descriptions and tags to see how top creators package a topic. Compare videos, Shorts and live streams side by side, and use the engagement rate and upload date to spot what your audience reacts to.

Rank creators in a niche by subscribers and channel size. Use the contact e-mail in channelEmails when a creator lists one. Switch on Collect comments to read what viewers say, and Download subtitles to get the text of a video in your language and format.

Paste hundreds of links and search terms into one run for a large job.

🎬 How to scrape YouTube Shorts and live streams

Set Max Shorts per input or Max live streams per input to 1 or more for a channel link or a search term. Set Max videos per input to 0 if you only want Shorts or streams. Each row has a type of short or stream.

📧 How to get YouTube channel subscribers and email addresses

Keep Channel details on to add subscribers, total views, join date and any public e-mail address to every row. This covers the channel behind each video, so a search term also gives you creator contacts. The Channel view shows the YouTube channel stats in one table.

⚡ How to get faster or cheaper results

  • ⚡ Turn off Channel details and Outlier score and engagement when you only need the basics.
  • 💬 Leave comments and subtitles off unless you need them. Each one adds work for every video.
  • 🎯 Use Only videos published after, Minimum views or Monitor mode so you only collect what is new.
  • 🔢 Keep the Shorts and live stream limits at 0 when you only want videos.

❗ Known issues

  • ❗ Creators can hide likes, and view counts of very new videos keep changing after the run.
  • ❗ Subtitles exist only for videos that have captions.
  • ❗ The Has location filter returns results only for place searches.

🆘 Troubleshooting

If a run returns fewer results than expected, check that the limit for that kind of result is above 0, that your filters are not cutting results and that Monitor mode is not skipping videos you already collected. The Errors view lists inputs that could not be read. For anything else, open an issue from the Issues tab.


🔌 Integrations and API

🔌 Can I use YouTube Scraper as an API?

Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.

ActionMethod and URL
Start a runPOST https://api.apify.com/v2/actors/data_minds~youtube-scraper/runs
Run and get the results in one callPOST https://api.apify.com/v2/actors/data_minds~youtube-scraper/run-sync-get-dataset-items
Read results of a runGET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
OpenAPI definitionGET https://api.apify.com/v2/actors/data_minds~youtube-scraper/builds/default/openapi.json

The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs.

curl

curl -X POST "https://api.apify.com/v2/actors/data_minds~youtube-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://www.youtube.com/@MrBeast"], "maxResults": 10}'

📝 How to scrape YouTube with Python

Install the apify-client package and call the Actor.

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("data_minds/youtube-scraper").call(run_input={
"searchQueries": ["web scraping tutorial"],
"maxResults": 10,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["title"], item["viewCount"])

📝 How to scrape YouTube with JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('data_minds/youtube-scraper').call({
urls: ['https://www.youtube.com/@MrBeast'],
maxResults: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

🔧 How to run YouTube Scraper from the command line

$echo '{"urls": ["https://www.youtube.com/@MrBeast"], "maxResults": 10}' | apify call data_minds/youtube-scraper --silent --output-dataset

🧩 Can I integrate YouTube Scraper with other apps?

Yes. Connect YouTube Scraper to almost any cloud service through Apify integrations: Make, Zapier, n8n, Slack, Google Sheets, Google Drive, Airbyte, GitHub and LangChain. Typical setups send YouTube data to Google Sheets, trigger an n8n or Zapier workflow, or feed an LLM prompt. Use webhooks to start a workflow when a run finishes, and schedules to run it every day or hour.

🤖 Can I use YouTube Scraper with AI agents (MCP server)?

Yes. AI agents can call it directly through the hosted Apify MCP server, and Claude can use YouTube Scraper this way too. The Server tab of this Actor shows the same connection settings.

{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com?tools=data_minds/youtube-scraper"
}
}
}

The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.


🔗 Other YouTube scrapers

ScraperWhat it does
🔗 Best YouTube Transcripts ScraperTranscripts of any YouTube video, Short, playlist or channel: timestamped captions, SRT and WebVTT, chapters and language choice.
🔗 Fast YouTube Channel ScraperYouTube channels: videos, Shorts and live streams with views, likes, comments, tags, category, subscribers, banner, country and sponsor signals.
🔗 YouTube Channel Email ScraperThe contact email of any YouTube channel, plus links, subscribers and activity.
🔗 YouTube Comments ScraperComments and replies from any YouTube video: author, text, likes, replies, creator heart, pinned status and publish date.
🔗 YouTube Transcript ScraperTranscripts of any YouTube video, Short, playlist, channel or search: timestamped captions, SRT and WebVTT, chapters and language choice.

❓ FAQ

Scraping publicly available data is generally legal, but rules differ by country and by use. Collect only public data, handle personal data in line with laws such as GDPR, have a legitimate reason for using it, and respect YouTube's Terms of Service. If you are unsure, ask a legal professional before you start.

🔧 How does YouTube Scraper work?

You enter channel links, video links, playlists, hashtags or search terms, choose how many videos, Shorts and streams you want, and start the run. YouTube Scraper saves the public details of each video to a dataset, one row per video. You download the rows in several formats or read them through the API.

🔎 How is YouTube Scraper different from the official YouTube Data API?

The official YouTube Data API is Google's interface for apps that connect through a Google project and API key. YouTube Scraper has no key field: you give it public links or search terms and it returns rows with video, channel and optional comment and subtitle data. Use the official API when you need to manage your own channel.

🔌 Can I use YouTube Scraper as an API?

Yes. Every run can be started and read through the Apify API, so you can call YouTube Scraper from your own code. Use the one-call endpoint for short jobs or the start-a-run endpoint for long ones, then read the dataset items. The Integrations and API section above has curl, Python and JavaScript examples.

🤖 Can I use YouTube Scraper with AI agents?

Yes. AI agents and assistants can call YouTube Scraper directly through the hosted Apify MCP server, using the configuration shown in the Integrations and API section. The agent sends an input like the examples above and receives the results as data, so you can ask for videos, channels or comments in plain language.

🧩 Can I connect YouTube Scraper to other tools?

Yes. Send results to Google Sheets, Make, Zapier, n8n, Slack or your own app through Apify integrations and webhooks. A common setup is a daily schedule with Monitor mode switched on, so each run adds only new videos to a sheet, and a webhook tells your workflow when the run has finished.

📉 Why am I getting fewer results than my limit?

The limit is a maximum, not a promise. A channel may have fewer public videos, search and hashtag pages show a limited number of results, and your date or view filters may remove videos. Monitor mode also skips videos an earlier run already returned. Check the Errors view and widen the filters.

📊 Why do the numbers differ from what YouTube shows?

Each row is a snapshot taken at the time of the run, so it shows the numbers as they were then. Views, likes and comments keep changing and creators can hide like counts. The numbers you see on YouTube later can therefore differ slightly from the saved row.

🆘 YouTube Scraper is not working, what should I do?

First open the Errors view, which shows the error code and a plain explanation for every input that could not be read. Then confirm the link is public and spelled correctly, and try a small test run. If the problem remains, open an issue on the Issues tab with the run link.


💬 Support and feedback

Found a bug or have a feature request? Please open an issue on the Issues tab.

Need a custom solution or more data? Email hello.dataminds@gmail.com.

Built and maintained by data_minds. YouTube Scraper is an independent tool and is not affiliated with, endorsed by or sponsored by YouTube or Google. Use it in line with YouTube's terms and applicable law.