Apify Store
AS
Apify Store
/streamers/youtube-channel-scraper

Fast YouTube Channel Scraper

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 an

liveverifiedasyncdegraded · 6.8s~30s typical
videossocial mediayoutubechannel
$0.0016
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.0013 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /streamers/youtube-channel-scraper for me.

Input

FieldTypeDescription
startUrls*arrayEnter a link to a <a href='https://www.youtube.com/c/Apify' target='_blank' rel='noopener'>channel</a>. You can also import a CSV file or Google Sheet with a list of URLs.<br>
maxResultsintegerLimit the number of regular videos (not streams, not shorts) you want to get from one channel. If you use several urls on the input you will get this number for each channel. default 0
maxResultsShortsintegerLimit the number of Shorts videos you want to get from the channel. default 0
maxResultStreamsintegerLimit the number of Stream videos you want to get from the channel. default 0
oldestPostDatestringOnly posts uploaded after or on this date will be scraped. Alternatively, specify how old the scraped videos should be in days. Putting <code>1 day</code> will get you only today's posts, <code>2 days</code> - yesterday's and today's, and so on. Note, that if you select this, sorting parameter will be auto-reset to NEWEST
sortVideosBystring (NEWEST | POPULAR | OLDEST)Maps to the sorting buttons on the top of the channel's 'Videos', 'Shorts' and 'Live' pages.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"apify","endpoint":"/streamers/youtube-channel-scraper","input":{"startUrls":[{"url":"https://www.youtube.com/@Apify"}],"maxResults":3,"maxResultsShorts":0,"maxResultStreams":0,"oldestPostDate":"2024-01-01","sortVideosBy":"NEWEST"},"wait":false}'
poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."
cli
npx cracked-ai run -p apify -e /streamers/youtube-channel-scraper -i '{"startUrls":[{"url":"https://www.youtube.com/@Apify"}],"maxResults":3,"maxResultsShorts":0,"maxResultStreams":0,"oldestPostDate":"2024-01-01","sortVideosBy":"NEWEST"}' -w 120
mcp
run_tool({ provider: "apify", endpoint: "/streamers/youtube-channel-scraper", input: {"startUrls":[{"url":"https://www.youtube.com/@Apify"}],"maxResults":3,"maxResultsShorts":0,"maxResultStreams":0,"oldestPostDate":"2024-01-01","sortVideosBy":"NEWEST"}, wait: false })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.