Introducing the Instagram APIRead more →

YouTube Comment Replies API. Replies, page by page.

Replies under a comment, with likes and authors. We handle the proxies, blocks and platform changes.

In your agent: YouTube MCP server →

YouTube Comment Replies API at a glance

Returns the public replies to a comment on a YouTube video, short or live replay, oldest first, from a comment link. Each reply has its text, posting time, like count, the replier's handle and channel, and whether the creator wrote or hearted it. A video link with the comment's ID works too.

GET /v1/youtube/replies

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 16 typed fields null when unknown
  • 100 replies per page, oldest first
  • url is all it needs, e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgwPwTibxdgqCHZxktd4AaABAg

Send one request. Get up to 100 replies back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgwPwTibxdgqCHZxktd4AaABAg
GET /v1/youtube/repliesTry in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  comment_id: "UgwPwTibxdgqCHZxktd4AaABAg",
  url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
});
const res = await fetch(`https://socialtap.dev/v1/youtube/replies?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/youtube/repliesLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 14 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field YouTube doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    A YouTube comment link (youtube.com/watch?v=<id>&lc=<comment>, /shorts/<id>?lc=…, youtu.be/<id>?lc=…: what a comment's time links to), or the video's link or 11-character ID with comment_id.

  • Write one parser

    YouTube, TikTok, Instagram and 11 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
In the example "youtube"
idstring
Platform-native comment ID (string), exactly as the platform writes it, its prefix included.
In the example "UgwPwTibxdgqCHZxktd4AaABAg.8z9UZMV20LP8zH9Ebkoohj"
post_idstring
ID of the post commented on (equals post.id).
In the example "dQw4w9WgXcQ"
parent_idstring
ID of the comment this replies to; null for top-level comments.
In the example "UgwPwTibxdgqCHZxktd4AaABAg"
urlstring
Permalink, when the platform has one.
In the example "https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgwPwTibxdgqCHZxktd4AaAB…"
textstring
Comment body as plain text.
In the example "Nice troll 👌"
authorobject
The commenting account. For a deleted account, id and username are null and display_name is the platform's label.
In the example avatar_url: "https://yt3.ggpht.com/ytc/AIdro_nJq_NOvMgX1eLOpBXL_PGwjMi3GqZleaYXD9HwJ…", id: "UCuyLyWFcsnyZF77-W7WFnFg", is_verified: false,
published_atstring
When the comment was posted, RFC 3339 UTC. From a relative time ("3 weeks ago"), the latest time it allows (the fetch time minus that amount), listed in approximate_fields.
In the example "2019-11-28T22:47:48Z"

What teams build with the YouTube Comment Replies API.

  • Read the conversation under a popular comment

    Send a comment's link and get its public replies, each with its text, like count and the replier's handle, oldest first.

  • See how a creator answers in replies

    is_by_post_author marks the creator's own replies and is_liked_by_author the ones they hearted, to see how a channel talks with its viewers.

  • Rebuild full comment threads for research

    Pair it with the YouTube Comments API: for each comment with a reply_count, fetch its replies and store them under its id.

Good to know before you build.

  • YouTube threads are one level deep: an answer to a reply joins the same list, usually starting with an @handle.
  • published_at is the latest time YouTube's relative label allows, and likes above a thousand are rounded: approximate_fields lists both.
  • A comment that isn't a top-level comment of the video returns not_found. Comments turned off or a private video return private_or_unavailable.
  • A page can hold fewer replies than limit asks for: YouTube leaves some out of the list, so a walk can end short of the comment's reply count.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the YouTube Comment Replies API.

More in the API reference.

Can I get replies to a reply?
YouTube threads are one level deep: an answer to a reply joins the same list, usually starting with an @handle.
What link does it take?
A comment link, what the time under a comment links to (watch?v=<id>&lc=<comment>), or the video's link or ID with comment_id. A reply's ID lists the thread it is in.
How much does the YouTube Comment Replies API cost?
A page of up to 100 replies costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 1 hour.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 310 endpoints
Start for free Read the docs