답글은 부모 댓글 바로 뒤에 옵니다. published_at은 근삿값이므로 정렬은 응답 순서를 그대로 쓰세요.
{
"data": {
"video_id": "9bZkp7q19f0",
"title": "PSY - GANGNAM STYLE(강남스타일) M/V",
"sort": "top",
"include_replies": false,
"count": 1,
"comments": [
{
"id": "UgxSampleCommentId0000",
"parent_id": null,
"text": "댓글 본문이 그대로 옵니다.",
"author": "@example-viewer",
"author_channel_id": "UCxxxxxxxxxxxxxxxxxxxxxx",
"author_url": "https://www.youtube.com/channel/UCxxxxxxxxxxxxxxxxxxxxxx",
"author_thumbnail": "https://yt3.ggpht.com/sample=s88-c-k-c0x00ffffff-no-rj",
"author_is_uploader": false,
"author_is_verified": false,
"like_count": 1520,
"is_pinned": false,
"is_hearted": false,
"published_at": "2026-09-20T00:00:00.000Z"
}
],
"success": 1
},
"api": { "success": true, "cost": 30, "ms": 7200, "pl_id": 1595635 }
}
예시는 길이를 줄이려고 댓글 한 개만 적었습니다. 작성자·ID·수치는 설명을 위한 가상 값입니다.