YouTube Comments API – text, likes, replies, pinned – $1.2/1k
Pricing
$1.20 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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
| Field | Description |
|---|---|
videoId / videoUrl / videoTitle | The video |
videoCommentCount | Total comments shown by YouTube |
commentId | YouTube comment id |
text | Comment text |
likeCount | Likes (rounded when YouTube shows 19K etc.; see likeCountIsApprox) |
replyCount | Number of replies |
publishedText | Relative time, e.g. "3 days ago" |
isEdited | Comment was edited |
isPinned | Pinned by the creator |
isCreatorHeart | Hearted by the creator |
isChannelOwner | Written by the video's channel |
position / sort | Rank 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}