KonbiniAPI

Get comment replies — YouTube API

Returns a YouTube comment's replies, addressed by the video and comment ids.

GET/v1/youtube/videos/{videoId}/comments/{commentId}/replies1 credit per request
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "OrderedCollectionPage",
    "partOf": "https://api.konbiniapi.com/v1/youtube/videos/plN7JMbadRg/comments/UgwNO2zsb4fIY1MaeAN4AaABAg/replies",
    "totalItems": null,
    "cursor": null,
    "nextCursor": "<token>",
    "next": "https://api.konbiniapi.com/v1/youtube/videos/plN7JMbadRg/comments/UgwNO2zsb4fIY1MaeAN4AaABAg/replies?cursor=<token>",
    "itemCount": 30,
    "orderedItems": [
      {
        "type": "Note",
        "id": "https://www.youtube.com/watch?v=plN7JMbadRg&lc=UgwNO2zsb4fIY1MaeAN4AaABAg",
        "entityId": "UgwNO2zsb4fIY1MaeAN4AaABAg",
        "content": "could you eat an entire grocery store for $1,000,000?",
        "likeCount": 123000,
        "isPinned": true,
        "isLiked": false,
        "replyCount": 967,
        "attributedTo": {
          "type": "Person",
          "id": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA",
          "url": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA",
          "entityId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
          "preferredUsername": "@MrBeast",
          "icon": {
            "type": "Image",
            "url": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s88-c-k-c0x00ffffff-no-rj"
          },
          "isVerified": true,
          "role": "creator"
        },
        "inReplyTo": "https://www.youtube.com/watch?v=plN7JMbadRg"
      }
    ]
  }
}

Make the request.

One authenticated GET to /v1/youtube/videos/{videoId}/comments/{commentId}/replies. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.

Built for

  • Data Analytics
  • Market Research
  • Platform Integration
const response = await fetch("https://api.konbiniapi.com/v1/youtube/videos/plN7JMbadRg/comments/UgwNO2zsb4fIY1MaeAN4AaABAg/replies", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters4
  • videoIdrequiredIn · PathType · stringYouTube video ID (the v= value from a watch URL)
  • commentIdrequiredIn · PathType · stringYouTube comment ID
  • countIn · QueryType · integerNumber of replies to fetch (maximum: 100). A page can hold a few fewer.1–100default 25
  • cursorIn · QueryType · stringPagination cursor

Try it on your own data.

Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.