Data catalog › Social media & ads › YouTube Videos | Views, Length & Channels
Social media & ads · public web tool
YouTube Videos | Views, Length & Channels
YouTube 视频|播放量、时长及频道
A spreadsheet of public YouTube videos for a topic search or one channel's uploads, one row per video with views, length and the age shown by YouTube.
- Source
- Pages and data you supply
- Coverage
- Search YouTube videos, list channel videos, and collect public channel details, comments, replies, and available transcripts. Pay per delivered row plus a start fee.
- Collection modes
- Search by keyword, List channel videos, Collect known videos and transcripts, Discover popular topics
- Row contract
- 1 row = 1 entity. Each row is one public YouTube video, with viewing numbers and publication details to help you compare topics.
- Columns
- 108 documented output fields; the free sample has 24 columns collected 2026-11-26
- Order size
- 1 to 100,000 rows per order on the shop (default 200)
Overview
You get a file with one row per public YouTube video, read from search results and the Videos tab on channel pages. You can compare videos about a topic or review a channel's uploads.
You can see what each video is about and which channel published it. View counts and video lengths help you compare reach and format. You get the age shown by YouTube, such as 3 months ago. The exact date and time are included only if the video page shows them without sign-in, so they may be empty. Video links and thumbnail image links let you review the results.
You can choose from 44 YouTube countries, with search results in the chosen country's main language. Channel uploads come from the Videos tab, newest first.
What the file contains
- Videos and channels. You can see each video's title and channel, with a description and links to the video and channel pages.
- Views and video length. You can compare the number of views and the length of each video to see how videos differ.
- Publication details. You get the age shown by YouTube, such as 3 months ago; the exact date and time appear only if visible without sign-in and may be empty.
- Images and search context. You get thumbnail image links and the country and language used for the search, with whether a video is live or a Short.
What does YouTube Scraper do?
YouTube Scraper collects public data from youtube.com for content research, channel monitoring, and transcript analysis. You can combine several inputs in one run. Each row represents one video, channel, or comment; replies are comment rows too.
- Search: use
searchQuerieswith optional date, duration, and result-type filters. - Channels: use
channelUrlsto list videos, shorts, streams, or all three tabs. - Known videos: use
videoUrlsfor specific videos, optionally adding details or captions. - Popular topics: enable
includeTrendingfor topic-based discovery in the market selected bygl. - Extra rows:
includeComments,includeRelated, andincludeChannelAboutare off by default. Every extra row costs the same as a video row and uses the originating input's allowance. Replies are enabled when comments are enabled, unless you turn offincludeCommentReplies.
Transcripts are fields on video rows, not extra billed rows. Use discovery first, review the titles, then request details or transcripts for a shortlist.
What data can you extract from YouTube?
Every row has rowType and a stable id. The same rowType and id pair is deduplicated. Optional fields depend on what YouTube exposes and which options you enable.
Video rows
| Field | Description | Example |
|---|---|---|
videoId | YouTube video identifier. | XVv6mJpFOb0 |
title | Video title. | Example tutorial |
url | Video watch URL. | https://www.youtube.com/watch?v=XVv6mJpFOb0 |
channelName | Public channel name. | Example Channel |
viewCount | Parsed count; zero can mean unavailable. | 12500 |
durationSeconds | Video length in seconds. | 480 |
publishedAt | Publishing date or estimated date. | 2026-09-12 |
publishedAtApproximate | Whether the date came from relative text. | true |
description | Search snippet or fuller description. | Example lesson description |
chapters | Chapter titles and starting times, when available. | [{"title":"Intro","startMs":0}] |
transcript | Caption segments; at most 50 are retained. | [{"text":"Example caption","start":0,"duration":2}] |
transcriptText | Joined caption text, subject to size limits. | Example caption |
transcriptLanguage | Language actually returned. | en |
enrichmentLevel | Enrichment applied to the video. | transcript |
Channel rows
| Field | Description | Example |
|---|---|---|
channelId | Channel identifier. | UCXXXXXXXXXXXXXXXXXXXXXX |
channelName | Public channel name. | Example Channel |
channelUrl | Public channel link. | https://www.youtube.com/@Example |
handle | Channel handle, when available. | @Example |
subscriberCount | Parsed subscriber count. | 15000 |
totalViews | Channel lifetime views, when shown. | 800000 |
videoCount | Channel video count, when shown. | 120 |
links | Public links listed by the channel. | [{"title":"Website","url":"https://example.com"}] |
Comment and reply rows
| Field | Description | Example |
|---|---|---|
commentId | Comment or reply identifier. | example-comment-id |
videoId | Parent video identifier. | XVv6mJpFOb0 |
authorName | Public author display name. | Jane Doe |
text | Comment text. | Example comment text |
isReply | Whether this row is a reply. | true |
parentCommentId | Parent comment for a reply. | example-parent-id |
rootCommentId | Top-level comment in the thread. | example-parent-id |
likeCount | Likes when exposed. | 12 |
How to scrape YouTube
- Open YouTube Scraper in Apify Console.
- Fill one target field, such as
searchQueries. - Set
maxResultsto3for a small first run. - Click Start and wait for completion.
- Open the dataset and download the rows or read them through the API.
With no target filled, the Actor reads the sample channel https://www.youtube.com/@freecodecamp (videos tab), limited to three rows. This example uses normal pricing, including the start fee. Filling a target selects the matching collection path automatically; no separate mode selection is needed. Mixed inputs are supported.
Search by keyword
Enter topics in searchQueries. Use gl for the market and hl for the interface language. For example, gl: "JP" selects Japan; when hl is omitted, the Actor selects a language for the market. These settings are separate from caption language.
List channel videos
Enter public channel links, channel IDs, or handles in channelUrls. Select channelTab: videos, shorts, streams, or all. All tabs share one allowance per channel. Enable includeChannelAbout to add a channel row before its videos.
Collect known videos and transcripts
Enter watch, shorts, live, embed, or youtu.be links, or 11-character IDs, in videoUrls. Enable scrapeDetails for richer metadata and includeTranscript for captions. Caption extraction can fall back to another available language; check the returned transcriptLanguage.
Discover popular topics
Set includeTrending to true and choose gl. Results come from popular topic hubs, not a complete ranked list of everything trending. Rows may include trendingTopic. Trending counts as one input.
What you can do with it
- Sort by number of views to see which videos attract the most attention.
- Compare video lengths for videos about the same topic.
- Count videos by channel to compare how often each channel appears.
Why use this YouTube scraper?
- Research in stages. Discover first, then enrich a shortlist rather than requesting every optional field immediately.
- Several inputs together. Combine keywords, channels, and known videos in one run.
- Consistent billing. Each delivered row uses the same price, including comments and replies.
- Visible input handling. Inspect
INPUT_REPORTfor corrections and ignored fields. - No proxy setup. You do not need to set up proxies.
- Keep delivered results. A run that reaches its timeout delivers the rows collected so far and gives you a cursor to continue.
中文简介
每条是一个 YouTube 公开视频,提供播放量和发布信息,方便比较主题。填写“搜索词”或“频道”,选择“YouTube 国家”,搜索时还可选“上传时间范围”。
你会得到一份文件,每条是一个 YouTube 公开视频,来自搜索结果和频道页面的“视频”标签页。你可以比较同一主题的视频,或查看某频道上传的内容。
你可以了解每个视频的内容和发布频道,通过播放量与时长比较传播范围和形式。文件提供 YouTube 显示的已发布时长,例如 3 个月前。仅当视频页无需登录就能看到确切日期和时间时才会提供这些信息,因此可能为空。视频链接和缩略图链接方便查看结果。
可选 44 个 YouTube 国家,搜索结果使用所选国家的主要语言。频道上传内容来自“视频”标签页,最新的在前。
- 视频与频道:你可以查看各视频的标题、频道和介绍,以及视频与频道页面链接。
- 播放量与时长:你可以比较各视频的播放量和时长,了解视频之间的差异。
- 发布信息:你会得到 YouTube 显示的已发布时长,如 3 个月前;确切日期和时间仅在无需登录即可见时提供,可能为空。
- 图片与搜索范围:你会得到缩略图链接、搜索所用国家和语言,以及视频是否为直播或 Short。
用法:按播放量从高到低排序,查看哪些视频吸引的关注最多。 比较相同主题的视频的时长。 按频道统计视频数,比较各频道出现的频率。
Where to get it
Every link below is a direct link to the live channel page for this source.
| Channel | Link |
|---|---|
| OpenData Shop | Order as CSV or Excel (English product page) |
| OpenData Shop | 中文商品页 |
| Free sample | Online sample preview |
| Free sample | Download the sample CSV (no login) |
| Apify Store | Apify Actor youtube-research-scraper |
| n8n | n8n-nodes-opendata-actors (OpenData Catalog node, source youtube-research-scraper) |
| Wiki | Encyclopedia article for this Actor / Worker |
| Wiki | Directory of all public Apify Actors and Workers |
| Hugging Face | Sample CSV on Hugging Face |
| Hugging Face | Product documentation on Hugging Face |
| GitHub | Product documentation on GitHub |
Encyclopedia article with every channel side by side: YouTube Videos | Views, Length & Channels (wiki).
Input parameters
All 37 parameters of the Apify Actor lentic_clockss/youtube-research-scraper, read from its input schema. The shop form, the MCP tool and the APIs accept the same fields.
| Parameter | Title | Type | Default and allowed values | What it does |
|---|---|---|---|---|
| What to collect | ||||
searchQueries | Search queries | array / stringList | — | Keywords to search on YouTube. Each distinct query gets its own maxResults row allowance; comma- or newline-separated text is also accepted. |
channelUrls | Channel URLs | array / stringList | form prefill ["https://www.youtube.com/@freecodecamp"] | Public channel links, @handles, or channel IDs starting with UC. Each distinct input has one maxResults allowance shared by all selected tabs and any extra rows. |
videoUrls | Video URLs | array / stringList | — | YouTube watch, shorts, live, embed, or youtu.be links, or 11-character video IDs. Each distinct input has one maxResults allowance shared by its video, comments, replies, and related videos. |
includeTrending | Include trending / popular topics | boolean / checkbox | — | Discover popular videos from topic hubs for the market selected by gl. This counts as one input, and rows may include trendingTopic. |
trendingMaxResults | Trending candidate cap (optional) | integer | — 1 to 200 | Optional smaller limit on popular-topic candidates, from 1 to 200. If omitted, the smaller of maxResults and 200 is used. |
maxResults | Maximum rows per input | integer | default 70form prefill 31 to 1000 | Maximum rows delivered and billed for each distinct query, channel URL, video URL, or trending input; extra channel, comment, reply, and related-video rows share that allowance. The run also stops at your maximum cost, and Free plan runs are capped at 200 rows. |
| Search filters and market | ||||
gl | Market country (gl) | string / textfield | default "US"form prefill "US" | Two-letter country code for YouTube search and popular-topic results, such as US, GB, DE, JP, BR, or IN. |
hl | Interface language (hl) | string / textfield | — | Language for YouTube results, such as en, de, ja, or pt-BR; this is separate from transcriptLanguage. Leave empty to select a language for the market in gl. |
proxyCountry | Country override | string / textfield | — | Optional two-letter country override for country-specific collection. Leave empty to use the selected market. |
uploadDate | Upload date filter | string / select | default "any"any Any time, hour Last hour, today Today, week This week, month This month, year This year | Restrict search to the selected relative publishing period. The Actor does not automatically widen the period. |
resultType | Result type filter | string / select | default "any"any Any, video Videos, channel Channels, playlist Playlists, movie Movies, short Shorts | Select the YouTube search filter. A playlist filter does not export playlists; rows represent videos, channels, or comments. |
duration | Duration filter | string / select | default "any"any Any, short Short (under 4 min), medium Medium (4-20 min), long Long (over 20 min) | Filter search by video length: short is under about 4 minutes, medium is 4–20 minutes, and long is over about 20 minutes. |
channelTab | Channel tab | string / select | default "videos"videos Videos, shorts Shorts, streams Live streams, all All tabs | Select videos, shorts, streams, or all tabs. All selected tabs share the channel input's maxResults allowance. |
| Channel, comments and enrichment options | ||||
includeChannelAbout | Include channel about | boolean | default false | Add a public channel-information row before the channel's video rows. This row is billed at the same price and uses the channel input's allowance. |
useProxyForSearch | Use country setting for search | boolean | default false | Apply the country setting to search and channel results. Leave off unless you need country-specific results. |
concurrency | Enrichment concurrency | integer | default 61 to 16 | Maximum video enrichment operations to perform at once, from 1 to 16. This does not change the row allowance. |
includeComments | Include comments | boolean | default false | Add comments as separate rowType=comment rows, including replies when enabled. Each row is billed and uses the originating input's maxResults allowance. |
maxComments | Max top-level comments | integer | default 00 to 20000 | Maximum top-level comments considered per video. Zero uses the 20,000-comment safety limit, but maxResults and the run's remaining allowance take precedence. |
includeCommentReplies | Include comment replies | boolean | default false | Include separate reply rows when includeComments is enabled. Replies use the same allowance and price as other rows. |
maxRepliesPerComment | Max replies per comment | integer | default 00 to 2000 | Maximum replies considered per top-level comment. Zero uses the 2,000-reply safety limit, but maxResults and the run's remaining allowance take precedence. |
commentSort | Comment sort | string / select | default "top"top Top comments, newest Newest first | Sort comments by top comments or newest first. |
includeRelated | Include related videos | boolean | default false | Add related videos as separate video rows with parentVideoId, parentVideoTitle, and parentVideoUrl. Each row is billed and uses the originating input's allowance. |
maxRelated | Max related videos | integer | default 200 to 100 | Maximum related videos considered per source video, from 0 to 100. The originating input's remaining maxResults allowance takes precedence. |
scrapeDetails | Scrape video details | boolean | default false | Request richer video metadata, including publishing dates, descriptions, categories, and counts when available. Use a shortlist to avoid enriching videos you do not need. |
includeTranscript | Include transcript | boolean | default false | Request available captions as fields on the video row, without an extra row charge. At most 50 segments are retained; joined text is capped at 100,000 characters and may be shortened further. |
transcriptLanguage | Transcript language | string / textfield | default "en"form prefill "en" | Preferred caption language, such as en, es, fr, de, ja, or pt. Another available track may be returned; check transcriptLanguage in the output row. |
includeEngagement | Include engagement metrics | boolean | default false | Include available likes, subscriber counts, comment counts, and view counts when scrapeDetails is enabled. |
includeStructure | Include content structure | boolean | default false | Include available chapters, heatmaps, topics, hashtags, and rich descriptions when scrapeDetails is enabled. |
includePlaybackMeta | Include playback metadata | boolean | default false | Include available storyboard and playback information when scrapeDetails is enabled. Some videos do not expose this information. |
includeFormats | Include stream formats | boolean / checkbox | — | Include available video and audio format information with playback metadata; this follows includePlaybackMeta unless explicitly set. Format lists may be empty and do not guarantee downloadable media. |
includeCardsEndscreen | Include cards & end screen | boolean | default false | Include available in-video cards and end-screen recommendations when scrapeDetails is enabled. |
| Additional information | ||||
includeUpdatedMetadata | Refresh video metrics | boolean / checkbox | default false | Refresh available counts for collected videos, excluding related videos. Adds updatedMetadata and updates available row values without adding rows. |
includeResolveHandle | Resolve channel handles | boolean / checkbox | default false | Resolve channel links or handles to channel identifiers. Use includeChannelAbout to include the resolved fields on channel rows; resolution information also appears in the run summary. |
includeGuide | Include guide | boolean / checkbox | default false | Add up to 50 topic and category navigation entries for the selected market to the run summary. This does not add rows. |
| Developer testing | ||||
runMode | Collection mode | string / select | default "real"real Live YouTube data, fixture Offline sample data | Leave set to real for normal collection. The fixture option is used only by the developer for offline testing. |
workerBaseUrl | Test URL override | string / textfield | — | Leave empty. Used only by the developer for testing. |
cursor | Continue from cursor | string / textfield | — | Continue a run that stopped at its time limit or was aborted gracefully: paste RUN_SUMMARY.nextCursor from that run and keep the rest of the input the same. A cursor works once and is valid for 6 hours. Usually leave empty. |
Example input
Search example
{
"searchQueries": [
"ai workflow automation"
],
"maxResults": 3
}
Channel example
{
"channelUrls": [
"https://www.youtube.com/@freecodecamp"
],
"channelTab": "videos",
"maxResults": 3
}
Video and transcript example
{
"videoUrls": [
"https://www.youtube.com/watch?v=XVv6mJpFOb0"
],
"scrapeDetails": true,
"includeTranscript": true,
"transcriptLanguage": "en",
"maxResults": 1
}
Output fields
108 fields from the dataset schema. Optional fields stay empty when the source does not publish them; nothing is estimated.
| Field | Type | Title | Description | In sample |
|---|---|---|---|---|
rowType | string | Row type | Type of row: video, channel, or comment. Replies use the comment type. Values: video, channel, comment | yes |
id | string | Entity ID | Stable ID for the billed row. | yes |
commentId | string | null | Comment ID | YouTube comment identifier for comment rows. | |
parentCommentId | string | null | Parent comment ID | Parent comment for reply rows. | |
rootCommentId | string | null | Root comment ID | Top-level comment for a comment thread. | |
isReply | boolean | null | Is reply | Whether a comment row is a reply. | |
authorName | string | null | Comment author | Public author display name. | |
authorChannelId | string | null | Author channel ID | Public author channel identifier when available. | |
text | string | null | Comment text | Public comment text. | |
replyCount | integer | null | Reply count | Reply count exposed by YouTube. | |
repliesCount | integer | null | Replies emitted | Reply rows delivered in this run for this top-level comment; null when replies stream as separate rows because the count is unknown when the parent is emitted; 0 when there are no replies or replies are disabled. | |
videoTitle | string | null | Parent video title | Parent video title copied onto comment rows. | |
videoUrl | string | null | Parent video URL | Parent video URL copied onto comment rows. | |
parentVideoId | string | null | Parent video ID | Seed video for related-video rows. | |
parentVideoTitle | string | null | Parent video title | Seed video title for related-video rows. | |
parentVideoUrl | string | null | Parent video URL | Seed video URL for related-video rows. | |
videoId | string | Video ID | YouTube 11-character video identifier. | yes |
title | string | Title | Video title. | yes |
url | string | Video URL | Canonical YouTube watch URL. | yes |
channelName | string | null | Channel name | Name of the YouTube channel. | yes |
channelId | string | null | Channel ID | YouTube channel identifier when available. | yes |
channelUrl | string | null | Channel URL | Public channel URL when available. | yes |
viewCount | integer | null | View count | Parsed numeric view count when available. | yes |
duration | string | null | Duration | Raw duration label such as 12:34. | yes |
durationSeconds | integer | null | Duration seconds | Duration converted to seconds when available. | yes |
publishedText | string | null | Published text | Raw relative publish label such as 2 years ago. | yes |
publishedAt | string | null | Published at | ISO publish timestamp/date when available or approximated from relative text (see publishedAtApproximate). | yes |
publishedAtApproximate | boolean | null | Published at is approximate | True when publishedAt was derived from a relative label like '2 years ago' (day-precision estimate, T00:00:00Z), not a real timestamp. | |
description | string | null | Description | Video description or search snippet. | yes |
thumbnailUrl | string | null | Thumbnail URL | Video thumbnail URL. | yes |
category | string | null | Category | YouTube video category when detail enrichment returns it. | yes |
isLive | boolean | null | Is live | Whether YouTube marks the video as live content. | yes |
isShort | boolean | null | Is short | Whether the row is treated as a YouTube Short. | yes |
keywords | array | null | Keywords | Video keywords when available; at most 50 entries are retained. | |
availableCountries | array | null | Available countries | Countries where YouTube says the video is available; at most 50 entries are retained. | |
gl | string | null | Market gl | Market country code used for this scrape. | yes |
hl | string | null | Language hl | Interface language code used for this scrape. | yes |
comments | array | null | Comments | Nested comments retained for compatibility with older output. Current runs write comments and replies as separate rows. | |
commentCountEstimated | integer | null | Estimated comment count | YouTube header estimate when available. | |
commentsFetched | integer | null | Comments fetched | Total comment + reply rows fetched for this video. | |
relatedVideos | array | null | Related videos | Nested related videos retained for compatibility with older output. Current runs write related videos as separate video rows. | |
trendingTopic | string | null | Trending topic | Topic hub that produced this row when includeTrending is on (gaming, sports, news, …). | |
source | string | Source | Input or collection category that produced the row, such as search, channel, detail, or comments. Values: search, channel, detail, trending, related, comments | yes |
detailSource | string | null | Detail source | Metadata source label when available. Values: oembed, html, innertube-web, innertube-mweb, innertube-android, innertube-android_vr, innertube-ios, fixture, | |
scrapedAt | string | Scraped at | UTC timestamp when the row was scraped. | yes |
recordVersion | string | null | Record version | Dataset record schema version emitted by the Actor. | yes |
enrichmentLevel | string | null | Enrichment level | Enrichment level applied to the row, such as base, detail, or transcript. Values: base, detail, transcript, | |
transcript | array | null | Transcript segments | Available caption segments with text, start time, and duration in seconds. At most 50 segments are retained; transcriptSegmentCount records the count before this limit. | |
transcriptLanguage | string | null | Transcript language | Language code for the transcript that was actually returned. | |
transcriptText | string | null | Transcript text | Joined caption text, initially limited to 100,000 characters. The row-size limit can shorten it further. | |
likeCount | integer | null | Like count | Like count exposed by YouTube for the video or comment. | |
likeStatus | string | null | Like status | Like button state when present. | |
viewCountExact | integer | null | View count (exact) | Numeric video view count when exposed by YouTube. | |
commentCountExact | integer | null | Comment count (best effort) | Video comment count when exposed by YouTube. This field may be absent even when comments exist. | |
commentCount | integer | null | Comment count | Refreshed video comment count when includeUpdatedMetadata returns it. Kept separately from commentCountExact and commentCountEstimated. | |
subscriberCount | integer | null | Subscriber count | Channel subscriber count parsed to integer. | |
subscriberCountText | string | null | Subscriber count text | Raw subscriber count label e.g. 4.54M subscribers. | |
chapters | array | null | Chapters | Video chapters [{title,startMs,thumbnailUrl}]. | |
heatmap | array | null | Heatmap | Retention heatmap markers [{startMs,durationMs,intensity}]. | |
topics | array | null | Topics | Topic labels associated with the video, when available. | |
hashtags | array | null | Hashtags | Hashtag tiles. | |
descriptionRich | string | null | Description (rich) | Expanded video description with links and timestamps when available. | |
structuredDescription | boolean | null | Structured description | Whether YouTube provided a structured description for the video. | |
cards | array | null | Cards | In-video info cards [{teaser,startMs}]. | |
endscreen | array | null | End screen | End-screen recommendations [{videoId,title}]. | |
transcriptSearchIndex | array | null | Transcript search index | Searchable transcript panel data. | |
formats | array | null | Formats | Available video and audio format information, such as quality, dimensions, bitrate, and media references. A format entry does not guarantee a usable download URL. | |
formatsGate | string | null | Format availability reason | Reason format information was unavailable, such as login_required or unplayable, when reported by YouTube. Values: login_required, unplayable, error, age_check_required, content_check_required, live_stream_offline, video_unavailable, unknown, | |
playabilityStatus | object | null | Playability status | YouTube playback status and reason when the video could not be played. | yes |
storyboards | array | null | Storyboards | Available thumbnail-grid information for previewing positions in a video. | |
playbackTracking | object | null | Playback tracking | Playback tracking metadata supplied by YouTube when available. | |
playerConfig | object | null | Player config | Playback configuration supplied by YouTube when available. | |
updatedMetadata | object | null | Updated metadata | Refreshed video metrics when includeUpdatedMetadata is enabled. Available counts also update the row's existing values. | |
commentsDiagnostics | object | null | Comments diagnostics | Comment collection information when present, including counts, sorting, truncation, and errors. | |
rowTruncatedFields | array | null | Row truncated fields | Field names trimmed or dropped to keep the row under the size cap. | |
rowOversizeReduced | boolean | null | Row oversize reduced | True when a row exceeded 250,000 bytes and was reduced to smaller fields. | |
handle | string | null | Channel handle | @handle on channel rows (includeChannelAbout). | |
canonicalUrl | string | null | Canonical URL | Canonical channel URL on channel rows. | |
vanityChannelUrl | string | null | Vanity channel URL | Vanity /custom URL on channel rows. | |
joinedDate | string | null | Joined date | Channel join date in ISO form when about-page parsing yields it. | |
joinedDateText | string | null | Joined date text | Raw 'Joined Mon D, YYYY' label from the about panel. | |
joinedText | string | null | Joined text | Alias of joinedDateText kept for backwards compatibility. | |
country | string | null | Channel country | Country label from the channel about panel. | |
links | array | null | Channel links | Outbound links on the channel about panel [{title, url}]. | |
bannerUrl | string | null | Banner URL | Channel banner image URL. | |
totalViews | integer | null | Channel total views | Channel-level lifetime views parsed from the about panel. | |
videoCount | integer | null | Channel video count | Channel video count parsed from the about panel. | |
videoCountText | string | null | Channel video count text | Raw video count label such as '1,007 videos'. | |
viewCountText | string | null | Channel view count text | Raw total views label on channel rows. | |
resolvedChannelId | string | null | Resolved channel ID | Channel ID resolved via includeResolveHandle. | |
resolvedCanonicalUrl | string | null | Resolved canonical URL | Canonical channel URL resolved via includeResolveHandle. | |
resolvedHandle | string | null | Resolved handle | @handle resolved via includeResolveHandle. | |
authorIsVerified | boolean | null | Comment author verified | Whether YouTube shows a verification badge for the comment author, when available. | |
entityKey | string | null | Comment entity key | YouTube identifier associated with the comment, when available. | |
pinnedText | string | null | Pinned text | Pinned-comment badge label when present. | |
keywordsCount | integer | null | Keywords count | Number of keywords entries before the list is limited to 50 entries. | |
availableCountriesCount | integer | null | Available countries count | Number of availableCountries entries before the list is limited to 50 entries. | |
chaptersCount | integer | null | Chapters count | Number of chapters entries before the list is limited to 50 entries. | |
heatmapCount | integer | null | Heatmap count | Number of heatmap entries before the list is limited to 50 entries. | |
topicsCount | integer | null | Topics count | Number of topics entries before the list is limited to 50 entries. | |
hashtagsCount | integer | null | Hashtags count | Number of hashtags entries before the list is limited to 50 entries. | |
cardsCount | integer | null | Cards count | Number of cards entries before the list is limited to 50 entries. | |
endscreenCount | integer | null | Endscreen count | Number of endscreen entries before the list is limited to 50 entries. | |
transcriptSearchIndexCount | integer | null | Transcript search index count | Number of transcriptSearchIndex entries before the list is limited to 50 entries. | |
formatsCount | integer | null | Formats count | Number of formats entries before the list is limited to 50 entries. | |
storyboardsCount | integer | null | Storyboards count | Number of storyboards entries before the list is limited to 50 entries. | |
transcriptSegmentCount | integer | null | Transcript segment count | Number of transcript entries before the list is limited to 50 entries. | |
linksCount | integer | null | Links count | Number of links entries before the list is limited to 50 entries. |
Sample preview
All 3 rows of the free sample, collected 2026-11-26, shown one column per line. Columns that name or contact individual people were removed and email addresses masked before publishing. Download the full sample CSV.
| Column | Row 1 | Row 2 | Row 3 |
|---|---|---|---|
videoId | XlLqJwJHjp0 | mMwscUNKbPk | 38OWOIZOvZ8 |
title | How To Make Pour Over Coffee - SIMPLE V60 Brew Tutorial | How To Avoid A Bad Pour Over Brew | My daily pourover recipe (super simple & easy to remember) |
url | https://www.youtube.com/watch?v=XlLqJwJHjp0 | https://www.youtube.com/watch?v=mMwscUNKbPk | https://www.youtube.com/watch?v=38OWOIZOvZ8 |
channelName | Mirror Coffee Roasters | James Hoffmann | Roaster Kat |
channelId | UC0JFSdEj_yV43g0-d_WfNTQ | UCMb0O2CdPBNi-QqPk5T3gsQ | UCVY9i3lgTlPIDsvkybOkfMQ |
channelUrl | https://www.youtube.com/channel/UC0JFSdEj_yV43g0-d_WfNTQ | https://www.youtube.com/channel/UCMb0O2CdPBNi-QqPk5T3gsQ | https://www.youtube.com/channel/UCVY9i3lgTlPIDsvkybOkfMQ |
viewCount | 986207 | 515202 | 147225 |
duration | 4:06 | 13:18 | 8:25 |
durationSeconds | 246 | 798 | 505 |
publishedText | 6y ago | 7mo ago | 2mo ago |
publishedAt | |||
description | Shop our coffees: https://mirrorcoffeeroasters.com/ You may have heard of pour over coffee and now you're interested in brewing ... | You've opened a fresh bag of coffee, ground at your usual settings, started your pour over and straight away... you can see it is ... | Most days I drink 1-2 cups of coffee, and this is my tried and true brewing method for pourovers. It's easy to remember, simple to ... |
thumbnailUrl | https://i.ytimg.com/vi/XlLqJwJHjp0/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCNgvLWKNqGIDAhW3sjtN… | https://i.ytimg.com/vi/mMwscUNKbPk/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCklN-Yg8Mj2aXGtz_CRn… | https://i.ytimg.com/vi/38OWOIZOvZ8/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLBQoXDttRo2_acZCW5bHK… |
category | |||
isLive | false | false | false |
isShort | false | false | false |
source | search | search | search |
scrapedAt | 2026-11-26T00:06:43.232682+00:00 | 2026-11-26T00:06:43.232737+00:00 | 2026-11-26T00:06:43.232763+00:00 |
playabilityStatus | {"status":"LOGIN_REQUIRED","reason":"Sign in to confirm you’re not a bot"} | {"status":"LOGIN_REQUIRED","reason":"Sign in to confirm you’re not a bot"} | {"status":"LOGIN_REQUIRED","reason":"Sign in to confirm you’re not a bot"} |
rowType | video | video | video |
id | XlLqJwJHjp0 | mMwscUNKbPk | 38OWOIZOvZ8 |
recordVersion | 1.0 | 1.0 | 1.0 |
gl | US | US | US |
hl | en | en | en |
MP4 video files, audio tracks, private YouTube Studio analytics and creator emails or phone numbers are not included.
Use it from Claude and Gemini
This source is not on the OpenData MCP server yet. Claude and Gemini can still run the Apify Actor lentic_clockss/youtube-research-scraper through the Apify MCP server with your own Apify token.
Prompt to collect data
Use the OpenData MCP server to collect YouTube Videos data. Request: Search terms: pour over coffee; YouTube country: United States. Return up to 20 rows (one row per entity) as a table with these columns: videoId, title, url, channelName, channelId, channelUrl, viewCount, duration, durationSeconds, publishedText. Tell me how many rows were delivered and what they cost before showing them.Prompt to analyse the CSV
I attached a CSV export of YouTube Videos (24 columns, one row per entity). Sort by number of views to see which videos attract the most attention. Compare video lengths for videos about the same topic. Count videos by channel to compare how often each channel appears. Use only the values in the file and point out empty columns instead of guessing. Note: MP4 video files, audio tracks, private YouTube Studio analytics and creator emails or phone numbers are not included.n8n, Clay and Make
All three run the Apify Actor lentic_clockss/youtube-research-scraper with your Apify token. Set a spending cap with maxTotalChargeUsd: the run stops when it reaches that amount, and you pay only for delivered rows.
Apify API (any tool that can send HTTP)
curl -X POST "https://api.apify.com/v2/acts/lentic_clockss~youtube-research-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"searchQueries": ["ai workflow automation"], "maxResults": 3}'
n8n
- Add the Apify node (Apify n8n integration), choose Run an Actor and get dataset, and enter Actor
lentic_clockss/youtube-research-scraper. - Paste the example input above as the Input JSON and set the memory and timeout you need.
- Or install the n8n-nodes-opendata-actors community node: it exposes the main inputs as fields and a Max Total Charge (USD) setting sent as
maxTotalChargeUsd(default $1). It covers a growing set of these Actors; use the Apify node for the rest.
Clay
Add the Run Apify Actor enrichment from Clay's Apify integration, choose the Actor and paste this input. Replace the {{…}} placeholder with a column reference (type / in Clay).
{
"actorId": "lentic_clockss/youtube-research-scraper",
"input": {
"searchQueries": [
"{{Search queries}}"
],
"maxResults": 3
}
}
Make
- Add the Apify module Run an Actor (Apify Make integration), pick
lentic_clockss/youtube-research-scraper, paste the input JSON and turn on Run synchronously. - Add Get Dataset Items with the run's
defaultDatasetId. - Send the rows to Google Sheets, Airtable or your CRM with an iterator.
Pricing, billing and limits
- Billing unit: one delivered row is one billable unit on every channel. A confirmed empty result, an input error, a source failure or a timeout creates no billable rows.
- OpenData Shop: the first 1,000 rows cost $5.00 per 1,000 and additional rows $3.00 per 1,000, with a $1.00 minimum; the product page shows the exact price before you pay. If fewer rows are delivered than you paid for, the amount for the missing rows is credited to your account balance automatically (refund policy).
- Apify: $0.0015 per delivered row on the Free plan plus a $0.005 start event per GB of memory; the run stops at your
maxTotalChargeUsd.
How much does it cost to scrape YouTube?
The Actor uses pay-per-event pricing: $0.005 per start event, plus the row price below. Platform usage is included in these prices.
| Apify plan | Price per row | Price per 1,000 rows |
|---|---|---|
| Free | $0.0015 | $1.50 |
| Starter | $0.00135 | $1.35 |
| Scale | $0.0012 | $1.20 |
| Business | $0.00105 | $1.05 |
| Platinum | $0.00105 | $1.05 |
| Diamond | $0.00105 | $1.05 |
Start billing is one event per GB of allocated memory, with a minimum of one. At the default 512 MB, one start costs $0.005. Video details and transcripts do not add a separate row charge; channel, comment, reply, and related-video rows each count separately.
maxResultsapplies to each distinct input, defaults to70, and accepts up to1,000. Larger collections are processed in parts.- All row types from one input share its allowance. A video can consume the only available row when
maxResultsis1, leaving no room for comments. - Free Apify plan runs are capped at 200 rows across all inputs.
- The run also stops at your Maximum cost per run (
maxTotalChargeUsdin the API). Fewer available results can mean fewer rows. - The Apify Free plan includes $5.00 in monthly usage credit (about 3,333 rows at
$0.0015per row across Free-plan runs capped at 200 rows per run).
Example: three keywords delivering 50 rows each produce 150 rows. At 512 MB with one start, the cost is 150 × $0.0015 + $0.005 = $0.230 on the Free plan.
What happens when the run timeout is too short
If your run timeout ends before everything is collected, the run does not fail. It stops shortly before the timeout, delivers every row collected so far to the dataset, and finishes as SUCCEEDED. You are charged only for the rows it delivered.
To get the rest, run the Actor again with the same input and set cursor to the value of nextCursor from the run's RUN_SUMMARY record (key-value store). The new run first delivers rows that were already collected, then collects what is left. Rows are never delivered or charged twice. A cursor can be used once and is valid for 6 hours; after that, a run with the same input starts from the beginning.
RUN_SUMMARY also tells you why the run stopped early: partial: true and partialReason: "run_timeout".
Stopping a run yourself? Use Abort gracefully (Console) or POST /v2/actor-runs/{runId}/abort?gracefully=true (API). The run then keeps the rows collected so far and writes a cursor the same way. A plain abort stops the run immediately and delivers nothing.
Calling the Actor synchronously (run-sync, run-sync-get-dataset-items) works as usual: you get the rows delivered before the timeout.
Limitations
- You can enter up to 10 Search terms and 10 Channels per order across 44 selectable YouTube countries; leaving YouTube country empty uses United States.
- Uploaded within applies only to Search terms, and the form has no Shorts-only filter or choice of sorting order.
- MP4 video files, audio tracks, private YouTube Studio analytics and creator emails or phone numbers are not included.
- No login is used, and you can request 1 to 100,000 rows, though a search or channel may contain fewer videos.
- Search filters do not guarantee matching rows. The
playlistfilter is not a playlist export; delivered row types remain video, channel, and comment. - Topic discovery is not an exhaustive popularity ranking, and results vary by market and language.
- Private, deleted, restricted, or unavailable content may yield limited data or no rows. An entirely empty collection is reported as a failure.
- Selected attribute lists retain at most 50 entries. Size reduction may remove fields; inspect
rowTruncatedFieldsandrowOversizeReduced. - Derived publishing dates are marked by
publishedAtApproximate. Do not treat them as exact timestamps. - A plain (not graceful) abort stops the run immediately and delivers nothing.
Frequently asked questions
What information is in the YouTube video file?
Each row describes a public video and the channel that published it, with links to the video and its thumbnail image. You can compare view counts and video lengths, such as 12:34. Publication details include the age shown on YouTube, such as 3 months ago, while the exact date and time are included only if visible on the video page without sign-in and may be empty. The sample on this page shows the exact column names.
How do I order YouTube data for one channel?
Paste a channel link or @handle into Channels to get the creator's uploads, or enter Search terms such as pour over coffee. For searches, Uploaded within offers Last hour, Today, This week, This month or This year. You can sort the file by number of views or video length.
Does the YouTube export include video files or Studio analytics?
No. The file holds information about public YouTube videos, including what they are about, how often they have been viewed and the age shown by YouTube. MP4 video files, audio tracks and private YouTube Studio analytics are not included. Creator emails and phone numbers are not included either. No login is used. An order can ask for 1 to 100,000 rows.
How can I research a topic on YouTube before making videos?
Order a search for your topic, for example pour over coffee. Sort by number of views to see which videos and channels draw attention. Compare video lengths and YouTube's age descriptions to see how long and how recent those videos are. A channel order shows what one competitor has published recently.
How long does a YouTube video order take?
Videos are read from public YouTube pages after the order is paid, so view counts are those shown at collection time. Most files arrive within 24–48 hours of payment and the latest is 72 hours; download it from the order page. If the search or channel has fewer videos than you paid for, the amount for the missing rows is credited to your account balance automatically.
Is it legal to scrape YouTube?
This Actor collects public data. You are responsible for complying with YouTube's terms and applicable data-protection law. Processing personal data, including comment author information, requires a lawful basis.
Why did my run end as ABORTED?
Runs no longer pause as ABORTED when the timeout is too short; they end SUCCEEDED with partial results, as described above. ABORTED means the run was aborted. Use Abort gracefully to keep the rows collected so far and get a cursor.
How many results can I get?
maxResults allows 1–1,000 rows per input. Available data, shared allowances for extra rows, duplicate removal, the Free plan cap, and your cost limit can reduce the total.
Why are some fields empty?
YouTube may omit captions, counts, dates, or playback information. Optional enrichment can also fail while leaving a video row available. Missing values can be absent, empty, null, or zero; zero does not always prove a measured count of zero.
Can I get every comment and reply?
Not necessarily. maxComments: 0 and maxRepliesPerComment: 0 use safety limits of 20,000 top-level comments and 2,000 replies per comment, but the input's row allowance takes precedence. Disabled comments or unavailable threads cannot be collected.
Are transcripts always complete?
No. Captions may be unavailable. The segment list retains at most 50 entries; transcriptSegmentCount records the count before that limit. transcriptText is capped at 100,000 characters and may be shortened further by the row-size limit.
Do I need a YouTube Data API key?
No YouTube Data API key is required. Programmatic access through Apify uses your Apify token.