YOUTUBE COMMENTS DATA

How to export and analyze YouTube comments

YouTube comment sections are long, specific and full of timestamps, which makes them one of the best sources of audience research on any platform. This guide covers which comments you actually get, how to sample and code them, and how to read timestamps as a map of a video's best moments, with a coded example of 100 comments under a Veritasium video.

Comments hanging from pins on a video's progress bar and grouped into colored trays
In short
  • A YouTube comment pull follows the platform's Top comments order by default, which favors early, well-liked comments. Know that before you read the results as "what viewers think now".
  • Code comments into themes and count both comments and likes. Under Veritasium's video on randomness, the casino-fairness theme was 20% of comments but 46% of all likes.
  • Timestamps are free attention data. 18 of 100 top comments cited a moment, and 6 of them pointed to the same 21 seconds of a 39-minute video.
  • Keep the creator's own comments, sponsor pins and replies out of your counts, and never store commenters' names in research notes.

Top comments versus newest: which comments you're reading

YouTube shows comments in two orders. Top comments, the default, is a ranking YouTube doesn't publish but which clearly rewards likes, replies and age, plus pinned or hearted comments. Newest first is a plain reverse-chronological list. Top comments tell you what the crowd agreed with and are dominated by the first days after upload. Newest comments tell you what people say now, including viewers who arrive weeks later from search.

Caelario's YouTube comments pull follows the Top order and returns up to 100 top-level comments per video, each with its text, like count, an approximate date and a link straight to the comment. That's the right sample for most research questions: what resonated, what people pushed back on, what they want next. If your question is about recent reaction, such as how viewers responded after a news event or a product recall, pull again later and compare, or sort the export by date and read the most recent ones.

Dates on YouTube comments are relative ("2 days ago"), so the date in any export is an approximation, accurate to the day for recent comments and to the month or year for old ones. Don't build a timeline from comment dates on videos older than a few weeks.

Fields in a YouTube comment export

MetricWhat it meansHow to read it
TextThe full comment, including timestamps, emoji and links.The thing you code. Keep the original language; translate only for reading.
LikesHow many viewers liked the comment.Your weight. A comment with 4,000 likes speaks for far more viewers than one with 4. Report both counts and like share per theme.
DateApproximate publish date, derived from YouTube's relative time.Good for separating launch-week comments from later ones; too coarse for hour-by-hour analysis.
Comment link and IDA URL that opens the video with that comment highlighted.Use it to read the thread in context and as the input for pulling its replies.
Author handleThe commenter's public handle.Use it only to remove the creator's own comments and obvious duplicates. Don't copy commenters' names into reports.
Parent comment IDEmpty for top-level comments; set on replies.Keeps replies separate from the comments they answer, so a heated thread doesn't inflate a theme.

How to sample YouTube comments so the findings hold up

  1. 1

    Decide the question first

    "What do viewers want next?", "What objections come up when this creator reviews a product?" and "How did people react to the sponsor?" each need different videos. Write the question down before you pull anything.

  2. 2

    Choose videos on purpose

    For a channel-level view, take three to five videos: the best performer of the last quarter, two typical ones and one weak one. A single viral video tells you about that video, not the audience.

  3. 3

    Take the top 100 per video, then stop

    Themes usually settle after 60 to 100 comments. For a big video, 100 top comments is a small share of the total (about 4% of the 2,600 comments under our example) but it's the share most viewers saw and agreed with.

  4. 4

    Pull replies only under the threads that matter

    Replies are where arguments, corrections and the creator's answers live. Pull them for the three to five most-liked comments in your biggest themes, not for every comment. Caelario's replies pull takes the comment's link; it reaches threads among the first 40 top comments YouTube loads for the video.

  5. 5

    Clean before you count

    Remove the creator's own comments (often a pinned sponsor code), exact duplicates and spam. In our example, the first comment returned was the channel's own pinned sponsor message; counting it as audience praise would be a mistake.

How much to sample: the numbers behind the top 100

100Top-level comments per video, at most
60–100Comments before themes usually settle
≈ 4%Share of the example video's comments100 of about 2,600

A codebook built for YouTube comment sections

