YouTube comments list API: replies to a comment
Read-only YouTube Data API v3 comments list endpoint.
About the Comments list endpoint
This endpoint returns the replies under a YouTube comment thread, given the parent comment's ID, or specific comments by their IDs. Each reply includes the author, text, like count and dates. Together with the Comment threads endpoint it lets you reconstruct a video's full conversation, thread by thread. It mirrors YouTube Data API v3's comments.list.
What you can build with it
- Complete comment exports including every reply
- Conversation analysis: who replies to whom under a video
- Moderation tools that review replies to flagged comments
Request
https://socialgraph.dev/api/v1/youtube/comments
Send your API key as Authorization: Bearer YOUR_API_KEY.
Parameters go in the query string.
Parameters
| Name | Type | Description |
|---|---|---|
partrequired |
string | Required. Comma-separated: id or snippet. For example: snippet |
parentIdoptional |
string | Return replies to this top-level comment (provide parentId or id). For example: Ugz1FgGzzSJdPWcyxlN4AaABAg |
idoptional |
string | Comma-separated comment IDs (provide parentId or id). |
textFormatoptional |
string | html (default) or plainText. |
maxResultsoptional |
integer | Maximum results per page (1–100). Default 20. |
pageTokenoptional |
string | Token from a previous response (nextPageToken or prevPageToken). |
Code examples
Example response
{
"etag": "HaJ0yTc_OZVQqvqP3mHYcFcbhr4",
"kind": "youtube#commentListResponse",
"items": [
{
"id": "Ugz1FgGzzSJdPWcyxlN4AaABAg.Abv3rAUwedvAbv6mmhAUQv",
"etag": "HX_ljYb2sJeDemtOb2BridUR4Cc",
"kind": "youtube#comment",
"snippet": {
"canRate": true,
"parentId": "Ugz1FgGzzSJdPWcyxlN4AaABAg",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"likeCount": 1,
"updatedAt": "2026-10-13T19:55:20Z",
"publishedAt": "2026-10-13T19:55:20Z",
"textDisplay": "What's wrong with the arches?",
"textOriginal": "What's wrong with the arches?",
"viewerRating": "none",
"authorChannelId": {
"value": "UCo1Hcdpf-8Xz4yOsu9I4-Qw"
},
"authorChannelUrl": "http://www.youtube.com/@T1kr3b3u",
"authorDisplayName": "@T1kr3b3u",
"authorProfileImageUrl": "https://yt3.ggpht.com/ytc/AIdro_k-toqSUZ4mwK0XRh995cX_1gd2OVRv0efCoNAvJVGOYzMO=s48-c-k-c0x00ffffff-no-rj"
}
},
{
"id": "Ugz1FgGzzSJdPWcyxlN4AaABAg.Abv3rAUwedvAbvA4mAqf94",
"etag": "6GGPW2FA11mqmEmsNEGrrYlAOhY",
"kind": "youtube#comment",
"snippet": {
"canRate": true,
"parentId": "Ugz1FgGzzSJdPWcyxlN4AaABAg",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"likeCount": 13,
"updatedAt": "2026-10-13T20:24:09Z",
"publishedAt": "2026-10-13T20:24:09Z",
"textDisplay": "@T1kr3b3uthey curve in on the sides and then go flat while they're completely curved in the reference image.",
"textOriginal": "@T1kr3b3uthey curve in on the sides and then go flat while they're completely curved in the reference image.",
"viewerRating": "none",
"authorChannelId": {
"value": "UCbvx9WmajFhvx7yt0eF3sJw"
},
"authorChannelUrl": "http://www.youtube.com/@mrcraggle",
"authorDisplayName": "@mrcraggle",
"authorProfileImageUrl": "https://yt3.ggpht.com/ytc/AIdro_ljQp8LEfLsY28Tr585sJl1mRM6P_wC7hi6vdUnNs_8Ag=s48-c-k-c0x00ffffff-no-rj"
}
},
{
"id": "Ugz1FgGzzSJdPWcyxlN4AaABAg.Abv3rAUwedvAbvWszGgKRQ",
"etag": "y-weyAs_mjUrqqvfobJXXhEaRS8",
"kind": "youtube#comment",
"snippet": {
"canRate": true,
"parentId": "Ugz1FgGzzSJdPWcyxlN4AaABAg",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"likeCount": 7,
"updatedAt": "2026-10-13T23:43:22Z",
"publishedAt": "2026-10-13T23:43:22Z",
"textDisplay": "Fixable, the time saved is beyond still mind breaking",
"textOriginal": "Fixable, the time saved is beyond still mind breaking",
"viewerRating": "none",
"authorChannelId": {
"value": "UCdS8XCfXqwTc6ypCyzgF7kw"
},
"authorChannelUrl": "http://www.youtube.com/@v1nigra3",
"authorDisplayName": "@v1nigra3",
"authorProfileImageUrl": "https://yt3.ggpht.com/bPraHhHpEhOt-I_K2lU78LhGjULXFiWJiN_PghaP9bp0Z7Y3N2q00EglmLmJTI34CJixHPaKT5s=s48-c-k-c0x00ffffff-no-rj"
}
},
{
"id": "Ugz1FgGzzSJdPWcyxlN4AaABAg.Abv3rAUwedvAbvuEHrp_kI",
"etag": "mlwp58gef0FM0Pv1_6DEbR9EtAg",
"kind": "youtube#comment",
"snippet": {
"canRate": true,
"parentId": "Ugz1FgGzzSJdPWcyxlN4AaABAg",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"likeCount": 0,
"updatedAt": "2026-10-14T03:16:08Z",
"publishedAt": "2026-10-14T03:16:08Z",
"textDisplay": "Maybe the guy eanted thr arches like that and specifically asked for it. Artistic freedom exists y'know..",
"textOriginal": "Maybe the guy eanted thr arches like that and specifically asked for it. Artistic freedom exists y'know..",
"viewerRating": "none",
"authorChannelId": {
"value": "UCgqVYLxq9B6l4Eu744fitiw"
},
"authorChannelUrl": "http://www.youtube.com/@TheoVuts",
"authorDisplayName": "@TheoVuts",
"authorProfileImageUrl": "https://yt3.ggpht.com/ztEOimpdq9wyHxkMJFdDliSMrDLy96Fv3eNHSFTXe8dYWxAxJE7E_GI0i0DDu0NKVVeptP0LAQ=s48-c-k-c0x00ffffff-no-rj"
}
},
{
"id": "Ugz1FgGzzSJdPWcyxlN4AaABAg.Abv3rAUwedvAbx5UO3qp61",
"etag": "HR1SIglBOWCaFWnTJQUH9e6sKfI",
"kind": "youtube#comment",
"snippet": {
"canRate": true,
"parentId": "Ugz1FgGzzSJdPWcyxlN4AaABAg",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"likeCount": 0,
"updatedAt": "2026-10-14T14:22:26Z",
"publishedAt": "2026-10-14T14:22:26Z",
"textDisplay": "missing the forest for the trees.",
"textOriginal": "missing the forest for the trees.",
"viewerRating": "none",
"authorChannelId": {
"value": "UCmD6NM9F9VJg5WCuYcZatow"
},
"authorChannelUrl": "http://www.youtube.com/@Ezpz-g9r",
"authorDisplayName": "@Ezpz-g9r",
"authorProfileImageUrl": "https://yt3.ggpht.com/ytc/AIdro_m8YjQde9irdShQ9kSQM_V3xWWL9Wzg3hF_XzsQm9zoQywcF89zsd54JM7SsFln2dONDVc=s48-c-k-c0x00ffffff-no-rj"
}
}
],
"pageInfo": {
"resultsPerPage": 5
},
"nextPageToken": "Z2V0X2NvbW1lbnRfd2l0aF9yZXBsaWVzX3N0cmVhbS0tQ2dnSWdBUVZGN2ZST0JJRkNLQWdHQUVpRGdvTUNLR2d2dFlHRU1DcTRQVUNVQUJZQVE="
}Errors
| Status | Meaning | Charged? |
|---|---|---|
| 401 | Missing, invalid or revoked API key | No |
| 402 | Not enough credits (insufficient_credits) | No |
| 404 | The account or post doesn't exist | No |
| 422 | Missing or invalid parameters | No |
| 502 / 503 | The data source is temporarily unavailable | No |
Comments list API: frequently asked questions
How do I get the replies to a YouTube comment?
Pass the top-level comment's ID as parentId with part=snippet. The Comment threads endpoint gives you those top-level comment IDs.
Can I fetch a specific comment by ID?
Yes. Pass one or more comma-separated comment IDs in the id parameter instead of parentId.
How many replies are returned per call?
Up to 100 per page; use pageToken to continue.
Is a Google API key required?
No. Calls are made with socialgraph.dev's key.
How much does the Comments list endpoint cost?
1 credit per successful call (0.002 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.
Can I try the Comments list API without signing up?
Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.
🔒 Preset demo input. Live demos use the Google for Developers channel, youtube.com/@GoogleDevelopers. Sign up free to use your own.