Video data

YouTube Scraper: views, likes, comments and channel stats

Search YouTube by keyword, paste video URLs or add channels, and get exact views, likes, comment counts, publish date, duration, description, hashtags and the channel with its subscribers. Filter by upload date, duration and video type, or search Shorts only.

3 users84.2% successful runs (30 days)

What data you get

title / urlVideo title and link
viewsExact view count
likesLike count
commentsComment count
publishedAtPublish date
durationVideo duration
descriptionVideo description
hashtagsHashtags
channel / subscribersChannel name and subscriber count

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$1.50 per 1,000 rows

Pay per event: you are charged for each video returned. Date and duration filters cost nothing extra, and there is no run fee.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Most popular YouTube videos for a keyword

50 "bali villa tour" videos sorted by popularity.

{
  "searchQueries": [
    "bali villa tour"
  ],
  "maxResultsPerQuery": 50,
  "sortBy": "popularity"
}
Run this task →

New YouTube product reviews from this week

Medium-length videos with 10K+ views.

{
  "searchQueries": [
    "iphone 17 review"
  ],
  "uploadDate": "week",
  "duration": "medium",
  "minViews": 10000
}
Run this task →

Scrape the latest videos from YouTube channels

30 newest videos from each of two channels.

{
  "channels": [
    "@mkbhd",
    "@veritasium"
  ],
  "maxVideosPerChannel": 30
}
Run this task →

Scrape YouTube Shorts for a topic

Up to 100 Shorts from the past month.

{
  "searchQueries": [
    "skincare routine"
  ],
  "videoType": "shorts",
  "uploadDate": "month",
  "maxResultsPerQuery": 100
}
Run this task →

Use cases

FAQ

Do I need a YouTube API key?

No. It works without an API key or login.

Can I scrape Shorts?

Yes. Set "Search for" to Shorts.

Can I filter by date or length?

Yes. Use the upload date and duration filters; they cost nothing extra.

Is it legal to scrape YouTube?

It collects publicly visible video metadata. Check that your use complies with local law and YouTube's terms, respect copyright, and avoid collecting personal data.

How do I integrate it?

Use the Apify API, Python or JavaScript clients, or integrations with Make, n8n, Zapier and Google Sheets.

More scrapers

Start scraping YouTube videos

Run on Apify — free trial