For AI

Agent skill · okdata-viral

Breaking down a hit

Why did this post take off?

Gets one post's title, text and engagement and, where the platform has transcripts, what the video says, as one row your AI can take apart.

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

Tell your AI

Install the okdata skill okdata-viral from https://okdata.online/.well-known/agent-skills/okdata-viral/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

  • “Why did this YouTube video blow up? Look at the numbers and what it says.”
  • “Break down this Douyin video: hook, length, engagement.”
  • “What made this Xiaohongshu note get so many saves?”

Example run

EndpointCallsAt most
youtube.videos.get1$0.002
youtube.videos.transcript.get1$0.004
Total2$0.006

What it does

  1. Plans and states the cost before the first paid call, and asks before going past 3 calls.
  2. Call the post endpoint with the id or the link (url).
  3. (If the platform has it.) Call the transcript endpoint with the video's id or link.
  4. Only if the person wants the audience's reaction too: one page of comments with the post's id.
  5. Lays every result out as one table and answers from it, with the cost and where the data came from.

What you get back

Title or textAuthorPostedLikesCommentsSharesViewsTranscriptLink

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

Platforms and endpoints

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

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