YouTube Comments API – text, likes, replies, pinned – $1.2/1k avatar

YouTube Comments API – text, likes, replies, pinned – $1.2/1k

Pricing

$1.20 / 1,000 results

Go to Apify Store
YouTube Comments API – text, likes, replies, pinned – $1.2/1k

YouTube Comments API – text, likes, replies, pinned – $1.2/1k

Extract public top-level comments from YouTube videos: text, likes, reply count, date, pinned and creator-heart flags. No commenter names or handles (privacy-safe). Works with AI agents via Apify MCP. Pay per comment; error rows free.

Pricing

$1.20 / 1,000 results

Rating

0.0

(0)

Developer

Henry Crawl

Henry Crawl

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

YouTube Comments API

Pull public top-level comments from YouTube videos for sentiment analysis, research or AI pipelines, with likes, replies and pinned/heart flags. Privacy-safe: commenter names, handles and avatars are never returned; only an isChannelOwner flag.

Output fields

FieldDescription
videoId / videoUrl / videoTitleThe video
videoCommentCountTotal comments shown by YouTube
commentIdYouTube comment id
textComment text
likeCountLikes (rounded when YouTube shows 19K etc.; see likeCountIsApprox)
replyCountNumber of replies
publishedTextRelative time, e.g. "3 days ago"
isEditedComment was edited
isPinnedPinned by the creator
isCreatorHeartHearted by the creator
isChannelOwnerWritten by the video's channel
position / sortRank and order used (top or newest)

Example output (real run)

[
{
"videoId": "KTDJiVpSDTI",
"videoUrl": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
"videoTitle": "Can You Trust MKBHD?",
"videoCommentCount": 6400,
"commentId": "UgyvUuFxBkcnHJHjZw54AaABAg",
"text": "Marques ran out of products to review, so he’s reviewing himself",
"likeCount": 23000,
"likeCountIsApprox": true,
"replyCount": 65,
"publishedText": "3 days ago",
"isEdited": false,
"isPinned": false,
"isCreatorHeart": true,
"isChannelOwner": false,
"position": 1,
"sort": "top"
}
]

Pricing

$1.20 per 1,000 comments (pay-per-event, result = $0.0012). Error rows (bad input, not found, no data) are free. maxResults caps what you can be billed for in one run. Public data only: no login, no cookies, no API key.

Use with AI agents (MCP)

Add this actor as a tool for Claude, Cursor or any MCP client:

https://mcp.apify.com/?tools=henrycrawl/youtube-comments-api

Input example

{
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"jNQXAC9IVRw"
],
"maxCommentsPerVideo": 200,
"sort": "top",
"maxResults": 1000
}