# Comment

> Một bình luận hoặc phản hồi dưới bài đăng.

Canonical page: https://okdata.online/docs/objects/comment/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | ID bình luận. |
| `post_id` | string | ID của bài đăng chứa nó. |
| `parent_id` | string \| null | The comment it replies to; null for top-level comments. |
| `text` | string | Nội dung bình luận. |
| `published_at` | string | Thời điểm đăng, ISO 8601 theo UTC. |
| `author` | AccountRef | Người viết. |
| `likes` | integer \| null | Lượt thích của bình luận. |
| `replies` | integer \| null | Phản hồi bên dưới. |
| `ip_location` | string \| null | Region label the platform shows next to the comment, if any. |
| `ext` | object | Dữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. |

### AccountRef

| Field | Type | Description |
|---|---|---|
| `id` | string | ID tài khoản trên nền tảng. |
| `username` | string \| null | Handle, nếu nền tảng có. |
| `name` | string \| null | Tên hiển thị. |
| `avatar_url` | string \| null | URL ảnh đại diện. |
| `followers` | integer \| null | Số người theo dõi tại thời điểm lấy dữ liệu. |
| `verified` | boolean \| null | Nền tảng có hiển thị huy hiệu xác minh hay không. |

## Endpoints that return a Comment

- [Bình luận video TikTok](https://okdata.online/apis/tiktok/videos/comments/list/) (`tiktok.videos.comments.list`): $0.002 per call · about 50 comments per page
- [Phản hồi bình luận TikTok](https://okdata.online/apis/tiktok/comments/replies/list/) (`tiktok.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận video YouTube](https://okdata.online/apis/youtube/videos/comments/list/) (`youtube.videos.comments.list`): $0.002 per call · about 20 comments per page
- [Phản hồi bình luận YouTube](https://okdata.online/apis/youtube/comments/replies/list/) (`youtube.comments.replies.list`): $0.002 per call · about 10 comments per page
- [Bình luận bài đăng Instagram](https://okdata.online/apis/instagram/posts/comments/list/) (`instagram.posts.comments.list`): $0.004 per call · about 15 comments per page
- [Phản hồi bình luận Instagram](https://okdata.online/apis/instagram/comments/replies/list/) (`instagram.comments.replies.list`): $0.004 per call · about 15 comments per page
- [Bình luận bài đăng Reddit](https://okdata.online/apis/reddit/posts/comments/list/) (`reddit.posts.comments.list`): $0.002 per call · about 10 comments per page
- [Bình luận bài đăng Facebook](https://okdata.online/apis/facebook/posts/comments/list/) (`facebook.posts.comments.list`): $0.043 per call · about 10 comments per page
- [Phản hồi bình luận Facebook](https://okdata.online/apis/facebook/comments/replies/list/) (`facebook.comments.replies.list`): $0.043 per call · about 10 comments per page
- [Phản hồi bài đăng Threads](https://okdata.online/apis/threads/posts/comments/list/) (`threads.posts.comments.list`): $0.003 per call · about 20 comments per page
- [Bình luận bài đăng Lemon8](https://okdata.online/apis/lemon8/posts/comments/list/) (`lemon8.posts.comments.list`): $0.003 per call · about 20 comments per page
- [Trả lời bài đăng Bluesky](https://okdata.online/apis/bluesky/posts/comments/list/) (`bluesky.posts.comments.list`): $0.001 per call · about 200 comments per page
- [Bình luận note Xiaohongshu](https://okdata.online/apis/xiaohongshu/notes/comments/list/) (`xiaohongshu.notes.comments.list`): $0.035 per call · about 10 comments per page
- [Phản hồi bình luận Xiaohongshu](https://okdata.online/apis/xiaohongshu/comments/replies/list/) (`xiaohongshu.comments.replies.list`): $0.03 per call · about 5 comments per page
- [Bình luận video Douyin](https://okdata.online/apis/douyin/videos/comments/list/) (`douyin.videos.comments.list`): $0.002 per call · about 20 comments per page
- [Trả lời bình luận Douyin](https://okdata.online/apis/douyin/comments/replies/list/) (`douyin.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận bài viết Official Account](https://okdata.online/apis/wechat_mp/articles/comments/list/) (`wechat_mp.articles.comments.list`): $0.03 per call · about 20 comments per page
- [Phản hồi bình luận Official Account](https://okdata.online/apis/wechat_mp/comments/replies/list/) (`wechat_mp.comments.replies.list`): $0.03 per call · about 3 comments per page
- [Bình luận video WeChat Channels](https://okdata.online/apis/wechat_channels/videos/comments/list/) (`wechat_channels.videos.comments.list`): $0.015 per call · about 25 comments per page
- [Phản hồi bình luận WeChat Channels](https://okdata.online/apis/wechat_channels/comments/replies/list/) (`wechat_channels.comments.replies.list`): $0.015 per call · about 20 comments per page
- [Bình luận bài đăng Weibo](https://okdata.online/apis/weibo/posts/comments/list/) (`weibo.posts.comments.list`): $0.002 per call · about 20 comments per page
- [Phản hồi bình luận Weibo](https://okdata.online/apis/weibo/comments/replies/list/) (`weibo.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận video Bilibili](https://okdata.online/apis/bilibili/videos/comments/list/) (`bilibili.videos.comments.list`): $0.002 per call · about 20 comments per page
- [Trả lời bình luận Bilibili](https://okdata.online/apis/bilibili/comments/replies/list/) (`bilibili.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận video Kuaishou](https://okdata.online/apis/kuaishou/videos/comments/list/) (`kuaishou.videos.comments.list`): $0.002 per call · about 10 comments per page
- [Phản hồi bình luận Kuaishou](https://okdata.online/apis/kuaishou/comments/replies/list/) (`kuaishou.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận câu trả lời Zhihu](https://okdata.online/apis/zhihu/answers/comments/list/) (`zhihu.answers.comments.list`): $0.002 per call · about 10 comments per page
- [Phản hồi bình luận Zhihu](https://okdata.online/apis/zhihu/comments/replies/list/) (`zhihu.comments.replies.list`): $0.002 per call · about 20 comments per page
- [Bình luận Toutiao](https://okdata.online/apis/toutiao/posts/comments/list/) (`toutiao.posts.comments.list`): $0.002 per call · about 20 comments per page
- [Bình luận Xigua Video](https://okdata.online/apis/xigua/videos/comments/list/) (`xigua.videos.comments.list`): $0.002 per call · about 20 comments per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `post_id`, `parent_id`, `text`, `published_at`, `author`, `likes`, `replies`
- standard: `ip_location`
- full: `ext`
