ParseForge Scrapers

YouTube Scraper - Search, Channels and Playlists

parseforge/youtube-scraper

VideosAutomationSocial media

Scrape YouTube by search query, channel, playlist or video URL. Every video returns as a flat row with title, URL, thumbnail, duration, upload date, view count and channel profile. Filter by date, duration, type and features. No API key and no quota. Export to CSV, Excel or JSON.

Run this scraper See the API call
Total users
78
Monthly active
0
Total runs
566
Bookmarked
2
Last modified
2 days ago

This scraper was last updated on .

What does the YouTube Scraper - Search, Channels and Playlists return?

ParseForge

YouTube Scraper - Search, Channels and Playlists

Scrape YouTube videos from any search, channel, playlist or video URL, up to a million per run. Every video comes back as a flat row with its title, URL, thumbnail, duration, upload date, view count and channel profile. No API key and no quota. Export to CSV, JSON, Excel, or XML.

YouTube's official Data API requires a Google Cloud project, OAuth setup, and daily quotas that run out fast. This scraper reads public YouTube pages directly, so you get video metadata, channel info, and captions without any registration. Each result is a flat row with all the fields you need for analysis.

Who uses it What they scrape YouTube for
Content researchers Track which topics and creators are trending in a niche over time.
SEO analysts Gather video titles, descriptions, and tags to reverse-engineer ranking strategies.
Market intelligence teams Monitor competitor channels and their most viewed uploads.
Data scientists Build training datasets from YouTube metadata at scale.

What it does

This Actor collects YouTube videos by search query, channel, playlist URL or video URL, and returns each one with its metadata and channel profile as a single flat row.

  • ๐Ÿ” Search queries: Enter any term and get the matching videos. A video URL or channel handle (@channelname) typed here is detected and read as a video or channel.
  • ๐Ÿ“บ Channels and videos: A channel returns its uploads, each with the channel profile (subscribers, total videos, total views, verified badge). A video URL or bare video ID returns that video with its exact upload date, category, tags and channel profile.
  • ๐Ÿ“‹ Playlist scraping: Provide one or more playlist URLs and every video in the playlist is collected up to your max limit, with its position in the playlist.
  • ๐Ÿ“Š Standard fields on every row: view count, duration, upload date, channel name, channel ID and channel handle (when the channel has one), whether the video came from a search, a channel or a playlist.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with YouTube data

๐Ÿ“ˆ Track trending topics.

A content strategist runs daily searches for keywords in their niche and exports the top videos to see what formats and titles are gaining traction.

๐Ÿ” Audit competitor channels.

A marketing analyst feeds competitor channel handles into the actor and collects every video's metadata to compare upload frequency, engagement, and topic focus.

๐ŸŽ“ Build a research dataset.

A researcher scrapes every video from a set of educational channels and playlists to study upload cadence, duration and reach across a subject area.

๐Ÿ“Š Monitor brand mentions.

A brand manager searches for their product name weekly and collects video titles, descriptions, and comments to gauge public sentiment.

Why choose this scraper

What you get
Video metadata Title, URL, thumbnail, duration, upload date and view count on every row; description, category and tags for video URLs.
Channel profile Channel name, URL, subscriber count, total videos, channel description, and avatar.
Playlists and channels Every upload of a channel, or every video in a playlist, with pagination handled for you.
Search filters Sort by relevance, upload date, view count, or rating. Filter by upload date, duration, type, and features.

How it compares

Compared to other YouTube scrapers on Apify, this actor enriches every result with the full channel profile, with no extra steps.

Feature ParseForge YouTube Scraper
Full video metadata Yes Yes
Channel profile (subs, total videos) Yes Not listed
Channel uploads with pagination Yes Not listed
Playlist scraping Yes Not listed
Search filters (date, duration, type) Yes Not listed
No API key required Yes Yes

Configure the run

Drive the Actor from search queries, playlist URLs, or direct video/channel links, alone or together. Filters for upload date, video duration, video type, and features (HD, subtitles, 4K, live, HDR, VR180) run as each video is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
  "playlistUrls": [
    "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"
  ],
  "searchQueries": [
    "python tutorial",
    "web scraping"
  ],
  "maxItems": 10
}

A larger pull:

{
  "playlistUrls": [
    "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"
  ],
  "searchQueries": [
    "python tutorial",
    "web scraping"
  ],
  "maxItems": 200
}

Accepted inputs

  • startUrls: channel URLs (/@handle, /channel/UC..., /c/name, /user/name), bare handles (@handle), channel IDs (UC...), video URLs (watch, youtu.be, shorts, live, embed), bare 11-character video IDs, and playlist URLs.
  • playlistUrls: playlist URLs or bare playlist IDs (PL..., UU...).
  • Every list accepts plain strings or { "url": "..." } objects, the format the Apify API and most integrations send.
  • An entry that cannot be read comes back as a row with input, inputField and error. That row is free. A channel, playlist or video that cannot be fetched also comes back as a free error row. The default search runs only when the input has no entries at all, never in place of URLs you gave.

