YouTube Comment Replies API
Pull YouTube comments at scale with author, text, likes, and reply threads.
GET request to /v1/youtube/comment-replies that responds with clean JSON, costs 20 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.What is the YouTube Comment Replies API?
The YouTube Comment Replies API lets you pull comments with author, text, likes, and replies from YouTube with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.
What you get
- Comment text, author name, and handle
- Like counts and reply threads
- Pagination via the limit parameter
- Timestamps for trend and sentiment analysis
Try it
Fill in the parameters below and copy a ready-to-run request in your language of choice.
Parameters
curl "https://api.captapi.com/v1/youtube/comment-replies?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ&comment_id=7311234567890123456" \
-H "Authorization: Bearer capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"videoId": "dQw4w9WgXcQ",
"commentId": "Ugzge340dBgB75hWBm54AaABAg",
"totalReturned": 10,
"replies": [
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHKUhQwxI28",
"author": "@jrozlie",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "Remove ads from this video so we can rickroll",
"likeCount": 1100,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEjU2AWVXk",
"author": "@Cheese-fs8sh",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "Bro is 15 years late",
"likeCount": 4400,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEHm78J5Jn",
"author": "@SleepyBear_SB",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "Only took 15 years for YouTube to get rickrolled I guess",
"likeCount": 2500,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEBULT5fJJ",
"author": "@ShyGuy_cc",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "Youtube accidently got rickrolled",
"likeCount": 1300,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHE9eIiztxR",
"author": "@linganguliguliwatcha",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "YOUTUBE AND ONE LIKE WOOHAAAAH",
"likeCount": 7000,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHQ1nGsOX7C",
"author": "@Achfef",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": " @linganguliguliwatcha t",
"likeCount": 8,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHGluCp9lWL",
"author": "@therealaquaaa",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "HAI YOUTUBEEEEE",
"likeCount": 491,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHG1p7VMwAB",
"author": "@ehhauh",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "@linganguliguliwatcha hi",
"likeCount": 237,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEAOCSlaNN",
"author": "@NashiraArif",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "new comment alert",
"likeCount": 2000,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
},
{
"id": "Ugzge340dBgB75hWBm54AaABAg.AHE8_QAWJx9AHEAB_-JmDA",
"author": "@_bugrabilgin",
"authorAvatarUrl": null,
"authorIsVerified": false,
"authorIsChannelOwner": false,
"text": "HEY YOUTUBE",
"likeCount": 2900,
"hasCreatorHeart": false,
"publishedTimeText": "1 year ago"
}
]
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
urlCanonical URL of the item.videoIdPlatform video ID.commentIdComment id. Example: "Ugzge340dBgB75hWBm54AaABAg".totalReturnedNumber of items returned in this response.
Replies
Each item in replies contains:
idStable platform ID for the item.authorAuthor name or handle.authorAvatarUrlAvatar URL of the comment author.authorIsVerifiedWhether the author is verified.authorIsChannelOwnerWhether the author owns the channel.textText content.likeCountLike count.hasCreatorHeartWhether the creator hearted the comment.publishedTimeTextPublished time text. Example: "1 year ago".
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public YouTube video URL, e.g. https://youtube.com/watch?v=ID. Not a TikTok/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| comment_id | string | Yes | ID of the parent comment to fetch replies for (from the comments endpoint). |
| limit | integer | No | Max items to return (default 50, max 500). Billed per result. |
| cache | boolean | No | Responses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true). |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 20 credits — billed per result, so the exact amount scales with how many items you request. Repeat calls for the same request are served from cache for free (metrics refresh within ~1 hour).
youtube_comment_replies via @captapi/mcp. Set it up →How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/youtube/comment-repliesand parse the JSON response.
Use cases
Sentiment Analysis
Understand how audiences react to content.
Community Insights
Surface FAQs, requests, and recurring themes.
Moderation
Detect spam, abuse, or policy violations at scale.
Market Research
Mine genuine opinions and product feedback.
Frequently asked questions
What does the YouTube Comment Replies API do?+
The YouTube Comment Replies API lets you pull comments with author, text, likes, and replies from a public YouTube video using one GET request to /v1/youtube/comment-replies. It returns clean JSON — no OAuth or scraping setup required.
How many credits does the YouTube Comment Replies API cost?+
Each successful call costs 20 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.
Do I need a YouTube API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.
Is the YouTube Comment Replies API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.
More YouTube APIs
Ready to use the YouTube Comment Replies API?
Sign up, grab your key, and make your first call in 60 seconds.