YouTube comments differ from Instagram or TikTok comments: they're longer, more argumentative and often about the subject rather than the creator. Start with these codes, give each comment one primary code, and split any code that holds more than a third of the sample. For a general method across platforms, see /use-cases/comment-research.

  • Topic reaction: an opinion about the subject of the video, not the video itself.
  • Pushback or correction: the viewer says the video got something wrong or left something out.
  • Question: a genuine question about the topic, a product or a step.
  • Moment reaction: points to a specific scene, usually with a timestamp.
  • In-joke or community meme: references only regular viewers or a specific community will get.
  • Channel meta: comments about the title, thumbnail, upload time, presenters or the channel itself.
  • Request: asks for a future video, a follow-up or a product.
  • Sponsor reaction: comments on the sponsor or an ad segment, positive or negative.
  • Praise: general appreciation of the video or creator.
  • Personal story: the viewer relates their own experience.
  • Noise: emoji only, spam, unrelated.
Real example · collected 21 November 2026

100 top comments under Veritasium's video on randomness, coded

We pulled the 100 top comments on "Randomness is a lie. Let me explain", a 39-minute Veritasium video published on 18 November 2026. At the time it had 2.86 million views and about 2,600 comments. The video opens with a story about people who beat slot machines by predicting their random number generator, then moves through Minecraft world seeds, Java's random numbers and quantum randomness. We gave each comment one theme and added up the comments and likes per theme.

46.3%Of all likes on casino fairnessFrom 20 of 100 comments
4,000Likes on the top comment
17,823Likes across the 100 comments
Share of comments vs share of likesCommentsLikes
Casino fairness
20%
46.3%
Polish in-joke
17%
25.2%
Channel meta
8%
19.5%
Minecraft surprise
15%
5.9%
Science debate
14%
1%

Comment counts out of 100. The science debate is a committed minority; casino fairness is what the crowd agreed with.

See the full table
ThemeCommentsLikesShare of likesWhat it was about
Casino fairness208,24446.3%Outrage that beating a casino's machine counts as fraud
Polish in-joke174,49025.2%A random seed in the video was a number with meme status in Poland
Channel meta83,47919.5%Running jokes about the channel and the video's changed title
Minecraft surprise151,0475.9%Surprise at a Minecraft segment and its guest
Other jokes122311.3%Puns, number memes, references
Science debate141701.0%Whether quantum randomness is truly random; detailed questions
Praise and requests7670.4%Appreciation; two requests for new topics
Sponsor2870.5%The channel's pinned sponsor code; one viewer on an ad-like segment
Personal story460.0%Viewers' own related experiences
Criticism120.0%Felt parts repeated an older video
Total10017,823100%

What it tells you

  • The comment section is mostly about the hook, not the title. The casino story fills about five minutes of a 39-minute video (the opening chapter and one later chapter), yet it drew 20 comments and nearly half of all likes, including the single most-liked comment (4,000 likes).
  • Comment counts and like counts tell different stories. The science debate is 14% of comments but 1% of likes: a committed minority writing long replies. The casino theme is what the crowd agreed with.
  • Commenters report packaging changes. Four comments with 516 likes between them pointed out that the title had changed, three of them quoting the original slot-machine title. That tells a competitor the channel tested a different framing after launch.
  • A detail can outperform the content. One number used as a seed triggered 17 comments from Polish viewers; small, deliberate in-jokes are a cheap way to give a community something to share.

Coding by one researcher; each comment has one theme. Likes were counted at the time of collection. The channel's own pinned comment is included in the Sponsor row and would normally be removed before analysis.

Sources: The video on YouTube · Veritasium on YouTube

Timestamps in comments: a free map of the best moments

When a YouTube comment contains a time such as 6:18, YouTube turns it into a link that jumps to that moment. Viewers use them to point at the part that made them laugh, gasp or object. Because retention graphs are private to the channel owner, timestamped comments are the closest public signal to "which moments landed".

In our Veritasium sample, 18 of the 100 top comments contained a timestamp. We matched each to the chapter list in the video description. Seven fell in the Monte Carlo chapter, and six of those pointed to a window of just 21 seconds (6:11 to 6:32) where the random seed appears. Three pointed to the quantum section near the end, two each to the casino-hackers chapter and the lava-lamp chapter, and the rest were spread out. The most-liked timestamped comment, at 1,200 likes, pointed to 23:00, where the casinos take players to court.