Dates and view counts

  • publishedAt (epoch ms) and publishedDate (ISO 8601, UTC) hold the upload date. Search, channel and playlist pages only show a relative age such as "3 weeks ago", so for those rows the date is computed from it and publishedDateIsApproximate is true. Video URLs give the exact date and the flag is false.
  • Search and video URL rows have the exact view count. Channel and playlist pages show a rounded count ("5.5M"), so those rows carry that rounded number (5,500,000). A count or date YouTube does not show is null, never 0.
  • Playlist rows carry every standard video field plus videoTitle, position, playlistId, playlistTitle, playlistUrl, isPrivate and isDeleted.

Free users

Free-plan runs return up to 100 videos per search query, channel or playlist. Upgrade your Apify plan to collect up to 1,000,000 results per input.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the YouTube Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to YouTube through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/youtube-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Look for rows with an error field: each one names the input it belongs to and why it returned nothing. Check that the URL is public and correct; private, deleted and region-restricted playlists and videos cannot be read. Also verify that maxItems is set high enough.

A video URL returns nothing.

YouTube answers LOGIN_REQUIRED on the watch page when the request comes from a datacenter address. Switch the proxy to residential for runs that read individual video URLs. Search, channels and playlists work on the default datacenter proxy.

The actor is running slowly.

Large playlists or broad search queries can take time. Reduce maxItems or narrow your search with filters like upload date or video duration to speed things up.

I see an error about rate limiting.

YouTube may temporarily block rapid requests. The actor handles retries automatically, but if you hit limits, try reducing concurrency or spreading runs over time.

FAQ

Question Answer
Do I need a YouTube API key? No. This scraper reads public YouTube pages directly, so you don't need any API key or Google Cloud project.
Can I scrape an entire channel? Yes. Put the channel's handle (e.g., @channelname), channel URL or channel ID in startUrls, and the actor collects the videos from its Videos tab up to your maxItems limit.
Does it get video transcripts? No. Transcripts need a signed player session, so they live in a dedicated Actor: YouTube Transcript Scraper.
What is the maximum number of videos I can scrape? You can set maxItems up to 1,000,000 per input. Free-plan runs are capped at 100 per input.
Can I filter by upload date? Yes. You can filter search results by last hour, today, this week, this month, this year, or any time.
Does it scrape comments? No. This actor focuses on video metadata and channel profiles. For comments use YouTube Comments Scraper.
Can I scrape playlists? Yes. Provide one or more playlist URLs and the actor will scrape every video in each playlist up to your maxItems limit.
What export formats are supported? You can export the dataset as CSV, JSON, Excel, XML, or HTML directly from the Apify platform.

Next step

Every row is one video, so its columns go straight into the other ParseForge YouTube Actors:

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Google LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

What input does the YouTube Scraper - Search, Channels and Playlists accept?

FieldTypeWhat it doesDefault
playlistUrls array YouTube playlist URLs or playlist IDs (PL..., UU...). Each playlist is read in full, up to maxItems. Entries may be strings or {"url": "..."} objects. ["https://www.youtube.com/playlist?list=
startUrls array YouTube channel URLs (https://www.youtube.com/@channel or /channel/UC...), channel handles (@channel), channel IDs (UC...), video URLs or bare 11-character video IDs, and playlist URLs. Entries may be strings or {"url": "..."} objects. A channel returns its uploads; a video returns that single video and needs a residential proxy, because YouTube answers LOGIN_REQUIRED to a datacenter address on the watch page. An entry that cannot be read returns a free error row. ["https://www.youtube.com/@mkbhd"]
searchQueries array Search terms to run on YouTube. For channels and video URLs use the field above. ["python tutorial","web scraping"]
maxItems integer How many videos to collect per input. 10
sortBy string (4 options) How to sort search results (applies to search queries only, not playlists) relevance
uploadDate string (6 options) Filter search results by upload date any
videoDuration string (4 options) Filter search results by video length any
videoType string (2 options) Filter search results by video type video
features array Filter search results by video features (select multiple) not set
proxyConfiguration object Datacenter proxy is enough for search, channels and playlists. Individual video URLs need residential, because YouTube refuses the watch page from datacenter addresses. {"useApifyProxy":true,"apifyProxyGroups"

How much does the YouTube Scraper - Search, Channels and Playlists cost?

from $2.40 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.0024 to $0.0035
Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). $0.005

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

How do I call the YouTube Scraper - Search, Channels and Playlists API?

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~youtube-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "playlistUrls": [
      "https://www.youtube.com/playlist?list=PLkahZjV5wKe8w9GC_n2yyhx6Wj-NKzzeE"
    ],
    "startUrls": [
      "https://www.youtube.com/@mkbhd"
    ],
    "searchQueries": [
      "python tutorial",
      "web scraping"
    ],
    "maxItems": 10,
    "sortBy": "relevance"
  }'

What example inputs can I use?

Use these inputs to see how a run is configured.

input.json
{
  "playlistUrls": [
    "https://www.youtube.com/playlist?list=PLkahZjV5wKe8w9GC_n2yyhx6Wj-NKzzeE"
  ],
  "startUrls": [
    "https://www.youtube.com/@mkbhd"
  ],
  "searchQueries": [
    "python tutorial",
    "web scraping"
  ],
  "maxItems": 10,
  "sortBy": "relevance"
}

What do users say about the YouTube Scraper - Search, Channels and Playlists?

No reviews yet. Be the first.

How do I report an issue with the YouTube Scraper - Search, Channels and Playlists?

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

What related scrapers can I use?

Run YouTube Scraper - Search, Channels and Playlists on Apify All scrapers