YouTube Scraper (Videos, Shorts, Channels & Comments) avatar

YouTube Scraper (Videos, Shorts, Channels & Comments)

Pricing

from $0.28 / 1,000 videos

Go to Apify Store
YouTube Scraper (Videos, Shorts, Channels & Comments)

YouTube Scraper (Videos, Shorts, Channels & Comments)

YouTube scraper for videos, Shorts, channels, playlists and search results. Rows have views, exact likes, comment count, length, exact upload time, tags, description and channel subscribers, plus comments with replies. New-only mode for schedules. No login. $0.50 per 1,000 videos.

Pricing

from $0.28 / 1,000 videos

Rating

0.0

(0)

Developer

locaihost data

locaihost data

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

Get public YouTube videos, Shorts, channels and comments as rows you can export to JSON, CSV or Excel. Video rows have views, exact likes, comment count, length, exact upload time, tags and description. Channel rows have subscribers, total views, joined date, country and links. Comments come with replies and the pinned and hearted flags. Search with YouTube's own filters, or paste channel, playlist and video links. You don't need a login, an API key or a daily quota.

What people use it for:

  • Following a list of channels: every new video, with views, likes and comments, newest or most popular first.
  • Keyword research: what YouTube ranks for a search term this week, filtered by length, Shorts or live, with tags and hashtags.
  • Creator shortlists: search channels by topic and get subscribers, total views, video count, country and links, one row per channel.
  • Reading an audience: the top or newest comments on a video, with replies, likes and the creator's pinned and hearted picks.
  • Scheduled monitoring: with Only new videos and comments on, you pay only for what appeared since the last run.

Quick start

Paste this into the JSON tab of the input and click Start:

{"searchTerms": ["cold brew coffee"], "maxResults": 10}

That returns the top 10 videos YouTube shows for "cold brew coffee", each opened for its full details: 10 rows, usually in under 15 seconds.

More examples:

{"channels": ["@MrBeast", "https://www.youtube.com/@mkbhd"], "channelTabs": ["videos", "shorts"], "maxResults": 50}
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "includeComments": true, "maxComments": 500, "includeReplies": true}
{"searchTerms": ["iphone 17 review"], "uploadDate": "week", "duration": "3to20", "sortBy": "popularity", "maxResults": 100}
{"searchTerms": ["specialty coffee"], "searchType": "channels", "maxResults": 50}

Any YouTube link works in any list: a channel link pasted under video links is still read as a channel.

What you get

Four kinds of row, set by the type field: video, channel, comment and unavailable (a free row for a missing video, comments turned off, a missing channel tab or an unusable entry, saying why).

RowFields
Videoid, url, title, channelName, channelId, channelHandle, channelUrl, channelVerified, subscriberCount, viewCount, likeCount, commentCount, commentsTurnedOff, durationSeconds, duration, publishedAt (exact time, UTC), publishDate, publishedText, description, tags, hashtags, category, thumbnail, isShort, isLive, watchingNow, wasLive, isUpcoming, details, rank, descriptionLinks (outside links, unwrapped), chapters (title, start second, time), isAgeRestricted, channelTotalViews (from a channel tab), commentsFetched and commentsNote (with comments on)
Channelid, url, handle, name, description, subscriberCount, subscriberCountText, videoCount, viewCount (all videos), joinedDate, country, links (title and link), keywords, avatar, banner, verified, lastUploadText and lastUploadApproxDate (newest video on the Videos tab)
CommentvideoId, videoUrl, commentId, parentId (for replies), isReply, text, likeCount, replyCount, publishedText, isEdited, authorHandle, authorChannelUrl, authorIsCreator, authorIsVerified, isPinned, isHeartedByCreator, sortedBy
Every rowtype, source (search, channel, playlist, url or hashtag), input (what you typed), scrapedAt

A real video row and comment from a run on 2026-11-01 (description and tags shortened):

