Aurelix

Tools › Video

YouTube Video Scraper

Search YouTube by keyword, or give channels and playlists, and get every video's full details for $0.25 per 1,000 videos, no login.

For marketers, researchers and AI builders. Each video's own watch page is read, so views, likes and publish times are exact and current, not a copy of the search card. Skipped and unavailable videos are never charged.

$0.25 per 1,000 videos ($0.23 on paid Apify plans)

At a glance

What the YouTube Video Scraper does

Input
Search terms with YouTube's filters, video URLs, channels (Videos, Shorts or Live tab), playlists
Output
38 fields per video from its watch page; JSON, CSV, Excel, API
Filters
Upload date, type, duration, features, relevance or popularity, country, published-after/before range
Automate
Only-new mode, schedules, Slack or webhook digest, Zapier, Make, n8n, MCP for AI agents

Who it is for

  • Marketers and agencies sizing a niche: who ranks for a keyword, how many views and likes, how big the channels are
  • Influencer and partnership research: channels with their subscriber counts, verified badge and recent videos
  • Content strategists tracking competitors' channels daily with only-new mode
  • Researchers and data teams building YouTube datasets with exact counts and publish times
  • AI agents that need YouTube search results or video statistics through MCP

Output

What you get

  • video_id, url, title, description, description_links, published_at (ISO 8601 UTC), published_date, duration_seconds
  • view_count, like_count, comment_count, comment_count_text
  • channel_name, channel_id, channel_url, channel_handle, channel_subscribers, channel_subscribers_text, channel_verified
  • tags, hashtags, category, chapters [{title, start, end}], has_captions, caption_languages
  • thumbnail_url, thumbnails, is_short, is_live, is_upcoming, is_live_content, is_unlisted, is_family_safe
  • source, source_type, source_position, details_complete, source_url, scraped_at

Example

Input and output

Input

{
  "searchTerms": [
    "home espresso"
  ],
  "maxResults": 50,
  "uploadDate": "month",
  "sort": "popularity"
}

One output record

{
  "video_id": "1HKrqlZmYwM",
  "url": "https://www.youtube.com/watch?v=1HKrqlZmYwM",
  "title": "Your Guide to Perfect Home Espresso",
  "description": "Finally, your all-in-one guide to mastering that perfect shot of espresso at home. We lay it all out there in this easy, six-minute step-by-step walkthrough…",
  "description_links": [
    "https://clivecoffee.com/blogs/learn/how-to-make-great-espresso",
    "https://clivecoffee.com/products/eureka-mignon-xl-espresso-grinder",
    "https://clivecoffee.com/products/lucca-m58-espresso-machine-by-quick-mill",
    "… 6 more"
  ],
  "published_at": "2021-06-22T21:06:24Z",
  "published_date": "2021-06-22",
  "duration_seconds": 365,
  "view_count": 241931,
  "like_count": 5204,
  "comment_count": 206,
  "comment_count_text": "206",
  "channel_name": "Clive Coffee",
  "channel_id": "UCsT0nN2bLAiOYM504irz6QA",
  "channel_url": "https://www.youtube.com/channel/UCsT0nN2bLAiOYM504irz6QA",
  "channel_handle": "@clivecoffee",
  "channel_subscribers": 93100,
  "channel_subscribers_text": "93.1K subscribers",
  "channel_verified": false,
  "tags": [
    "espresso",
    "coffee",
    "espresso machine",
    "… 25 more"
  ],
  "hashtags": [],
  "category": "Howto & Style",
  "thumbnail_url": "https://i.ytimg.com/vi/1HKrqlZmYwM/maxresdefault.jpg",
  "thumbnails": [
    {
      "url": "https://i.ytimg.com/vi/1HKrqlZmYwM/hqdefault.jpg",
      "width": 168,
      "height": 94
    },
    {
      "url": "https://i.ytimg.com/vi/1HKrqlZmYwM/hqdefault.jpg",
      "width": 196,
      "height": 110
    },
    {
      "url": "https://i.ytimg.com/vi/1HKrqlZmYwM/hqdefault.jpg",
      "width": 246,
      "height": 138
    },
    "… 2 more"
  ],
  "is_short": false,
  "is_live": false,
  "is_upcoming": false,
  "is_live_content": false,
  "is_unlisted": false,
  "is_family_safe": true,
  "has_captions": null,
  "caption_languages": null,
  "chapters": [],
  "details_complete": true,
  "source": "home espresso",
  "source_type": "search",
  "source_position": 2,
  "source_url": "https://www.youtube.com/watch?v=1HKrqlZmYwM",
  "scraped_at": "2026-11-05T09:14:03Z"
}

From a real run of this tool; long text and lists shortened here.

How to use it

