YouTube Scraper
Pricing
from $1.19 / 1,000 videos
YouTube Scraper
Rising starYouTube scraper, YouTube channel scraper and YouTube transcript scraper: $1.49 per 1,000 videos on Starter, transcripts included. YouTube data with no YouTube API key: videos, Shorts and live streams from channels, search and playlists with views, likes, comments, tags, channel stats and subtitles.
Pricing
from $1.19 / 1,000 videos
Rating
0.0
(0)
Developer
DeepMine
Maintained by CommunityActor stats
0
Bookmarked
60
Total users
29
Monthly active users
21 hours ago
Last modified
Categories
Features
Share
YouTube Scraper: Videos, Channels & Subtitles
YouTube video scraper and YouTube data API without an API key: scrape YouTube videos from channels, search results, playlists and single links, Shorts and live streams included. Type a channel, a search term or a link and get one row per video with exact likes, exact publish time, duration, description, tags and the channel's About info. Subtitles (captions) are included at no extra cost when you turn them on. Proof, from the prefilled run on 2026-10-25 (1,024 MB, subtitles off): 25 videos in 5.1-11.5 s from start to finish in three runs (first row 2.4-3.6 s), about $0.04 on the Starter plan ($1.49 per 1,000 videos).
| Type | Title | Channel | Views | Likes | Published (UTC) | Length |
|---|---|---|---|---|---|---|
| video | Why We Should Design Cities Like Disney | Zach DeBoer | TED | TED | 34,097 | 168 | 2026-10-25 15:00:34 | 00:16:27 |
| video | How to Stop Homelessness Before It Starts | Jen Loving | TED | TED | 73,526 | 460 | 2026-10-23 15:00:35 | 00:09:05 |
| shorts | Running a marathon? Hereβs what your brain has to look forward to. #TEDTalks | TED | 9,788 | 209 | 2026-10-24 20:00:34 | 00:00:54 |
$1.99 per 1,000 videos on Free, $1.49 on Starter, $1.29 on Scale and $1.19 on Business. The prefilled run (25 videos: @TED 20 videos + 5 Shorts) costs about $0.04 on Starter. Nothing per run, nothing for videos your filters leave out, and subtitles are included at no extra cost when you turn them on.
Only need transcripts? YouTube Transcript API returns the text alone for $0.39 per 1,000 videos on Starter (timed segments, SRT, translations), and videos without captions are free.
Also in the rows, when YouTube publishes them: the video's description and its links, hashtags, tags, category, exact comments count, spoken language, and the channel's subscribers, description, links, country, join date, total videos and total views. In the 2026-10-25 run (25 rows) these were filled: description 24, description links 20, hashtags 20, tags 25, spoken language 25, channel country 25; a field YouTube doesn't publish for a video is null. No login, no YouTube API key, no browser.
Scrape YouTube channels, search results, playlists and videos
| Input | Example | What you get |
|---|---|---|
| A channel | https://www.youtube.com/@TED or @TED | Its newest videos, Shorts and live streams (set how many of each) |
| One channel tab | https://www.youtube.com/@TED/shorts | Only that tab (Videos, Shorts or Live) |
| Search terms | web scraping | Videos, Shorts and/or live streams YouTube's search returns, with its filters (sort, upload date, length, HD, 4K, subtitles...) |
| A search link | https://www.youtube.com/results?search_query=web+scraping | The same as typing the words |
| A playlist | https://www.youtube.com/playlist?list=PL... | Every video in playlist order; order is its position in the playlist (from 0), deleted and private entries counted as YouTube counts them |
| Videos and Shorts | https://www.youtube.com/watch?v=..., https://youtu.be/..., https://www.youtube.com/shorts/... | Full details of each |
Ready-made examples
- Scrape a YouTube channel's videos, views and likes (@MrBeast)
- Scrape YouTube search results: the most viewed "AI agents" videos this month
- Get the transcripts of a channel's latest videos (Y Combinator), with our YouTube Transcript API
Open one and press Try for free: it copies the input to your account, where you change the channel or the words.
Download YouTube subtitles with the videos
Turn on Download subtitles and each video row carries its captions as SRT, WebVTT, XML or plain text, in the language you pick, at the same price as a row without them. Details are under Input; subtitlesStatus says why a row has none. Only need the transcripts? YouTube Transcript API (timed segments, translations) and YouTube to Text (clean text) are built for it, and YouTube Subtitles Downloader saves SRT and VTT files.
Pick the right YouTube Actor for the job
| You want | Use |
|---|---|
| Videos, Shorts, search results, playlists and channel info in one input | This Actor |
| Only the Shorts of channels or a keyword search | YouTube Shorts Scraper |
| Every video of a channel with its stats | YouTube Channel Scraper |
| Find channels and creators by keyword first | YouTube Channel Search Scraper |
| Search results with videos, channels, playlists or movies | YouTube Search Scraper |
| Every video of a playlist, in order | YouTube Playlist Scraper |
| Full metadata of video links you already have | YouTube Video Details Scraper |
| Transcripts and translations | YouTube Transcript API (also Captions API and YouTube to Text) |
| Comments and replies | YouTube Comments Scraper |
A workflow that chains: find channels with YouTube Channel Search Scraper, paste their links here for the videos, then send the url of the videos you care about to YouTube Comments Scraper and YouTube Transcript API. Each of those takes the video link as it is.
YouTube scraper API and AI agents
Connect the Apify MCP server at https://mcp.apify.com?tools=deepmine/youtube-scraper (Claude, VS Code or any MCP client), or call the Actor through the Apify API. Give at least one of these:
| Key | For | Example |
|---|---|---|
startUrls | Channels, @handles, channel tabs, playlists, search links, videos and Shorts | [{"url": "https://www.youtube.com/@TED"}] |
searchQueries | YouTube search, one term per item | ["web scraping"] |
channels | Shorts only, by channel name | ["MrBeast"] |
How many: maxResults (videos), maxResultsShorts and maxResultStreams, each per channel or search term; leave all three out for 50 videos. An input with none of the three keys above fails at once with a message saying so, and costs nothing. Subtitles: "subtitlesMode": "ALWAYS_SUBTITLES" with subtitlesLanguage and subtitlesFormat.
How fast is it?
Measured on the Apify platform on 2026-10-07 at 1,024 MB, same inputs as the most used YouTube scraper on the Store (it took 10.8 s to its first row and 18.9 s in total for the first input, 18.1 s and 35.3 s for the second):
| Input | First row | Whole run |
|---|---|---|
| @TED: 8 videos + 2 Shorts | 4.0-5.7 s | 5.3-8.1 s |
| Search "Crawlee": 10 videos | 4.3-6.8 s | 5.5-8.0 s |
| @TED: 300 videos | 5.3 s | 39 s |
| @TED: 60 videos with subtitles (SRT) | 4.3-6.7 s | 13-32 s |
| @mkbhd: 60 videos with subtitles (WebVTT, video's own language) | 6.7-7.8 s | 36-38 s |
| Search "recetas de cocina": 40 videos with Spanish subtitles (XML) | 5.5-6.7 s | 13-35 s |
| Search "python tutorial": 60 videos with subtitles, many of them 5-16 hours long | 6.8-18 s | 31-42 s |
Times are from pressing Start to the first row in the dataset, and to the end of the run. Subtitle runs vary most: every video needs one call that only some proxy IPs get through (a run finds 2-5 of them), so the same input took 12 s one time and 30 s another.
How much does it cost?
You pay per video saved, nothing per run. Each video is charged once per run, even if two of your inputs list it.
| Apify plan | Price per 1,000 videos |
|---|---|
| Free | $1.99 |
| Starter | $1.49 |
| Scale | $1.29 |
| Business | $1.19 |
Videos that the "Published after" filter leaves out are not charged.
Subtitles are included at no extra cost: a video saved with its subtitles costs the same as one without, on every plan.
Input
A channel (what the form starts with):
{"startUrls": [{"url": "https://www.youtube.com/@TED"}],"maxResults": 20,"maxResultsShorts": 5}
A search (clear the link in the form and type your words instead):
{"searchQueries": ["web scraping"],"maxResults": 20,"maxResultsShorts": 5}
Both can go in one input: each channel and each search term then gets its own maximums.
- YouTube links: channels, @handles, channel tabs, playlists, search links, videos and Shorts.
- Search terms: one per line.
- Max videos / Shorts / live streams: per channel or search term. 0 = none of that kind. If you leave all three out, you get 50 videos; if you set only Shorts or live streams (an API call with just
maxResultsShorts), you get only those, and no regular videos are charged. - Published after: a date (2026-09-01) or a period (30 days). A channel tab sorted newest first stops at the first older video.
- Channel: sort videos by: Newest first (default), Most popular first or Oldest first, as the buttons above a channel's video list. One extra call per channel tab. With "Published after" on, a Popular or Oldest tab is read until 150 videos in a row are older than your date.
- Channel info only: set all three maximums to 0 and each channel link gives one row (
typechannel) with the channel's subscribers, total views and videos, description, links, country and joined date, charged as one result. - Subtitles (opt-in, no extra cost): off by default (
subtitlesModeNONE; every row then sayssubtitlesStatusoff). Choose "Download subtitles", then pick the language (a code such asen,es,pt-BR, oranyfor the video's own language) and the format (SRT, WebVTT, XML as YouTube writes it, or plain text without times). A person-made track is taken before an automatic one. Videos in other languages than the one you pick are saved without subtitles. - Search filters: sort by (relevance, upload date, views, rating), upload date (hour, today, week, month, year), length, and features (Live, 4K, HD, Subtitles/CC, Creative Commons, 360Β°, VR180, 3D, HDR, Location, Purchased).
Inputs written for streamers/youtube-scraper work as they are, every key of theirs is accepted: startUrls, searchQueries, maxResults, maxResultsShorts, maxResultStreams, sortVideosBy, sortingOrder, dateFilter, videoType, lengthFilter, the checkboxes isHD, is4K... oldestPostDate, and for subtitles transcriptionAndSubtitle (the form's own choice is subtitlesMode, which lists only the two that work), subtitlesLanguage, subtitlesFormat, preferAutoGeneratedSubtitles, saveSubsToKVS. Speech-to-text transcription and AI video descriptions or summaries are not offered: TRANSCRIPTION_AS_FALLBACK saves the videos' own subtitles only, ALWAYS_TRANSCRIBE saves no subtitles (subtitlesStatus notOffered), aiVideoDescription and aiVideoSummary are ignored, and the run's status message says so.
Output
One row per video (shortened):
{"title": "Crawlee, the web scraping and browser automation library","type": "video","id": "g1Ll9OlFwEQ","url": "https://www.youtube.com/watch?v=g1Ll9OlFwEQ","thumbnailUrl": "https://i.ytimg.com/vi/g1Ll9OlFwEQ/maxresdefault.jpg","viewCount": 13385,"likes": 167,"commentsCount": 15,"date": "2022-08-22T15:26:13Z","duration": "00:03:14","durationSeconds": 194,"text": "Crawlee helps you build reliable scrapers. Fast. ...","descriptionLinks": [{"url": "https://crawlee.dev/", "text": "https://crawlee.dev/"}],"hashtags": ["#webscraping", "#crawlee"],"keywords": ["web scraping platform", "web automation", "scrapers", "Apify"],"category": "Science & Technology","isAgeRestricted": false,"isMembersOnly": false,"commentsTurnedOff": false,"channelName": "Apify","channelUrl": "https://www.youtube.com/channel/UCTgwcoeGGKmZ3zzCXN2qo_A","channelUsername": "Apify","numberOfSubscribers": 31300,"channelLocation": "Czechia","channelJoinedDate": "Jan 4, 2017","channelTotalVideos": 293,"channelTotalViews": 2325654,"channelDescriptionLinks": [{"text": "Browse tools", "url": "https://apify.com/store"}],"input": "Crawlee","searchQuery": "Crawlee","order": 0}
Every row has subtitles and subtitlesStatus (null and off while subtitles are off). With subtitles on:
"subtitles": [{"type": "user_generated", "language": "en", "srt": "1\n00:00:00,000 --> 00:00:04,240\nWhat worries me is that we are more and\n\n2\n...", "srtUrl": null}],"subtitlesStatus": "ok"
type is user_generated (a person made the track) or auto_generated; the text sits under the format's name (srt, vtt, xml or plaintext). subtitlesStatus says why a row has none: off (you didn't turn subtitles on), noCaptions (the video has no subtitles), noMatchingLanguage (none in your language), emptyCaptions, captionFileFailed, tooLarge (over 8 MB of text), timeout or blocked (YouTube refused every connection this run could use), or what YouTube says about the video (private, ageRestricted, liveNotReady...).
Also in every row: originalLanguage and originalLanguageCode (the language spoken in the video, e.g. English / en), audioTracks (dubbed videos: each audio track's language, and whether it's the original or YouTube's automatic dub), isPaidContent ("Includes paid promotion"), isMonetized (YouTube serves ads on it to a logged-out viewer; null on Shorts), dateText, location, isUnlisted, isLiveNow, liveStartedAt, liveEndedAt, isChannelVerified, channelAvatarUrl, channelBannerUrl (channel inputs), channelDescription, channelCreatedAt (the channel's creation time to the second, when the run reads its feed for publish times; channelJoinedDate always has the day), collaborators (videos made by several channels), soundTitle, musicTitle and musicArtist (Shorts: the sound, e.g. "Original Sound", and the song YouTube identified in it), captionTracks (each caption track's language, name, whether it's automatic, and its link), videoPreviews (YouTube's storyboard preview images per size), isEmbeddable, inputChannelUrl, fromYTUrl, fromChannelListPage and scrapedAt. For rows to line up with streamers/youtube-scraper output, every row also has aboutChannelInfo (the channel fields above again, in one object) and the keys translatedTitle, translatedText, transcriptionUrl, aiVideoDescription and aiVideoSummary, which are always null here (no translation, AI text or speech-to-text); subtitles is null unless you turn subtitles on (subtitlesStatus is off), and srtUrl is always null (the text is in the row).
The dataset has five views: Videos, Stats (views, likes, comments, length and the channel's counts, as numbers), Video details, Channels (one row per video) and Subtitles (opt-in: filled when you turn subtitles on). Download as JSON, CSV, Excel or HTML, or read it through the Apify API.
Good to know
- Likes and comment counts are exact (1,414, not "1.4K"; 10,641,961 comments on "Me at the zoo", not "10M"). Subscribers are as YouTube shows them (27.9M).
- The publish time is exact (to the second, UTC). It comes from a proxy IP that passes YouTube's bot check, from the channel's feed, or, for the few rows neither covers in time, from one small call through residential proxy (at our cost, not yours). 300 of 300 rows had it in four test runs (two channels of 60 videos, TED 100 videos + 20 Shorts, a search of 60).
- Subtitles reach almost every video that has them. In nine test runs at 1,024 MB, 466 of the 468 videos with subtitles in the chosen language had them in their row; the other two timed out. Of the videos without, 5 had no subtitles at all and 22 had other languages only.
- The run log's
OUTPUTrecord lists every input with how many videos it found and why one failed, if one did.
Use it from your stack
Every run is also an API call. Take your API token from the Apify Console (Settings β API & Integrations) and keep it in an environment variable such as APIFY_TOKEN.
One HTTP call, any language: start a run and get its videos back as CSV in the same request. The call waits up to 5 minutes; for bigger runs, start the run with /runs and read its dataset when it finishes.
curl -X POST "https://api.apify.com/v2/acts/deepmine~youtube-scraper/run-sync-get-dataset-items?format=csv&fields=title,type,url,viewCount,likes,commentsCount,date,duration,channelName" \-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \-d '{"startUrls": [{"url": "https://www.youtube.com/@TED"}], "maxResults": 20}' \-o videos.csv
format also takes xlsx, json, jsonl, xml or html; fields picks the columns (leave it out to get all columns).
Python, with the official Apify client (pip install apify-client):
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("deepmine/youtube-scraper").call(run_input={"startUrls": [{"url": "https://www.youtube.com/@TED"}], "maxResults": 20})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item.get("title"), item.get("viewCount"), item.get("url"))
JavaScript, with the official Apify client (npm install apify-client):
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor("deepmine/youtube-scraper").call({"startUrls": [{"url": "https://www.youtube.com/@TED"}], "maxResults": 20});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) console.log(item.title, item.viewCount, item.url);
| To | How |
|---|---|
| Run it on a schedule | Save your input as a task, then add a schedule (for example every Monday at 7:00). Each scheduled run is billed like any other run. |
| Hear when a run ends | A webhook calls your URL when a run succeeds or fails, with the run's dataset id. |
| Zapier | The Apify app for Zapier starts a run or picks up its rows in a Zap. |
| Make | The Apify app for Make does the same in a Make scenario. |
| n8n | The Apify node for n8n runs the Actor and reads its rows in a workflow. |
| AI agents | The Apify MCP server gives Claude, Cursor or VS Code this Actor as a tool. |
The API tab shows the same calls for the other clients.
Did it help?
A short review on the Actor's page helps other people find it and tells us what to improve: https://apify.com/deepmine/youtube-scraper/reviews. Something missing or wrong? Write to us through the Actor's Issues tab.
Frequently Asked Questions
Do I need a YouTube API key or Google login?
No. YouTube Scraper reads public YouTube channels, search results, playlists, Shorts, and live streams without a YouTube Data API key, quota limits, or Google account cookies.
Does YouTube Scraper include video transcripts and subtitles?
Yes. Subtitles and transcripts are included in the per-video price and can be exported as SRT, WebVTT, XML, or plain text in your chosen language, including auto-generated captions.
How much does it cost to scrape YouTube videos?
Pricing is pay-per-video with no start fee: $1.99 per 1,000 videos on Free, $1.49 on Starter, $1.29 on Scale, and $1.19 on Business. Subtitles and channel metadata are included.
What data fields are returned for each video and channel?
Each row includes exact views, exact likes, comment count, UTC publish timestamp, duration, description, tags, hashtags, subtitle text, and channel stats such as subscribers, country, and join date.
Can I use it as a YouTube data API?
Yes: call the Actor through the Apify API with startUrls or searchQueries and read the rows as JSON, CSV or Excel. No Google Cloud project and no YouTube API key.
Can I scrape a whole channel?
Yes: set Max videos to the number you want (up to 10,000 per channel tab).
Can I sort a channel by most popular?
Yes: "Channel: sort videos by" = Most popular first (or Oldest first).
Are long videos a problem for subtitles?
No: a 16-hour stream's subtitles take a minute or two, and the row waits for them. A row waits up to 20 seconds plus one second per ten minutes of video (at most two minutes); after that it is saved without subtitles.
Does it get YouTube comments?
Use our YouTube Comments Scraper for comments and replies. For transcripts in many languages and translations, use our YouTube Transcript API.