{
"type": "video",
"id": "BxWQVe5CaS4",
"url": "https://www.youtube.com/watch?v=BxWQVe5CaS4",
"title": "Perfect Cold Brew Coffee at Home Without Fancy Gear",
"channelName": "Dero_De_Barista",
"channelId": "UCu_LkXCi9-rZYYvkWvuStxA",
"channelHandle": "@Derothebarista",
"channelUrl": "https://www.youtube.com/@Derothebarista",
"subscriberCount": 81000,
"viewCount": 4225,
"likeCount": 136,
"commentCount": 27,
"commentsTurnedOff": false,
"durationSeconds": 852,
"duration": "14:12",
"publishedAt": "2026-07-22T15:49:22.000Z",
"publishDate": "2026-07-22",
"publishedText": "3 months ago",
"description": "Is your cold brew tasting watery, weak, bitter, or too strong? The problem might not be your coffee beans…",
"tags": ["cold brew coffee recipe", "coffee recipe", "cold brew", "how to make cold brew"],
"hashtags": ["#ColdBrew", "#ColdBrewCoffee", "#CoffeeRecipe", "#HomeBarista"],
"category": "Education",
"thumbnail": "https://i.ytimg.com/vi/BxWQVe5CaS4/hqdefault.jpg",
"isShort": false,
"isLive": false,
"wasLive": false,
"details": "full",
"source": "search",
"input": "cold brew coffee",
"rank": 1,
"scrapedAt": "2026-11-01T14:44:40.059Z"
}
{
"type": "comment",
"videoId": "BxWQVe5CaS4",
"commentId": "UgykObWp7kAcTbbMRAB4AaABAg",
"parentId": null,
"isReply": false,
"text": "Yes you can use dark only challenge is that it tends to have bitterness for the roast",
"likeCount": 2,
"replyCount": 1,
"publishedText": "3 months ago",
"authorHandle": "@Derothebarista",
"authorIsCreator": true,
"isPinned": false,
"isHeartedByCreator": false,
"sortedBy": "top"
}

Full video details is on by default. Each video is opened on its own page to get exact likes, the exact upload time, the full description, tags, category, the comment count and the channel's subscribers. Turn it off for faster runs that return only what the search, channel tab or playlist shows (title, views, length, relative date, channel). The price is the same either way.

Price

You pay per row. The run itself is free apart from a one-time $0.00005 start fee.

RowFree and Starter plansScaleBusiness
Video or Short$0.50 per 1,000$0.375 per 1,000$0.275 per 1,000
Channel$0.50 per 1,000$0.375 per 1,000$0.275 per 1,000
Comment or reply$0.25 per 1,000$0.1875 per 1,000$0.1375 per 1,000

Free rows, never charged: missing or removed videos, videos with comments turned off, channels without the tab you asked for, searches with no results, unusable input, and anything skipped by Only new videos and comments. Videos, comments and channels left out by the date window, comment cutoff or channel filters are never returned and never charged.

Apify's free $5 monthly credit covers about 10,000 videos or 20,000 comments. On the Free plan a run stops at 1,000 rows; any paid Apify plan removes that cap. Set a Max cost per run in the run options and the run stops cleanly at that amount.

