# Comments and word of mouth: an agent skill

> What are people praising and complaining about under this post? A free skill for your AI on 11 platforms: e.g. 3 calls, at most $0.006, one table back.

Canonical page: https://okdata.online/skills/comments/

**What are people praising and complaining about under this post?** Reads the comments under one post, page by page, into one table: comment, author, likes, replies and time. Each page is one paid call; making sense of praise and complaints is left to your AI.

## Tell your AI

```text
Install the okdata skill okdata-comments from https://okdata.online/.well-known/agent-skills/okdata-comments/SKILL.md into your skills folder.
```

- SKILL.md: https://okdata.online/.well-known/agent-skills/okdata-comments/SKILL.md
- Download (.zip): https://okdata.online/skills/okdata-comments.zip

## Example run

| Platform | Endpoint | Calls | At most |
|---|---|---|---|
| Douyin | [douyin.videos.comments.list](https://okdata.online/apis/douyin/videos/comments/list/) | 3 | $0.006 |

Total: 3 calls, ≤ $0.006

## Ask it like this

- Read three pages of comments under this Douyin video and tell me what people like and dislike.
- What are viewers asking under this YouTube review? Two pages is enough.
- Pull the comments on this Xiaohongshu note and group the complaints by theme.

## What it does

1. Only when you were given a link and the comments endpoint takes no `url`: call the post endpoint with `url` and take `id` from the result (one extra call).
2. Call the comments endpoint with the post's `id` (where it also takes `url`, a share link works). For each further page pass `page.next_cursor` back as `cursor`, up to `pages` pages.

## What you get back

Comment, Author, Likes, Replies, Time, Link

## Inputs it needs

| Input | Needed | Meaning |
|---|---|---|
| `platform` | yes | The platform id, e.g. `douyin`, `tiktok`, `x`. |
| `post` | yes | The post's id or share link. |
| `pages` | no | Pages of comments to read, 1 to 10; 3 if not given. |

## Platforms and endpoints

- Douyin: [Douyin video comments](https://okdata.online/apis/douyin/videos/comments/list/) `douyin.videos.comments.list`, $0.002 per call · about 20 comments per page
- Douyin: [Douyin video detail](https://okdata.online/apis/douyin/videos/get/) `douyin.videos.get`, $0.002 per call
- Xiaohongshu (RedNote): [Xiaohongshu note comments](https://okdata.online/apis/xiaohongshu/notes/comments/list/) `xiaohongshu.notes.comments.list`, $0.02 per call · about 10 comments per page
- Xiaohongshu (RedNote): [Xiaohongshu note detail](https://okdata.online/apis/xiaohongshu/notes/get/) `xiaohongshu.notes.get`, $0.02 per call
- WeChat Official Accounts: [Official Account article comments](https://okdata.online/apis/wechat_mp/articles/comments/list/) `wechat_mp.articles.comments.list`, $0.02 per call · about 20 comments per page
- WeChat Official Accounts: [Official Account article detail](https://okdata.online/apis/wechat_mp/articles/get/) `wechat_mp.articles.get`, $0.02 per call
- Bilibili: [Bilibili video comments](https://okdata.online/apis/bilibili/videos/comments/list/) `bilibili.videos.comments.list`, $0.002 per call · about 20 comments per page
- Bilibili: [Bilibili video detail](https://okdata.online/apis/bilibili/videos/get/) `bilibili.videos.get`, $0.002 per call
- Weibo: [Weibo post comments](https://okdata.online/apis/weibo/posts/comments/list/) `weibo.posts.comments.list`, $0.002 per call · about 20 comments per page
- Weibo: [Weibo post detail](https://okdata.online/apis/weibo/posts/get/) `weibo.posts.get`, $0.002 per call
- TikTok: [TikTok video comments](https://okdata.online/apis/tiktok/videos/comments/list/) `tiktok.videos.comments.list`, $0.002 per call · about 50 comments per page
- TikTok: [TikTok video detail](https://okdata.online/apis/tiktok/videos/get/) `tiktok.videos.get`, $0.002 per call
- YouTube: [YouTube video comments](https://okdata.online/apis/youtube/videos/comments/list/) `youtube.videos.comments.list`, $0.002 per call · about 20 comments per page
- YouTube: [YouTube video detail](https://okdata.online/apis/youtube/videos/get/) `youtube.videos.get`, $0.002 per call
- Instagram: [Instagram post comments](https://okdata.online/apis/instagram/posts/comments/list/) `instagram.posts.comments.list`, $0.004 per call · about 15 comments per page
- Instagram: [Instagram post detail](https://okdata.online/apis/instagram/posts/get/) `instagram.posts.get`, $0.004 per call
- Reddit: [Reddit post comments](https://okdata.online/apis/reddit/posts/comments/list/) `reddit.posts.comments.list`, $0.002 per call · about 10 comments per page
- Reddit: [Reddit post detail](https://okdata.online/apis/reddit/posts/get/) `reddit.posts.get`, $0.002 per call
- Kuaishou: [Kuaishou video comments](https://okdata.online/apis/kuaishou/videos/comments/list/) `kuaishou.videos.comments.list`, $0.002 per call · about 10 comments per page
- Kuaishou: [Kuaishou video detail](https://okdata.online/apis/kuaishou/videos/get/) `kuaishou.videos.get`, $0.002 per call
- WeChat Channels: [WeChat Channels video comments](https://okdata.online/apis/wechat_channels/videos/comments/list/) `wechat_channels.videos.comments.list`, $0.015 per call · about 25 comments per page
- WeChat Channels: [WeChat Channels video detail](https://okdata.online/apis/wechat_channels/videos/get/) `wechat_channels.videos.get`, $0.02 per call

The job it belongs to: [Word-of-mouth and comment analysis API](https://okdata.online/solutions/word-of-mouth/)
