Fast Youtube Channel Scraper avatar
Fast Youtube Channel Scraper
Try for free

Pay $1.00 for 1,000 videos

View all Actors
Fast Youtube Channel Scraper

Fast Youtube Channel Scraper

streamers/youtube-channel-scraper
Try for free

Pay $1.00 for 1,000 videos

This alternative YouTube Data API has no limits or quotas. Use it to scrape one or multiple YouTube channels: channel info, URL, total number of subscribers, videos and views, creation date. Try it and get basic video data. You can download extracted data in JSON, CSV, and Excel.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        {
12            "url": "https://www.youtube.com/@Apify"
13        }
14    ],
15    "maxResults": 10,
16    "maxResultsShorts": 0,
17    "maxResultStreams": 0
18};
19
20(async () => {
21    // Run the Actor and wait for it to finish
22    const run = await client.actor("streamers/youtube-channel-scraper").call(input);
23
24    // Fetch and print Actor results from the run's dataset (if any)
25    console.log('Results from dataset');
26    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
27    const { items } = await client.dataset(run.defaultDatasetId).listItems();
28    items.forEach((item) => {
29        console.dir(item);
30    });
31})();
32
33// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Apify
Actor metrics
  • 192 monthly users
  • 99.9% runs succeeded
  • 10.1 days response time
  • Created in Jul 2023
  • Modified 5 days ago