VOOZH about

URL: https://apify.com/dami_studio/youtube-scraper

โ‡ฑ YouTube Scraper - Search & Channel Videos, No Key ยท Apify


Pricing

$2.50 / 1,000 video returneds

Go to Apify Store

Scrape YouTube video metadata by search keyword or channel (URL, @handle, UC id): videoId, title, watch URL, channel, views, publish time, length, thumbnail. No API key.

Pricing

$2.50 / 1,000 video returneds

Rating

5.0

(1)

Developer

๐Ÿ‘ Dami's Studio

Dami's Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Scrape YouTube videos by search keyword or by channel (URL, @handle, or UCโ€ฆ id) using YouTube's internal InnerTube (youtubei/v1) JSON API. No API key, no cookies, no login. Auto-paginates via continuation tokens to reach your requested item count.

For every video it returns: videoId, title, watch url, channelName, channelId, viewCountText, publishedTimeText, lengthText, and the largest thumbnail.

What it does

  • Search mode โ€” give one or more keywords; each query returns up to maxItems matching videos.
  • Channel mode โ€” give one or more channels; each returns up to maxItems of its newest videos.

You can use either mode or both in a single run. Results are de-duplicated by videoId across all queries and channels, so you never pay for the same video twice in one run.

Input

FieldTypeDescription
searchQueriesstring[]Keywords to search, one per line. Optional if you supply channelUrls.
channelUrlsstring[]Channel URLs, @handles, or raw UCโ€ฆ ids. Optional if you supply searchQueries.
maxItemsintegerMax videos per query and per channel (1โ€“1000, default 50).
proxyConfigurationobjectProxy for all requests. Residential Apify Proxy is strongly recommended โ€” YouTube blocks datacenter/cloud IPs aggressively.

You must provide at least one of searchQueries or channelUrls. If both are empty the actor pushes an uncharged BAD_INPUT diagnostic row (it does not crash).

Example input

{
"searchQueries":["lofi hip hop","python tutorial"],
"channelUrls":["https://www.youtube.com/@LofiGirl","UCSJ4gkVC6NrvII8umztf0Ow"],
"maxItems":50,
"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}
}

Output

Each successful video is one dataset row with ok: true:

{
"ok":true,
"videoId":"n61ULEU7CO0",
"title":"lofi hip hop radio - beats to relax/study to",
"url":"https://www.youtube.com/watch?v=n61ULEU7CO0",
"channelName":"Lofi Girl",
"channelId":"UCSJ4gkVC6NrvII8umztf0Ow",
"viewCountText":"123,456 views",
"publishedTimeText":"2 years ago",
"lengthText":"1:02:33",
"thumbnail":"https://i.ytimg.com/vi/n61ULEU7CO0/hqdefault.jpg",
"mode":"search"
}

Nullable / empty fields

YouTube's modern channel grid uses a different layout than search results, so a few fields can come back as an empty string "" depending on which layout a video uses:

  • channelId โ€” may be empty for some channel-grid videos (the grid layout does not always carry the id).
  • viewCountText, publishedTimeText, lengthText โ€” may be empty for live streams, premieres, or radio-style "videos" that have no view count or fixed duration.
  • thumbnail โ€” falls back to https://i.ytimg.com/vi/<videoId>/hqdefault.jpg if no source URL is present, so it is rarely empty.

videoId, title, and url are always present on ok: true rows.

Pricing

This actor charges per returned video (pay-per-result). You are charged only for genuine ok: true video rows.

  • Blocked, rate-limited, network-error, and empty (NO_RESULTS) runs are never charged. When something goes wrong the actor pushes an ok: false diagnostic row with an errorCode instead of charging you.

Diagnostics

On any failure the actor pushes a diagnostic row (ok: false) carrying a clear errorCode rather than silently returning nothing:

errorCodeMeaning
BAD_INPUTNo searchQueries or channelUrls were provided.
BLOCKEDYouTube blocked the request (anti-bot / 403). Use a residential proxy.
RATE_LIMITEDHit a 429. The actor backed off and retried; lower volume or add a proxy.
SERVER_ERRORYouTube returned a 5xx. Usually transient โ€” retry later.
NO_RESULTSThe request succeeded but matched no videos for your input.
NETWORKA network error reaching YouTube.

Troubleshooting

  • Got NO_RESULTS or BLOCKED for a channel you know has videos? YouTube blocks cloud/datacenter IPs aggressively. Enable Apify Proxy with the RESIDENTIAL group and re-run โ€” this resolves the large majority of empty/blocked results.
  • RATE_LIMITED on large runs? A high maxItems (toward 1000) requires many paginated requests. Lower maxItems, run fewer queries per run, or keep the residential proxy on.
  • Channel won't resolve (BAD_INPUT: could not resolve channel)? Double-check the handle/URL, or pass the raw UCโ€ฆ channel id directly.

You might also like

๐Ÿ”ฅYoutube Advanced Search Scraper

aimscrape/youtube-search-video-scraper

Search YouTube and export a clean video list (video URL/ID, title, thumbnail, views text, publish date, duration, channel metadata) using an Apify Actor.

YouTube Channel Scraper - All Videos, No Login

dami_studio/youtube-channel-scraper

Scrape every video from any YouTube channel with no login, no API key, no cookies. Pass @handles, URLs or channel IDs and get title, views, publish date, length, channel and thumbnail. Export JSON/CSV/Excel. Pay per video - failed runs cost nothing.

2

YouTube Channel & Video Scraper โ€” Stats, No API Key

vujeen/youtube-channel-video-scraper

Scrape public YouTube data without an API key: channel profiles (subscribers, description) and video stats (views, likes, duration, publish date, category, keywords). By channel, @handle or video URL. No login, no quota.

3

YouTube Channel Scraper

khadinakbar/youtube-channel-scraper

Scrape public YouTube channel profiles and recent video listings by URL, channel ID, or @handle. Returns subscribers, views, links, country, tags, and videos. No cookies required. MCP-ready.

๐Ÿ”ฅ Fast Youtube Channel Video Scraper ๐Ÿš€

aimscrape/youtube-channel-video-scraper

Scrape any public YouTube channel /videos page and export video URLs/IDs, titles, thumbnails, views text, and publish dates. Supports @username, UC channelId, and channel URLs.

YouTube Scraper

jungle_synthesizer/youtube-scraper

Scrape YouTube videos, channels, and metadata without an API key. Search by keyword or scrape a full channel's video catalogue. Returns structured records with video ID, title, description, view count, like count, channel, duration, publish date, and thumbnail URLs.

๐Ÿ‘ User avatar

BowTiedRaccoon

2