Three steps

  1. Type search terms (and pick YouTube's filters), or paste video, channel or playlist links, and set how many videos to read from each.
  2. Optionally add a publish date range, or switch on only-new mode and a Slack webhook for a scheduled feed.
  3. Click Start, then download JSON, CSV or Excel, or send the rows to Google Sheets, Zapier, Make, n8n or your own code through the API.

API

Call it from Python

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("aurelix/youtube-video-scraper").call(run_input={'searchTerms': ['home espresso'],
 'maxResults': 50,
 'uploadDate': 'month',
 'sort': 'popularity'})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

pip install apify-client. The same input works from the Apify console, a schedule, Make, n8n, Zapier or an AI agent through the Apify MCP server.

Pricing

Pay per result

Per 1,000 videos, free plan$0.25
Per 1,000 videos, paid plans$0.23
Start fee per run$0.0086

Live prices from the Apify Store; no subscription and no platform usage billed on top. See the Store page.

Honest limits

What it does not do

  • YouTube's search shows at most a few hundred results per term; more terms or filters reach further.
  • Search can be ordered by relevance or popularity only; YouTube removed its upload-date sort.
  • Comment and subscriber counts are YouTube's displayed (rounded) figures above 1,000.
  • No comment text, commenter names or viewer data, by design.
  • Private, removed and age-restricted videos cannot be read logged out; they are skipped and not charged.
  • When YouTube withholds a video's player data from every IP tried, the row has details_complete false and null publish time, tags and category (none in our cloud tests).
  • A run reads several videos at a time but each video is a full page, so expect roughly 1 to 2 seconds per video in a long run.
  • No transcripts in this Actor; YouTube Transcript Scraper does that with the same inputs.
  • has_captions and caption_languages are null when YouTube's answer to the run did not include the caption list.

FAQ

Questions buyers ask

Can I scrape all videos from a YouTube channel?

Yes. Put the channel in 'Channels', pick the Videos, Shorts or Live tab and latest, popular or oldest order, and set 'Max videos' as high as you need (up to 5,000 per channel).

Is there a cheaper YouTube scraper on Apify?

Yes: $0.25 per 1,000 videos ($0.23 on paid plans), cheaper than the leading tools, plus a $0.0086 start fee per run. Every row comes from the video's own watch page (exact views, likes, publish time, tags), and a date range costs nothing extra. It has no transcripts or AI summaries; for transcripts use YouTube Transcript Scraper.

How do I export YouTube search results to Google Sheets without logging in?

Run this Actor with your search terms; it never logs in, so no Google account is needed. Then add Apify's Google Sheets integration on the Actor's **Integrations** tab, or download CSV or Excel from the run's **Storage** tab. Schedule it with 'Only new videos since last run' on to add only new videos each time.

How do I get YouTube video data into n8n or an AI agent?

Two ways. For a fixed workflow, add Apify's n8n or Make node, choose **Run Actor**, enter aurelix/youtube-video-scraper and map the dataset to the next step. For an AI agent (Claude, ChatGPT, Cursor or an n8n AI Agent node), add https://mcp.apify.com/?tools=aurelix/youtube-video-scraper as an MCP server and ask for videos in plain words; setup for each client is in the section above. Runs bill your own Apify account at the same per-video price.

How much does the YouTube Video Scraper cost?

$0.25 per 1,000 videos ($0.23 on paid Apify plans), billed through your Apify account; you pay only for results. Apify's free plan includes $5 of credit a month, enough for about 20,000 videos.

Which numbers are exact?

Views and likes come from the video's own watch page and are exact at the time of the run. Comment and subscriber counts are what YouTube shows visitors: exact below 1,000 and rounded above (2.4K becomes 2400); the text form is in comment_count_text and channel_subscribers_text. like_count is null when the creator hides likes.

Why is details_complete false on some rows?

YouTube keeps the exact publish time, tags, category and caption list from some cloud IPs. The run tries fresh IPs until one gets them; if none does, the row still has title, views, likes, comments, channel, subscribers and the publish date, with those fields null. In our cloud tests every video came back complete.

Can I sort search results by upload date?

YouTube's search now offers only relevance and popularity. For the newest videos, use the 'Upload date' filter (e.g. this week) or 'Published after', which checks each video's exact publish time.

Does it return Shorts and live streams?

Yes. Set 'Search: type' to Shorts or Videos and Shorts, read a channel's Shorts or Live tab, or paste the links. is_short, is_live, is_upcoming and is_live_content tell them apart. For Shorts by hashtag with their sound, use YouTube Shorts Scraper.

How many results can one search return?

YouTube shows a few hundred results per search at most, fewer with filters. The run reads page after page until it has your maximum or YouTube has no more, and the status message says how many each input returned.

Can I get transcripts too?

Not from this Actor. Our YouTube Transcript Scraper takes the same video links, channels, playlists and search terms and returns the full transcript, timed segments and AI-ready chunks for each video with captions.

Will I get duplicates?

No. A video found by two search terms, or by a search and a channel, is returned once, for the input that found it first. With only-new mode, videos returned by an earlier run with the same inputs are skipped too. Neither is charged.

What happens if YouTube blocks the run?

Pages that fail are retried on fresh IPs, and an IP that answers slowly is swapped for a fresh one. If the first page loads all fail, the run stops within about a minute with a BLOCKED status and only the start fee is charged. If YouTube later refuses 10 videos in a row, or 3 inputs in a row cannot be read, the run stops the same way and keeps every video it already saved.

How does only-new mode work?

It remembers every video a run with the same inputs returned. On a channel read in latest order, the next run stops at the first video it already returned, so a daily schedule gets just the new uploads, or nothing when there are none. On a search term, results are not ordered by date, so it returns videos it has not returned before, which can include older ones that newly appear in the results; it stops reading that input after 3 result pages in a row with nothing new. Nothing already returned is returned or charged again.

Is it legal to scrape YouTube?

It reads only public data any logged-out visitor can see: YouTube's search results, channel and playlist pages and video watch pages. It never logs in, never solves CAPTCHAs and goes at a polite pace. It returns video and channel details as shown publicly on YouTube, and no comments, commenter names or other viewer data. People can ask for removal of their data by opening an issue on this Actor's Issues tab; if YouTube formally asks us to stop, this Actor will stop. You are responsible for using the data lawfully, incl. copyright, anti-spam and privacy laws; this is not legal advice.

Guides

Tutorials using this tool

Related

Related tools

Try the YouTube Video Scraper

Open it on the Apify Store, paste the example input above and click Start. Results download as CSV, Excel or JSON.