YouTube Channel Videos Scraper
Pricing
from $0.70 / 1,000 video listeds
YouTube Channel Videos Scraper
List every video of a YouTube channel from its URL, @handle or ID: title, views, duration, publish date, Shorts and live streams separated. Sort by latest, popular or oldest. No API key, no quota.
Pricing
from $0.70 / 1,000 video listeds
Rating
0.0
(0)
Developer
Tarik Cerkezovic
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
18 days ago
Last modified
Categories
Features
Share
List every video a YouTube channel has published, from its URL, @handle or channel ID. Each item carries the title, view count, duration, publish date and type (video, Short, live stream or scheduled premiere), plus the channel's name, handle, subscriber count and video count. Sort the Videos tab by latest, popular or oldest, cap the number per channel, or take everything.
No YouTube API key, no quota, no login. Built for channel analytics, content research, competitor tracking and feeding video lists into other tools such as a transcript scraper.
What you get
| Field | Description |
|---|---|
videoId, url, title, type | The video; type is video, short, live or upcoming |
durationSeconds, durationText | Length (not available for Shorts on the Shorts tab) |
viewCount, viewCountText | Views as a number and as YouTube shows it |
publishedText, publishedAt | "3 weeks ago" and an ISO date estimated from it |
thumbnailUrl | Largest thumbnail |
tab, position | Which tab the item came from and its position in the requested order |
channelId, channelName, channelHandle, channelUrl, subscriberCount, videoCount, avatarUrl | Channel fields, repeated on every item |
error, errorMessage | Present only on channel-level failures |
Sample output
{"videoId": "ZAzWPE9CItg","url": "https://www.youtube.com/watch?v=ZAzWPE9CItg","title": "AI Crisis in Math: Navier-Stokes, Riemann Hypothesis & Complexity Theory | Lex Fridman Podcast #503","type": "video","durationSeconds": 12867,"durationText": "3:34:27","viewCount": 1300000,"viewCountText": "1.3M views","publishedText": "9 days ago","publishedAt": "2026-10-27T15:20:11.000Z","thumbnailUrl": "https://i.ytimg.com/vi/ZAzWPE9CItg/hq720.jpg","tab": "videos","position": 1,"channelId": "UCSHZKyawb77ixDdsGog4iWA","channelName": "Lex Fridman","channelHandle": "@lexfridman","channelUrl": "https://www.youtube.com/channel/UCSHZKyawb77ixDdsGog4iWA","subscriberCount": 5070000,"videoCount": 870,"input": "@lexfridman","fetchedAt": "2026-11-05T16:40:00.000Z"}
Input
| Field | Type | Default | What it does |
|---|---|---|---|
channelUrls | array of strings | required | Channel URLs, @handles, bare handles or UC... IDs. Legacy /c/ and /user/ URLs work too. |
maxVideosPerChannel | integer | 100 | Cap per channel per tab. 0 takes everything. |
sortBy | latest, popular, oldest | latest | Order of the Videos tab. |
includeVideos | boolean | true | The Videos tab. |
includeShorts | boolean | false | The Shorts tab. Shorts have title and views only. |
includeLive | boolean | false | The Live tab: past streams, current streams and scheduled premieres. |
maxConcurrency | integer | 3 | Channels in parallel. |
proxyConfiguration | object | Apify datacenter proxy | Proxy for all requests. |
residentialFallback | boolean | true | Retry a blocked channel through residential proxies. Only used on a detected block. |
Minimal input:
{ "channelUrls": ["@NASA"], "maxVideosPerChannel": 50 }
Errors
A channel that cannot be processed becomes one item with an error code; the run never fails because of one bad input.
error | Meaning | Charged? |
|---|---|---|
INVALID_INPUT | Not a channel URL, handle or ID | no |
CHANNEL_NOT_FOUND | Handle or URL does not resolve to a channel, or the channel was terminated | no |
NO_VIDEOS | The channel has none of the requested tabs, or they are empty | no |
BLOCKED | YouTube refused the request from every proxy tried | no |
FETCH_FAILED | Network or parsing failure | no |
Pricing
Pay per event: a small fixed amount per video item returned, plus Apify platform usage. Error items are free. Set a maximum total charge on the run and the actor stops cleanly at the limit.
Typical cost: a channel with 1,000 videos takes about 35 requests and a few seconds.
Notes
publishedAtis derived from the relative text YouTube shows ("2 years ago"), so it is only as precise as that text. For exact publish dates use the video page or a transcript/metadata actor on the video IDs.- View counts are rounded the way YouTube rounds them in lists ("1.3M views").
- The Live tab lists scheduled premieres as
upcomingwith the scheduled time inpublishedText. - The actor uses YouTube's own web data endpoints with datacenter proxies first and residential proxies only on a detected block, which keeps platform cost low.
Using it from code
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('serentity/youtube-channel-videos-scraper').call({ channelUrls: ['@NASA'], maxVideosPerChannel: 200 });const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((v) => [v.title, v.viewCount]));
Legal
The data is what YouTube shows to any visitor of a public channel page. No login, no personal data beyond the public channel name and handle. Use it in line with YouTube's terms of service.