Limits

  • Public data only, read the way a signed-out visitor sees it. Private, members-only and some age-restricted videos (YouTube asks for a signed-in account) return a free "not found" row. We never sign in.
  • YouTube itself rounds subscriber counts and comment likes above 1,000 (4.55M, 72K). Video likes and views are exact. Comment counts are exact when comments are collected and rounded the same way otherwise.
  • Search sorts by Relevance or Popularity, the two orders YouTube offers for search. (YouTube ignores its older upload-date and rating orders now, so they aren't offered; use Published after/before for a date window.)
  • Lists show only a rounded date ("3 months ago"), so the date window opens videos near its edge for their exact upload time. A video whose date YouTube doesn't show at all is kept.
  • Region changes which videos YouTube offers and how searches rank; text stays in English, because counts and dates are read from English wording. There is no separate language option for the same reason.
  • Live chat, transcripts, video downloads and the channel's business email (which YouTube shows only after a sign-in and CAPTCHA) are not included. For transcripts, see YouTube Transcript Scraper below.
  • Email addresses and phone numbers are removed from comments, descriptions and channel About text, and replaced with [email removed] or [phone removed]. Commenters appear only as the public @handle and channel link YouTube shows.

Date window, filters and start URLs

All optional. Left unset, a run reads, returns and charges exactly as before.

  • Published after / Published before take a date (2026-10-01) or a period ("7 days", "3 months"). A channel tab read newest first, and a search sorted by Upload date, stop at the first video older than the window, so "everything since last week" costs only those videos. Playlists and other orders aren't by date: older videos are skipped and the list goes on, giving up after 10 pages in a row with nothing inside. Video links are always returned.
  • Comments newer than reads comments newest first and stops each video's comments at the first older one. Replies per comment caps each thread, so one huge thread doesn't use up the comment limit.
  • Every video row, with comments on, carries commentsFetched and commentsNote: how many comment rows came, and in plain words why that is fewer than YouTube's comment count (your limit, the cutoff, replies not asked for, or comments YouTube counts but doesn't show publicly).
  • Channel search filters (Search type Channels): Min and Max subscribers, Min videos, Verified channels only and Exclude channels. Counts on the search result are checked first, so most left-out channels cost no extra request.
  • Start URLs take any YouTube link, including search result pages (their filters are kept), hashtag pages (youtube.com/hashtag/coldbrew) and channel tab links (youtube.com/@mkbhd/shorts reads only that tab).

Only new videos and comments, and scheduling

Turn on Only new videos and comments and schedule the run daily or weekly in Apify Console. Each run then returns only the videos and comments this same input hasn't returned before. The rest are skipped and not charged.

It works as a window. With a limit of 50, you get the new ones among the latest 50 videos, and the run doesn't dig further back to make up the number. With comments on, videos you've already seen are still checked for new comments. Channel rows are always returned, so their counts stay current.

Integrations

  • API: start a run and fetch the dataset with Apify's REST API or its JavaScript and Python clients. Every row is JSON.
  • n8n and Make: use the Apify node or module, pick this Actor and paste the input JSON.
  • AI agents (MCP): the Actor is available as a tool through Apify's MCP server, so an AI assistant can search YouTube or read a video's comments for you.
  • Exports: JSON, CSV, Excel, XML or HTML from the dataset tab, or straight to Google Sheets with Apify's integration.

FAQ

What does a typical run cost? 100 videos with full details cost $0.05. The same 100 videos with 100 comments each cost $0.05 + 10,000 comments × $0.25 / 1,000 = $2.55.

Can I use it from code? Yes. Call the Actor through the Apify API with the same JSON input as in the examples above, then read the dataset.

Does it work with AI agents? Yes, through Apify's MCP server and any agent framework that can call Apify Actors.

Is it legal to scrape YouTube? This Actor reads only public pages, the way a signed-out visitor sees them, with no account and no cookies. Videos, descriptions and comments belong to their creators and commenters: use the data for analysis and research, respect copyright, and follow the laws on personal data that apply to you (GDPR, CCPA). If in doubt, ask a lawyer.

Why are some fields empty? A list-only row (Full video details off) has no likes, tags or exact date. Live streams have no view count while they are live (watchingNow instead). Some channels list no country or links. Comment counts are empty when comments are turned off.

What if YouTube changes its pages? We run a test of the Actor every day, so we usually see a break before you do and fix it.

More from locaihost data

Did it help? A short rating on the Store helps other people find it.

Questions or a field you need? Open an issue on the Issues tab: we answer issues within 24 hours.

locaihost data