YouTube Comment Replies API
Replies to one YouTube comment. 1 credit per successful call; errors and not-found answers are free. Answers are cached for 15 minutes, and a cached repeat costs nothing. The response uses the same field names as every other platform.
Request
GET /v1/youtube/video/comment/replies
curl "https://scrapeio.com/v1/youtube/video/comment/replies?comment_id=..." \
-H "x-api-key: YOUR_KEY"Python
import requests
r = requests.get(
"https://scrapeio.com/v1/youtube/video/comment/replies",
params={"comment_id": "..."},
headers={"x-api-key": "YOUR_KEY"},
)
print(r.json()["data"])JavaScript
const url = new URL("https://scrapeio.com/v1/youtube/video/comment/replies");
url.searchParams.set("comment_id", "...");
const res = await fetch(url, { headers: { "x-api-key": "YOUR_KEY" } });
const { data } = await res.json();
console.log(data);Parameters
| Name | Type | Description |
|---|---|---|
comment_id (required) | string | Comment id from the comments endpoint. |
cursor | string | Cursor from the previous page's data.cursor. |
Response
Every answer has the same envelope: success, cached, credits_used, credits_remaining and data. Lists put rows in data.items and page with data.cursor and data.has_more; send the cursor back to get the next page. Shared fields such as handle, followers, plays, likes and created_at are named the same on every platform. Full reference in the YouTube docs.
| Status | Meaning | Charged |
|---|---|---|
200 | Success | Yes, unless cached |
400 | A parameter is missing or wrong | No |
401 | The key is missing or invalid | No |
402 | Not enough credits | No |
403 | The account or post is private | No |
404 | Not found on the platform | No |
429 | More than 300 requests a minute | No |
502 | Every source is down; retry shortly | No |
Use it from an AI agent
Connect the ScrapeIO MCP server to Claude Code, Cursor, Codex or any MCP client and ask in plain English. The agent calls the youtube_comment_replies tool and pays the same credits.
Questions
How much does the YouTube Comment Replies API cost?
1 credit per successful call, so $0.99 to $1.88 per 1,000 calls depending on the pack. Credits never expire and there is no subscription. New accounts get 100 free credits.
Do I need an official YouTube API key or app approval?
No. Sign in, copy your ScrapeIO key and call the endpoint. It returns public YouTube data only.
Are failed or empty calls charged?
No. Errors, private accounts, not-found answers and cached repeats cost nothing.
Is there a rate limit?
300 requests a minute per key. Answers that come back with 429 are not charged.
Can an AI agent call it?
Yes. Through the ScrapeIO MCP server the tool is named youtube_comment_replies. It works in Claude Code, Cursor, Codex and any MCP client.
100 free credits, no card. Credits never expire.
Get API keyMore YouTube endpoints
- YouTube Channel API: YouTube channel: subscribers, total views, video count, description.
- YouTube Channel Videos API: A channel's uploads (videos and Shorts), newest first, with views, likes and comments.
- YouTube Video API: One YouTube video or Short by URL: views, likes, comments, duration, tags.
- YouTube Comments API: Comments on a YouTube video.
- YouTube Search API: Search YouTube videos with full stats.
- YouTube Download API: Direct MP4 stream URLs for a video (360p with audio, plus every format).
- YouTube Transcript API: A YouTube video's captions as text, with timestamps.
- YouTube Playlist API: A playlist's details and its videos, with views and likes.
- YouTube Channel Playlists API: A channel's public playlists.
- YouTube Channel Shorts API: A channel's Shorts, newest first, with views and likes.
- YouTube Channel Lives API: A channel's past and current live streams.
- YouTube Search Typeahead API: Search suggestions YouTube shows as you type.
- YouTube Community Posts API: A channel's community posts: text, images, polls, likes and comments.
- YouTube Community Post API: One community post with its text, images and likes.
- YouTube Channel Search API: Search inside one channel's videos.
- YouTube Search Hashtag API: Videos under a YouTube hashtag, with views and length.
- YouTube Shorts Trending API: Trending Shorts
- YouTube Video Sponsors API: Video Sponsors