YouTube Scraper: Videos, Shorts, Channels & Search
Pricing
from $1.90 / 1,000 videos
YouTube Scraper: Videos, Shorts, Channels & Search
Scrape YouTube videos, Shorts, channels, playlists and search results. Get views, exact likes, comment counts, upload dates, hashtags and subscriber stats. A YouTube Data API alternative: no API key, no quota, no login.
Pricing
from $1.90 / 1,000 videos
Rating
0.0
(0)
Developer
API Creators
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
13 days ago
Last modified
Categories
Features
Share
YouTube Scraper extracts public data from YouTube videos, Shorts and live streams. Start from search terms, channel URLs, playlists or individual video links, and get views, likes, comment counts, upload dates, durations, descriptions, hashtags and full channel statistics in one dataset.
You don't need a YouTube account, Google API key or quota. It's a fast YouTube Data API alternative that you can run on demand, on a schedule, or through the API. You can export the results to JSON, CSV, Excel, HTML or XML.
What does YouTube Scraper do?
- 🔎 Scrape YouTube search results for any keyword, with every YouTube search filter: upload date, duration, type, sort order, and HD, 4K, live, subtitles, Creative Commons, 360°, VR180, HDR, location, 3D and purchased.
- 📺 Scrape YouTube channels from
@handle,/channel/,/c/or/user/URLs, including the Videos, Shorts and Live tabs. You can sort by Newest, Popular or Oldest, and filter by date (for example "videos from the last 7 days"). - 🎞️ Scrape YouTube Shorts and live streams, with separate limits for regular videos, Shorts and streams.
- 📃 Scrape YouTube playlists in full, however long they are.
- ▶️ Scrape individual videos from
watch?v=,youtu.be/,/shorts/or/live/links. - 🔗 Paste YouTube search URLs directly. Their filters are kept.
- 💬 Add comments to each video (optional): top or newest comments, with replies if you want them.
What YouTube data can you extract?
| Video data | Channel data | Extra fields |
|---|---|---|
| Title, URL, video ID | Channel name, URL, ID, @handle | Hashtags and keywords |
| View count | Subscriber count | Description text |
| Exact like count | Total videos | Links in the description (real targets) |
| Comment count | Total channel views | Category |
| Upload date (ISO) | Channel description and links | Location |
| Duration | Country | Collaborators |
| Type (video / Short / stream) | Join date | Members-only and paid-content flags |
| Thumbnail URL | Verified badge, avatar, banner | Monetization and comments-off flags |
With Comments per video set above 0, each video also gets a comments array: comment text, author, likes, reply count, publish time, and pinned and creator-heart flags. Replies are included if you turn them on. For comment-only jobs, use YouTube Comments Scraper.
Each result also records which search term or URL it came from (input, fromYTUrl) and its position on that page (order).
How to scrape YouTube videos, channels and search results
- Click Try for free and open the input form.
- Enter search terms or paste YouTube URLs (videos, channels, playlists or search pages).
- Set how many videos, Shorts and streams you want for each search term or channel.
- Optionally add search filters, a channel date range or a channel sort order.
- Click Start, then download your data in your preferred format or connect it to your tools.
How to scrape a YouTube channel
Paste a channel URL such as https://www.youtube.com/@veritasium into YouTube URLs. Max videos, Max Shorts and Max streams control how many items come from the channel's Videos, Shorts and Live tabs. Set Channel sort to Newest, Popular or Oldest, or use Only videos published on or after to get just the recent uploads. Every video includes the channel's subscribers, total videos, total views, country and join date, so this works as a YouTube channel scraper too.
Input example
{"searchQueries": ["home workout", "budget travel tips"],"maxResults": 50,"maxResultsShorts": 10,"startUrls": [{ "url": "https://www.youtube.com/@veritasium/videos" },{ "url": "https://www.youtube.com/playlist?list=PL6i60qoDQhQGaGbbg-4aSwXJvxOqO6o5e" }],"dateFilter": "month","sortingOrder": "views"}
Output example
A real result for the search term "home workout":
{"title": "20 min Fat Burning Workout for TOTAL BEGINNERS (Achievable, No Equipment)","id": "IT94xC35u6k","url": "https://www.youtube.com/watch?v=IT94xC35u6k","viewCount": 41492989,"likes": 715599,"commentsCount": 20000,"date": "2022-02-07T18:25:28.000Z","duration": "00:22:17","type": "video","hashtags": ["#BeginnerWorkout", "#HomeWorkout", "#Fitness"],"category": "People & Blogs","channelName": "MadFit","channelUsername": "MadFit","channelUrl": "https://www.youtube.com/channel/UCpQ34afVgk8cRQBjSJ1xuJQ","numberOfSubscribers": 11800000,"channelTotalVideos": 1449,"channelTotalViews": 1722670149,"channelLocation": "Canada","channelJoinedDate": "Mar 1, 2018","isChannelVerified": true,"input": "home workout","order": 13}
If an input can't be scraped, you get an error item instead of a silent gap. For example: { "input": "...", "error": "CHANNEL_DOES_NOT_EXIST", "note": "..." }. The error codes are INVALID_INPUT, CHANNEL_DOES_NOT_EXIST, CHANNEL_HAS_NO_VIDEOS, CHANNEL_HAS_NO_SHORTS, CHANNEL_HAS_NO_LIVE_VIDEOS, DATE_FILTER_TOO_STRICT, VIDEO_UNAVAILABLE, NOT_FOUND, NO_VIDEOS, NO_RESULTS, AGE_RESTRICTED and BLOCKED. Error items are never charged.
How much does it cost to scrape YouTube?
You pay per video saved. Proxies and platform usage are included in the price.
| Apify plan | Full details (per 1,000 videos) | Fast mode (per 1,000 videos) |
|---|---|---|
| Free | $3.00 | $1.50 |
| Starter (Bronze) | $2.50 | $1.20 |
| Scale (Silver) | $2.10 | $1.00 |
| Business (Gold) | $1.90 | $0.90 |
| Platinum | $1.90 | $0.90 |
| Diamond | $1.90 | $0.90 |
Comments (optional) cost $1.50 per 1,000 on Free, $1.20 on Starter, $1.00 on Scale, and $0.70 on Business, Platinum and Diamond.
On the Free plan, Apify's monthly free credits cover about 1,600 videos with full details, or 3,300 in fast mode. The date filter and sorting cost nothing extra. Set a maximum cost per run and the scraper stops cleanly when it's reached.
What is fast mode?
Fast mode makes one request per video instead of two (when comments are off), so it's quicker and half the price. You still get the title, views, exact likes, upload date, duration, description, keywords, category and all channel data. You don't get commentsCount, collaborators, location, the members-only and monetization flags, or the real targets of links in the description.
Why use this YouTube scraper?
- Fast: it doesn't run a browser. It requests YouTube's own lightweight data, so a typical run handles about 100 videos per minute.
- Complete: channel statistics come with every video, fetched once per channel.
- Reliable: blocked requests are retried automatically through rotating residential IPs, and failures are reported as error items rather than missing rows.
- No YouTube API quota: the official YouTube Data API limits you to about 10,000 units a day. This scraper has no daily cap.
Use cases for YouTube data
- Market and trend research: find what's popular in a niche by views, likes and upload date.
- Competitor and channel monitoring: track a channel's new uploads, view growth and engagement on a schedule.
- Influencer discovery: build lists of creators with subscriber counts, countries and contact links from channel descriptions.
- Content strategy and SEO: analyze titles, hashtags, keywords and durations of top-ranking videos for a search term.
- AI and data science: feed structured YouTube metadata into dashboards, LLM pipelines or machine-learning datasets.
YouTube Scraper API: Python and JavaScript examples
You can call YouTube Scraper from your own code with the Apify API or the official clients.
Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("api_creators/youtube-scraper").call(run_input={"searchQueries": ["home workout"],"maxResults": 100,})for video in client.dataset(run["defaultDatasetId"]).iterate_items():print(video["title"], video["viewCount"])
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('api_creators/youtube-scraper').call({startUrls: [{ url: 'https://www.youtube.com/@veritasium' }],maxResults: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();
You can also connect results to Google Sheets, Make, Zapier, n8n, Slack, Airbyte and other tools through Apify integrations, or use the scraper from AI agents through the Apify MCP server.
FAQ
Do I need a YouTube API key or a Google account?
No. YouTube Scraper reads the same public data any logged-out visitor sees. There's no API key, OAuth or quota to manage.
Is this an alternative to the YouTube Data API?
Yes, for public data. The official API needs a Google Cloud project and an API key, and its default quota is 10,000 units a day. This scraper needs neither, and you pay per video instead. It can't access private data such as your own channel's analytics.
Do I need proxies to scrape YouTube?
No. A residential proxy is built in and included in the price. If you prefer, you can set your own proxy in the Performance section.
Can I scrape YouTube Shorts?
Yes. Set Max Shorts per search term / channel for search terms, or use a channel's /shorts URL. Single /shorts/ links work too.
How do I get only recent videos from a channel?
Use Only videos published on or after, with a date like 2026-01-01 or a relative value like 7 days. The scraper sorts the channel newest-first and stops as soon as it reaches older videos, so you only pay for matching videos.
Can I scrape YouTube comments, subtitles or transcripts?
Yes for comments: set Comments per video to attach comments (and optionally replies) to each video, or use YouTube Comments Scraper for comment-only jobs. Subtitles and transcripts aren't included yet, because YouTube now only serves caption files to signed-in or verified players.
Why is the comment count rounded?
YouTube shows logged-out visitors a rounded comment count (for example "2.4K"), so that's what the scraper can collect. Like counts are exact.
Can I scrape YouTube dislikes?
No. YouTube stopped showing public dislike counts in 2021, so they aren't on public pages.
Is it legal to scrape YouTube?
This scraper collects only publicly available data and doesn't log in. Results may still include personal data, such as channel names. Personal data is protected by the GDPR in the EU and by other laws around the world, so don't scrape it without a legitimate reason. If you're unsure, consult a lawyer. Apify's blog has more on the legality of web scraping.
Something didn't work as expected?
Open an issue in the Issues tab and include the run link. Feedback and feature requests are welcome.