Read timestamps in three ways. Clusters mark the moment people will clip and share: a candidate for a Short, a thumbnail or the next hook. Late timestamps show what kept the viewers who stayed to the end. And timestamps on objections (a viewer asking how something at 30:24 could be random) show exactly where an explanation lost people, the cheapest script note you'll ever get.

At scale, extract every pattern like 6:18 or 1:02:45, convert it to seconds and bucket it by chapter or minute. Weight by likes for the crowd's view, or count comments for breadth.

Where the timestamped comments pointed

18 of the 100 top comments contained a timestamp, matched here to the chapters in the video description.

Timestamped comments by chapter
Monte Carlo
7
Quantum
3
Casino hackers
2
Lava lamps
2
Spread elsewhere
4

Six of the seven Monte Carlo comments pointed to the same 21 seconds (6:11 to 6:32).

Mistakes to avoid with YouTube comment data

Treating a sentiment score as the finding

"72% positive" hides everything useful. Many of the angriest comments in our example were angry at casinos, not at the video. Themes first; sentiment, if at all, within a theme.

Counting the creator's own comments

Pinned sponsor codes, creator replies and hearted comments sit at the top. Remove the channel's own handle before counting.

Reading top comments as a recent pulse

Top comments on a month-old video are mostly launch-week comments. If timing matters, pull again later and compare.

Mixing replies into the top-level count

A single argument with 40 replies can look like a major theme. Code top-level comments first, then read replies under the biggest themes.

Quoting commenters by name

Commenters are private individuals. Paraphrase and summarize themes; don't publish their handles or quote them at length.

Exporting YouTube comments with Caelario

YouTube comments cost 1 credit per comment delivered, up to 100 per video. Replies cost the same. Videos with comments turned off return nothing, and you're not charged for what doesn't arrive.

Illustrative example with made-up brands.

The YouTube comment insights template

Paste a video link. The template pulls the video, the top 100 comments and the channel with its recent videos (a flat 90 credits) and writes a basic AI insight on the main themes, questions, praise and criticism. Follow up in Ask AI, for example "which comments mention a timestamp, and which chapters do they cluster in?"

Export for your own coding

Download the comments as CSV, Excel or JSON with text, likes, approximate date and comment link, then code them in a spreadsheet with the codebook above.

Several videos at once

Add one video link per line to pull a planned sample, such as a competitor's best, typical and weakest videos, and compare their themes side by side.

API and MCP

Developers call the YouTube comments operation with a video URL or ID, and comment_replies with a comment's link from that result. Both are available through the REST API and the Caelario MCP server for Claude.

What to do with what you find

Turn each theme into one action with a count attached. Questions become content. Pushback becomes a script note or a correction. Requests become the topic list, ranked by likes. Moment clusters become Shorts and thumbnails. On a competitor's videos (see /use-cases/competitor-analysis), the same counts show what their audience values and complains about, which is often the gap your client can fill.

Repeat the exercise monthly or after each big launch with the same codebook, so changes in the mix mean something. A theme that grows from 5% to 20% of comments over three videos is a trend; one video's spike is an event.

TRY IT IN CAELARIO

YouTube comments data

Run this research on any public account in a few minutes, with 200 free credits to start.

QUESTIONS

Common questions.

How many YouTube comments can I export per video?

Caelario returns up to 100 top-level comments per video, in YouTube's Top comments order, plus replies for individual comment threads. For most research, 100 well-ranked comments per video across three to five videos is enough for themes to settle.

Can I export YouTube comments without being the channel owner?

Yes. Comments on public videos are public. You can collect and analyze them for any channel, as long as you treat commenters as private individuals: summarize themes and don't republish their names.

How do I analyze YouTube comments for sentiment?

Code comments into themes first, then judge sentiment within each theme. A general positive or negative score mixes up anger at the topic with anger at the creator, and hides the questions and requests that are usually the most useful part.

Why are YouTube comment dates approximate?

YouTube displays comment times in relative terms, such as "3 weeks ago", so any export converts them to an estimated date. Recent comments are accurate to the day; older ones only to the month or year.

What does a timestamp in a YouTube comment tell me?

It shows which moment a viewer reacted to. Clusters of timestamps mark the parts of a video people found most memorable, which is a public stand-in for the private retention graph.

What happens if comments are turned off?

The pull returns no comments and you aren't charged. Creators often disable comments on videos made for children or on sensitive topics.

KEEP READING