# Breaking down a hit: an agent skill

> Why did this post take off? A free skill for your AI on 12 platforms: e.g. 2 calls, at most $0.006, one table back.

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

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

## Tell your AI

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

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

## Example run

| Platform | Endpoint | Calls | At most |
|---|---|---|---|
| YouTube | [youtube.videos.get](https://okdata.online/apis/youtube/videos/get/) | 1 | $0.002 |
| YouTube | [youtube.videos.transcript.get](https://okdata.online/apis/youtube/videos/transcript/get/) | 1 | $0.004 |

Total: 2 calls, ≤ $0.006

## 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?

## What it does

1. Call the post endpoint with the `id` or the link (`url`).
2. (If the platform has it.) Call the transcript endpoint with the video's id or link.
3. Only if the person wants the audience's reaction too: one page of comments with the post's `id`.

## What you get back

Title or text, Author, Posted, Likes, Comments, Shares, Views, Transcript, Link

## Inputs it needs

| Input | Needed | Meaning |
|---|---|---|
| `platform` | yes | The platform id, e.g. `douyin`, `tiktok`, `x`. |
| `post` | yes | The post's id or link. |

## Platforms and endpoints

- Douyin: [Douyin video detail](https://okdata.online/apis/douyin/videos/get/) `douyin.videos.get`, $0.002 per call
- 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
- Xiaohongshu (RedNote): [Xiaohongshu note detail](https://okdata.online/apis/xiaohongshu/notes/get/) `xiaohongshu.notes.get`, $0.02 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
- WeChat Official Accounts: [Official Account article detail](https://okdata.online/apis/wechat_mp/articles/get/) `wechat_mp.articles.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
- Bilibili: [Bilibili video detail](https://okdata.online/apis/bilibili/videos/get/) `bilibili.videos.get`, $0.002 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
- Weibo: [Weibo post detail](https://okdata.online/apis/weibo/posts/get/) `weibo.posts.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
- TikTok: [TikTok video detail](https://okdata.online/apis/tiktok/videos/get/) `tiktok.videos.get`, $0.002 per call
- TikTok: [TikTok video transcript](https://okdata.online/apis/tiktok/videos/transcript/get/) `tiktok.videos.transcript.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
- X (Twitter): [X post detail](https://okdata.online/apis/x/posts/get/) `x.posts.get`, $0.0003 per call
- YouTube: [YouTube video detail](https://okdata.online/apis/youtube/videos/get/) `youtube.videos.get`, $0.002 per call
- YouTube: [YouTube video transcript](https://okdata.online/apis/youtube/videos/transcript/get/) `youtube.videos.transcript.get`, $0.004 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
- Instagram: [Instagram post detail](https://okdata.online/apis/instagram/posts/get/) `instagram.posts.get`, $0.004 per call
- Instagram: [Instagram reel transcript](https://okdata.online/apis/instagram/posts/transcript/get/) `instagram.posts.transcript.get`, $0.004 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
- Reddit: [Reddit post detail](https://okdata.online/apis/reddit/posts/get/) `reddit.posts.get`, $0.002 per call
- Reddit: [Reddit video transcript](https://okdata.online/apis/reddit/posts/transcript/get/) `reddit.posts.transcript.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
- Kuaishou: [Kuaishou video detail](https://okdata.online/apis/kuaishou/videos/get/) `kuaishou.videos.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
- WeChat Channels: [WeChat Channels video detail](https://okdata.online/apis/wechat_channels/videos/get/) `wechat_channels.videos.get`, $0.02 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

The job it belongs to: [Content research API](https://okdata.online/solutions/content-research/)
