Products/YouTube/YouTube Channel Scraper/Use case

YouTube Channel Scraper Use case

Export a YouTube channel's videos to Excel

Paste a channel URL or @handle and get one row per video, ready to download as CSV or Excel from Apify, or to pull as JSON from the API for your own sheet. The same run also attaches the channel's own stats, subscriber count, total views, total videos, country and join date, to every video row, so a single export covers both the catalogue and the channel-level numbers a report usually needs side by side.

  • No minimum charge per run: a channel-info lookup costs 0.80 USD / 1,000 channel-info rows.
  • Accepts channel URLs, @handles or UC... ids, and stops at maxResults or a date with oldestPostDate.
  • A channel that does not exist returns a typed NOT_FOUND row (legacyError CHANNEL_NOT_FOUND for a pipeline still matching the old name) instead of failing the whole run.
  • Turn on includeVideoDetails to also get likes, comment count, full description and the exact publish date on every video row, at the same per-video price.
  • Without includeVideoDetails, dates on the video list come from YouTube's relative text ('3 weeks ago'), converted to an ISO date and flagged dateIsApproximate true, so a spreadsheet can still sort by date without the exact timestamp.
  • Set sortVideosBy to newest, most popular or oldest before exporting, so the spreadsheet or dataset already comes out in the order a report needs, without a manual re-sort step afterward.

0.80 USD / 1,000 per video, Short or stream returned, with likes and comment counts available at the same price.

Example

Example
{ "startUrls": ["https://www.youtube.com/@mkbhd"], "maxResults": 60 }

Questions

Can I export straight to Excel?

Yes, from the Apify dataset's built-in CSV or Excel export. The API returns the same fields as JSON.

Does this need a YouTube Data API key?

No. It reads YouTube's public web pages, so there is no Google Cloud project or quota.

Can I get just the channel stats, not every video?

Yes. Set maxResults to 0 and you get one channel-info row with subscriber count, total views and the rest.

Do I get the exact publish date or just a relative one like "3 weeks ago"?

Both are available: the video list alone gives an approximate ISO date converted from YouTube's relative text, flagged dateIsApproximate true, while turning on includeVideoDetails gets the exact publish date on every row.