YouTube Scraper avatar

YouTube Scraper

Pricing

$2.00 / 1,000 results

Go to Apify Store
YouTube Scraper

YouTube Scraper

Scrape YouTube videos, Shorts, channels, playlists and search results. Exact views and likes, comment counts, publish dates, descriptions, hashtags and channel stats. No login, no API key.

Pricing

$2.00 / 1,000 results

Rating

0.0

(0)

Developer

Gii Winthrop

Gii Winthrop

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 minutes ago

Last modified

Features

Limited permissions

Share

Scrape public YouTube data without a login or an API key: videos, Shorts, channels, playlists and search results. For each video you get the exact view count and like count, comment count, publish date, full description, hashtags, duration and channel details, plus category and keywords when YouTube provides them. Export to JSON, CSV, Excel, or use the API.

What can it do?

  • Search YouTube for any keywords, with YouTube's own filters: sort by relevance, upload date, view count or rating; upload date (last hour to this year); duration (under 4 min, 4–20 min, over 20 min); country.
  • Scrape channels by URL or handle (@mkbhd): the Videos, Shorts or Live tab, newest first, plus one item with channel stats (subscribers, number of videos, description, avatar, banner, verified badge).
  • Scrape playlists: every video in a public playlist, in order.
  • Scrape single videos and Shorts from any URL format: watch?v=, youtu.be/, /shorts/, /live/, or a bare video ID.
  • Monitor new uploads: set Only videos published after to 7 days and schedule the Actor. On channels it stops as soon as the videos get older, so a weekly check of a channel costs only a few results.

Who is it for?

  • Marketers and agencies tracking competitors' channels, campaign videos and engagement.
  • Brands monitoring what is published about their products (search by brand or product name).
  • Researchers and analysts building datasets of videos on a topic, with exact counts and dates.
  • Creators studying which titles, lengths and topics perform in their niche.
  • Developers who need YouTube metadata in an app without managing API quotas.

How to use it

  1. Enter one or more search terms and/or YouTube URLs (channels, playlists, videos, Shorts, search pages).
  2. Set Max results per source (per search term, channel or playlist).
  3. Click Start. Results appear in the Output tab as they are scraped.

The input form is prefilled, so the first run works with one click.

Input example

{
"searchQueries": ["espresso machine review"],
"startUrls": [{ "url": "https://www.youtube.com/@mkbhd" }],
"maxResults": 10,
"scrapeVideoDetails": true,
"sortBy": "relevance",
"publishedAfter": "30 days"
}

Main input fields

FieldWhat it does
searchQueriesSearch terms. Each term is its own search.
startUrlsVideo, Shorts, channel, playlist or search URLs. Channel handles like @mkbhd work too.
maxResultsMax videos per search term, channel or playlist (default 20).
scrapeVideoDetailsOn (default): opens each video for exact likes, comment count, publish date, full description (and category and keywords when available). Off: faster, only what lists show (title, approximate views, duration, relative date).
includeChannelInfoAdds one item per channel URL with the channel's stats.
channelTabvideos, shorts or streams, for channel URLs that don't name a tab.
publishedAfterDate (2026-11-01) or period (7 days, 3 months). Older videos are skipped.
sortBy, uploadDate, durationYouTube's search filters (search terms only).
countryCodeCountry for search results (default US).

Output example

One item per video:

{
"type": "video",
"id": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"description": "The official video for “Never Gonna Give You Up” by Rick Astley. ...",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelHandle": "@RickAstleyYT",
"channelUrl": "https://www.youtube.com/@RickAstleyYT",
"channelSubscribers": 4560000,
"channelVerified": true,
"viewCount": 1843805072,
"likeCount": 19528672,
"likeCountApprox": false,
"commentCount": 2400000,
"commentCountApprox": true,
"durationSeconds": 213,
"durationText": "3:33",
"publishedAt": "2009-10-24T23:57:33-07:00",
"category": "Music",
"keywords": ["rick astley", "Never Gonna Give You Up", "..."],
"hashtags": ["#RickAstley", "#NeverGonnaGiveYouUp", "#OfficialMusicVideo"],
"isShort": false,
"isLive": false,
"thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"detailsScraped": true,
"source": { "type": "video", "input": "https://youtu.be/dQw4w9WgXcQ" },
"scrapedAt": "2026-12-05T01:20:00.000Z"
}

Channel items ("type": "channel") have channelId, name, handle, url, description, subscriberCount, videoCount, isVerified, keywords, avatarUrl, bannerUrl and rssUrl.

The Output tab has two ready-made views: Videos and Channels.

About the numbers

  • viewCount and likeCount are exact when details are on (likeCountApprox: false). They are empty when the creator hides likes or turns comments off.
  • publishedAt is the exact time (2026-10-26T17:33:49-07:00) when YouTube provides it, otherwise the day (2026-11-17). publishedAtPrecision says which (second or day).
  • category and keywords are only included when YouTube sends them to logged-out visitors, which is not every time (often about 1 in 4 videos). They are null otherwise.
  • The duration of some Shorts found through search isn't shown by YouTube and is left empty.
  • commentCount is what YouTube shows on the page, which is rounded for large numbers (2.4M). commentCountApprox: true tells you when that is the case.
  • channelSubscribers / subscriberCount are rounded by YouTube itself (4.56M).
  • With details off, views come from lists and may be rounded (viewCountApprox), and the date is an estimate from "2 weeks ago" (publishedAtEstimate).

Pricing

Pay per result: $2.00 per 1,000 results ($0.002 per video or channel item), plus a tiny Apify start fee per run. The price is the same with details on or off.

You only pay for results. Inputs that fail (a deleted video, a wrong URL) produce a free "type": "error" item explaining what went wrong, so you can see what happened without paying for it.

You can cap the cost of any run with Apify's Maximum cost per run setting. The Actor stops cleanly when the cap is reached.

Apify's free plan includes monthly credit, enough to try the Actor on a few hundred videos.

FAQ

Do I need a YouTube account or an API key? No. The Actor reads public pages the same way a logged-out visitor sees them.

Does it scrape comments or transcripts? Not at the moment. You get the comment count, not the comments themselves, and no subtitles or transcripts.

Does it collect personal data? It collects public video and channel metadata. It does not collect viewers' or commenters' profiles. Channel descriptions are saved as written by the channel owner, which sometimes includes a business contact.

Why are some videos missing details? Private, deleted, members-only and some age-restricted videos don't show their details to logged-out visitors. If a listed video can't be opened, the Actor saves what the list showed (detailsScraped: false) and adds detailsError.

How many videos can I get from a channel or search? Channels and playlists: all their public videos (set maxResults high). Searches: YouTube stops returning results after several hundred per query, so split broad topics into several search terms.

Is it legal to scrape YouTube? This Actor only reads publicly available data, without logging in. YouTube's Terms of Service restrict automated access, and laws differ by country, so check that your use case is lawful, especially if you plan to store or republish data. If in doubt, ask a lawyer.

Limits

  • Public, logged-out data only. No private, unlisted-by-link discovery, members-only or login-gated content.
  • Comment counts and subscriber counts are YouTube's rounded figures.
  • YouTube changes its pages from time to time. When that breaks something, the Actor gets fixed. Please report problems in the Issues tab, ideally with the input you used.

Support

Found a bug or need a field that isn't here? Open an issue on the Actor's Issues tab. Requests are read and answered.