YouTube Comments

Each record is one YouTube comment or reply: its text, author, likes, replies, date and the video it belongs to.

$0.80 per 1,000 records

You pay only for the records you get. Zero records cost zero. 6,250 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it

Public comments and replies on YouTube videos, from video links, a channel's latest videos or a search. Each record carries the text, author, likes, reply count, date and the video it belongs to.

Ready-made, maintained by usPosts, 30 fieldsv1.0

Data from youtube.com

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Videosoptional
Video links or 11-character video codes whose comments you want. One per line, or separated by commas.
Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
Channeloptional
A channel link, @handle or channel code; comments come from its latest videos.
Example: @RickAstleyYT
Search wordsoptional
Words to search YouTube for; comments come from the top results.
Example: home workout
Most videosoptional
How many videos to take from the channel or search.
Example: 10
Most comments per videooptional
Most main comments returned for each video; 0 means all.
Example: 20
Comment orderoptional
Choose top comments first or newest comments first.
Include repliesoptional
Turn on to also get replies, each as its own record.
Most replies per commentoptional
Most replies returned under each comment when replies are on; 0 means all.
Example: 10
Must contain wordsoptional
Keep only comments containing at least one of these words or phrases. One per line, or separated by commas.
Example: tutorial
Newer thanoptional
A date or an age like "7 days"; older comments are left out when certain.
Example: 7 days

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 6,250 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/youtube-comments/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
6,250 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/youtube-comments/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "video_urls": [
      "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    ]
  },
  "max_items": 50
}'

Inputs

Send them as input in the request body. Leave one out to use its default.

video_urlslist
Videos to read comments from: any YouTube video link or an 11-character video id.
example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
channel_urltext
A channel link, @handle or channel id. Reads the comments of the channel's latest videos.
search_termtext
Search YouTube for this term and read the comments of the top results.
max_videosnumber
How many videos to take from the channel (newest first) or from the search (most relevant first).
default: 10
max_comments_per_videonumber
Most top-level comments returned per video. 0 means all.
default: 100example: 20
sorttext
Top comments first (YouTube's default) or newest first.
default: topone of: top, newest
include_repliesyes/no
Also return replies. Each reply is its own record, with parentCommentId pointing at the comment it answers.
default: false
max_replies_per_commentnumber
Most replies returned under each comment when replies are included. 0 means all.
default: 10
keywordslist
Only comments that contain at least one of these words or phrases.
newer_thantext
Only comments newer than a date (2026-10-01) or an age such as "7 days". YouTube shows comment dates as "3 weeks ago", so a comment is dropped only when it is surely older.

What's in each record

30 fields: 22 here, 8 technical ones under Technical details.

Basics

  • Video title

    The title of the video the comment belongs to.

    Example Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)

  • Channel name

    Name of the channel that published the video.

    Example Rick Astley

  • Is a reply

    Yes when this is a reply, no when it is a main comment.

    Example No

  • Comment text

    What the person wrote, with typed emails and phone numbers hidden.

    Example Ok let’s be honest here Rick rolling is the one meme that will never die

  • Author

    The author's public name or handle on YouTube.

    Example @JetpackGamer456

  • Written by video owner

    Yes when the channel that posted the video wrote this comment.

    Example No

  • Verified author

    Yes when the author has a verified badge.

  • Official artist

    Yes when the author is an official artist channel.

  • Likes

    Number of likes, rounded by YouTube for large numbers.

    Example 428,000

  • Replies

    Number of replies under the comment; zero for replies themselves.

    Example 768

  • Edited

    Yes when the comment was changed after posting.

    Example Yes

  • Pinned

    Yes when the video's creator pinned this comment to the top.

    Example No

  • Hearted by creator

    Yes when the video's creator gave the comment a heart.

    Example No

  • Position

    Place in YouTube's order, within the video or within the reply thread.

    Example 2

  • Video comment total

    Total number of comments on the video, as YouTube counts them.

    Example 2,461,404

Dates

  • Posted (as shown)

    The posting time as YouTube shows it, such as "3 weeks ago".

    Example 6 years ago (edited)

  • Posted on (approx.)

    Estimated date and time the comment was posted.

    Example Nov 6, 2020

  • Date accuracy

    How exact the estimated date is: day, month or year.

    Example year

Technical detailsField names and types for developers, and the 8 fields hidden above

Hidden by default

These 8 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Video code videoIdThe short code YouTube uses to identify the video.
  • Channel code channelIdThe code YouTube uses to identify the video's channel.
  • Comment code commentIdThe code YouTube uses to identify this comment.
  • Replied-to comment code parentCommentIdFor replies, the code of the comment being answered.
  • Author channel code authorChannelIdThe code YouTube uses to identify the author's channel.
  • Sort order sortThe order used to collect comments: top or newest.
  • Search input sourceThe video link, channel or search words that led to this video.
  • Collected on scrapedAtDate and time this record was gathered.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.

Field nameTypeShown on this page asFilled
videoIdtextVideo code (hidden)1 of 1
videoUrllinkVideo page1 of 1
videoTitletextVideo title1 of 1
channelNametextChannel name1 of 1
channelIdtextChannel code (hidden)1 of 1
channelUrllinkChannel page0 of 1
commentIdtextComment code (hidden)1 of 1
commentUrllinkComment page1 of 1
isReplyyes or noIs a reply1 of 1
parentCommentIdtextReplied-to comment code (hidden)0 of 1
texttextComment text1 of 1
authortextAuthor1 of 1
authorChannelIdtextAuthor channel code (hidden)0 of 1
authorChannelUrllinkAuthor channel page0 of 1
authorIsChannelOwneryes or noWritten by video owner1 of 1
authorIsVerifiedyes or noVerified author0 of 1
authorIsArtistyes or noOfficial artist0 of 1
likeCountnumberLikes1 of 1
replyCountnumberReplies1 of 1
publishedTimeTexttextPosted (as shown)1 of 1
publishedAtApproxdate and timePosted on (approx.)1 of 1
publishedAtPrecisiontextDate accuracy1 of 1
isEditedyes or noEdited1 of 1
isPinnedyes or noPinned1 of 1
isHeartedByCreatoryes or noHearted by creator1 of 1
positionnumberPosition1 of 1
sorttextSort order (hidden)1 of 1
videoCommentCountnumberVideo comment total1 of 1
sourcelinkSearch input (hidden)1 of 1
scrapedAtdate and timeCollected on (hidden)1 of 1

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordComment textVideo titleChannel nameIs a replyAuthorWritten by video ownerVerified authorOfficial artistLikesRepliesEditedPinnedHearted by creatorPositionVideo comment totalPosted (as shown)Posted on (approx.)Date accuracyVideo pageChannel pageComment pageAuthor channel page
1Ok let’s be honest here Rick rolling is the one meme that will never dieRick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)Rick AstleyNo@JetpackGamer456No——428,000768YesNoNo22,461,4046 years ago (edited)Nov 6, 2020yearyoutube.com/watch?v=dQw4w9WgXcQ—youtube.com/watch?v=dQw4w9WgXcQ&lc=UgyyEqaBXOKgoi4cf7l4AaABAg—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • YouTube shows comment dates as relative text ("3 weeks ago"), so exact timestamps are approximate.
  • E-mail addresses and phone numbers typed into a comment are masked.

Version history

A run uses the live version unless the request names another one with version.