For AI

Agent skill · okdata-comments

Comments and word of mouth

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.

  • 11 platforms
  • 3 calls in the example
  • ≤ $0.006 for that run
  • 10 calls before it asks

Tell your AI

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

The package is one folder with one SKILL.md; unzip it into your agent's skills folder. The skill is free; you pay only for the calls it makes.

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.”

Example run

EndpointCallsAt most
douyin.videos.comments.list3$0.006
Total3$0.006

What it does

  1. Plans and states the cost before the first paid call, and asks before going past 10 calls.
  2. 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).
  3. 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.
  4. Lays every result out as one table and answers from it, with the cost and where the data came from.

What you get back

CommentAuthorLikesRepliesTimeLink

One row per item fetched. A cell stays empty when the platform does not show that figure; nothing is guessed.

Inputs it needs

InputNeededMeaning
platformyesThe platform id, e.g. douyin, tiktok, x.
postyesThe post's id or share link.
pagesnoPages of comments to read, 1 to 10; 3 if not given.

Platforms and endpoints

PlatformEndpointPrice
DouyinDouyin video comments douyin.videos.comments.list$0.002 per call · about 20 comments per page
DouyinDouyin video detail douyin.videos.get$0.002 per call
Xiaohongshu (RedNote)Xiaohongshu note comments xiaohongshu.notes.comments.list$0.02 per call · about 10 comments per page
Xiaohongshu (RedNote)Xiaohongshu note detail xiaohongshu.notes.get$0.02 per call
WeChat Official AccountsOfficial Account article comments wechat_mp.articles.comments.list$0.02 per call · about 20 comments per page
WeChat Official AccountsOfficial Account article detail wechat_mp.articles.get$0.02 per call
BilibiliBilibili video comments bilibili.videos.comments.list$0.002 per call · about 20 comments per page
BilibiliBilibili video detail bilibili.videos.get$0.002 per call
WeiboWeibo post comments weibo.posts.comments.list$0.002 per call · about 20 comments per page
WeiboWeibo post detail weibo.posts.get$0.002 per call
TikTokTikTok video comments tiktok.videos.comments.list$0.002 per call · about 50 comments per page
TikTokTikTok video detail tiktok.videos.get$0.002 per call
YouTubeYouTube video comments youtube.videos.comments.list$0.002 per call · about 20 comments per page
YouTubeYouTube video detail youtube.videos.get$0.002 per call
InstagramInstagram post comments instagram.posts.comments.list$0.004 per call · about 15 comments per page
InstagramInstagram post detail instagram.posts.get$0.004 per call
RedditReddit post comments reddit.posts.comments.list$0.002 per call · about 10 comments per page
RedditReddit post detail reddit.posts.get$0.002 per call
KuaishouKuaishou video comments kuaishou.videos.comments.list$0.002 per call · about 10 comments per page
KuaishouKuaishou video detail kuaishou.videos.get$0.002 per call
WeChat ChannelsWeChat Channels video comments wechat_channels.videos.comments.list$0.015 per call · about 25 comments per page
WeChat ChannelsWeChat Channels video detail wechat_channels.videos.get$0.02 per call

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp