# Let your AI see what is happening on Douyin and Xiaohongshu

> Videos, notes, comments, creators and hot lists from 8 platforms in China and abroad, all behind one key. Connect it to Claude or Cursor and ask in your own words. You pay per call, and the cheapest call costs $0.001.

Canonical page: https://okdata.online/

- No data, no charge
- Pay per call, no subscription
- Alipay, WeChat Pay or card

- **8 platforms**: Five in China, three worldwide
- **35 endpoints**: Search, comments, creators, hot lists
- **$0.001 a call**: No monthly fee; the balance never expires
- **$0 if it fails**: Typos, platform hiccups and timeouts are on us

## Six questions marketers ask every week, ready to hand to your AI

Launching a product, planning content, finding creators or chasing a trend all start with the same thing: knowing what people are talking about right now. Ask your AI. It fetches the data from the right platforms and tells you where each answer came from.

- [Competitor monitoring API](https://okdata.online/solutions/competitor-monitoring/): “What did our competitors post this week, and what took off?”
- [Word-of-mouth and comment analysis API](https://okdata.online/solutions/word-of-mouth/): “What do buyers complain about most?”
- [Creator discovery API](https://okdata.online/solutions/creator-discovery/): “Who are the mid-size creators in camping gear?”
- [Hot search and trend API](https://okdata.online/solutions/trend-research/): “What is trending today that we could ride?”
- [Content research API](https://okdata.online/solutions/content-research/): “What do the top posts on this topic have in common?”
- [Video transcript API](https://okdata.online/solutions/transcripts/): “Which products did this channel recommend?”

## Once it is connected, these stop being your problem

- **Switch platforms without touching your code** A Douyin video and a YouTube video come back in the same structure. Checking Xiaohongshu today and want TikTok tomorrow? Change one parameter.
- **The price is on the label** Every endpoint shows what a call costs before you make it. There is no plan to pick, and money you top up never expires.
- **No data, no charge** A typo in a parameter, a platform having a bad minute, a request that times out: none of it is billed, and the error tells you whether to try again.
- **Every answer comes with its receipt** You see what that one call cost and how much balance is left, right in the response. Any earlier call can be looked up later.
- **Send it twice, pay once** If your connection drops and you resend, the second try returns the first result for free, for up to 24 hours.
- **When a number is missing, you learn why** Douyin hides play counts and Xiaohongshu hides reposts. When that happens, the response says whether the platform never shows it or we have not wired it up yet.
- **Ask for three fields, get three fields** The less data you feed a model, the fewer tokens you pay for. Trim each response to what the task needs.
- **If one data line stalls, another picks it up** Calls run through more than one data source in order. When one fails or hangs, the next takes over and you still get a normal answer.
- **Claude, Cursor and Codex can use it today** Paste one config block and your agent gets four tools. It can look up endpoints and prices before you add a key, then fetch data once you do.
- **Docs your AI can read on its own** Hand any page to ChatGPT or Claude with one click. Every page also has a plain Markdown copy, and there is a single file that explains the whole API.
- **Try it before you write any code** Paste your key on an endpoint page and press send. You see the real response, the status and what it cost.
- **Start with free credit, pay the way you already do** A new key comes with $0.10, enough to try a few endpoints for real. Top up with Alipay, WeChat Pay or a bank card.
- **Hit a limit and you are told how long to wait** Each response shows how much of your burst you have left. If you go over, the answer says how many seconds until you can send again.
- **See what is up and what changed** A public status page shows each endpoint as up or down, and the changelog lists every change to endpoints and prices.

## Platforms and endpoints

### [Douyin](https://okdata.online/apis/douyin/)

- [Douyin video search](https://okdata.online/apis/douyin/videos/search/) `douyin.videos.search`: Videos matching keywords, with likes, comments, shares and the author. $0.02 per call · about 20 videos per page.
- [Douyin video detail](https://okdata.online/apis/douyin/videos/get/) `douyin.videos.get`: One video by ID or share link: text, metrics, author, music and hashtags. $0.002 per call.
- [Douyin video comments](https://okdata.online/apis/douyin/videos/comments/list/) `douyin.videos.comments.list`: Top-level comments on a video, newest or hottest first. $0.002 per call · about 20 comments per page.
- [Douyin account profile](https://okdata.online/apis/douyin/users/get/) `douyin.users.get`: Followers, total likes, video count, bio and verification of an account. $0.002 per call.
- [Douyin account videos](https://okdata.online/apis/douyin/users/videos/list/) `douyin.users.videos.list`: An account's videos, newest first, with metrics. $0.002 per call · about 20 videos per page.
- [Douyin hot search board](https://okdata.online/apis/douyin/trends/list/) `douyin.trends.list`: The current hot search list with rank and heat. $0.002 per call · about 50 board entries per page.

### [Xiaohongshu (RedNote)](https://okdata.online/apis/xiaohongshu/)

- [Xiaohongshu note search](https://okdata.online/apis/xiaohongshu/notes/search/) `xiaohongshu.notes.search`: Notes matching keywords, newest or most popular first, with images and the author. $0.02 per call · about 20 notes per page.
- [Xiaohongshu note detail](https://okdata.online/apis/xiaohongshu/notes/get/) `xiaohongshu.notes.get`: Full text, all images or the video, likes, saves and comments count of one note. $0.02 per call.
- [Xiaohongshu note comments](https://okdata.online/apis/xiaohongshu/notes/comments/list/) `xiaohongshu.notes.comments.list`: Comments on a note with likes and reply counts. $0.02 per call · about 10 comments per page.
- [Xiaohongshu account profile](https://okdata.online/apis/xiaohongshu/users/get/) `xiaohongshu.users.get`: Followers, likes and saves, note count and bio of an account. $0.02 per call.
- [Xiaohongshu account notes](https://okdata.online/apis/xiaohongshu/users/notes/list/) `xiaohongshu.users.notes.list`: An account's notes, newest first. $0.02 per call · about 20 notes per page.
- [Xiaohongshu trending searches](https://okdata.online/apis/xiaohongshu/trends/list/) `xiaohongshu.trends.list`: What people are searching on Xiaohongshu right now. $0.02 per call · about 20 board entries per page.

### [WeChat Official Accounts](https://okdata.online/apis/wechat_mp/)

- [Official Account search](https://okdata.online/apis/wechat_mp/accounts/search/) `wechat_mp.accounts.search`: Find Official Accounts by name or keyword, with their original ID (gh_…). Charged per account returned. $0.058 per account · at most $0.58 per call.
- [Official Account article history](https://okdata.online/apis/wechat_mp/accounts/articles/list/) `wechat_mp.accounts.articles.list`: An Official Account's published articles, newest first, without a QR login. $0.04 per call · about 10 articles per page.
- [Official Account article detail](https://okdata.online/apis/wechat_mp/articles/get/) `wechat_mp.articles.get`: Full text of an article as Markdown, with reads and likes where available. $0.02 per call.

### [Bilibili](https://okdata.online/apis/bilibili/)

- [Bilibili video search](https://okdata.online/apis/bilibili/videos/search/) `bilibili.videos.search`: Videos matching keywords, with views, danmaku, likes and coins. $0.002 per call · about 20 videos per page.
- [Bilibili video detail](https://okdata.online/apis/bilibili/videos/get/) `bilibili.videos.get`: One video by BV ID or link. $0.002 per call.
- [Bilibili video comments](https://okdata.online/apis/bilibili/videos/comments/list/) `bilibili.videos.comments.list`: Comments on a video, hottest or newest first. $0.002 per call · about 20 comments per page.
- [Bilibili popular board](https://okdata.online/apis/bilibili/trends/list/) `bilibili.trends.list`: The current popular videos board. $0.002 per call · about 50 board entries per page.

### [Weibo](https://okdata.online/apis/weibo/)

- [Weibo post search](https://okdata.online/apis/weibo/posts/search/) `weibo.posts.search`: Posts matching keywords, latest or hot, with reposts, comments and likes. $0.002 per call · about 10 posts per page.
- [Weibo hot search](https://okdata.online/apis/weibo/trends/list/) `weibo.trends.list`: The Weibo hot search list with rank and heat. $0.002 per call · about 50 board entries per page.
- [Weibo account profile](https://okdata.online/apis/weibo/users/get/) `weibo.users.get`: Followers, post count, verification and bio of an account. $0.002 per call.

### [TikTok](https://okdata.online/apis/tiktok/)

- [TikTok video search](https://okdata.online/apis/tiktok/videos/search/) `tiktok.videos.search`: Videos matching keywords worldwide, with plays, likes, comments and shares. $0.002 per call · about 30 videos per page.
- [TikTok video detail](https://okdata.online/apis/tiktok/videos/get/) `tiktok.videos.get`: One video by ID or link. $0.002 per call.
- [TikTok video comments](https://okdata.online/apis/tiktok/videos/comments/list/) `tiktok.videos.comments.list`: Comments on a video with likes and reply counts. $0.002 per call · about 50 comments per page.
- [TikTok account profile](https://okdata.online/apis/tiktok/users/get/) `tiktok.users.get`: Followers, likes, video count and bio of an account. $0.002 per call.

### [X (Twitter)](https://okdata.online/apis/x/)

- [X post detail](https://okdata.online/apis/x/posts/get/) `x.posts.get`: One post by ID or link: text, media, views, likes, reposts and replies. $0.001 per call.
- [X post search](https://okdata.online/apis/x/posts/search/) `x.posts.search`: Posts matching a query (X search operators work), latest or top. $0.006 per call · about 20 posts per page.
- [X account profile](https://okdata.online/apis/x/users/get/) `x.users.get`: Followers, following, post count, bio and verification of an account. $0.001 per call.
- [X account posts](https://okdata.online/apis/x/users/posts/list/) `x.users.posts.list`: An account's posts, newest first. $0.006 per call · about 20 posts per page.
- [X trending topics](https://okdata.online/apis/x/trends/list/) `x.trends.list`: Trending topics worldwide or for one country. $0.009 per call · about 30 board entries per page.

### [YouTube](https://okdata.online/apis/youtube/)

- [YouTube video search](https://okdata.online/apis/youtube/videos/search/) `youtube.videos.search`: Videos matching keywords with views, length and channel. $0.004 per call · about 20 videos per page.
- [YouTube video detail](https://okdata.online/apis/youtube/videos/get/) `youtube.videos.get`: One video by ID or link: title, description, views, likes and channel. $0.004 per call.
- [YouTube video comments](https://okdata.online/apis/youtube/videos/comments/list/) `youtube.videos.comments.list`: Comments on a video, top or newest first. $0.004 per call · about 20 comments per page.
- [YouTube video transcript](https://okdata.online/apis/youtube/videos/transcript/get/) `youtube.videos.transcript.get`: The transcript of a video with timestamps, in the original or a chosen language. $0.004 per call.

## You know the bill before you start

Three jobs people run all the time, priced at today’s rates. Plug in your own numbers in the calculator.

| Job | Endpoint | Calls | Cost |
|---|---|---|---|
| 1,000 Xiaohongshu notes about one keyword | [Xiaohongshu note search](https://okdata.online/apis/xiaohongshu/notes/search/) | 50 | $1.00 |
| A competitor’s last 200 Official Account articles | [Official Account article history](https://okdata.online/apis/wechat_mp/accounts/articles/list/) | 20 | $0.80 |
| 5,000 TikTok comments for sentiment analysis | [TikTok video comments](https://okdata.online/apis/tiktok/videos/comments/list/) | 100 | $0.20 |
| 1,000 X posts that mention a brand | [X post search](https://okdata.online/apis/x/posts/search/) | 50 | $0.30 |

## For AI agents

- MCP: `https://api.okdata.online/mcp`
- llms.txt: https://okdata.online/llms.txt
- llms-full.txt: https://okdata.online/llms-full.txt
- agents.md: https://okdata.online/agents.md
- OpenAPI 3.1: https://okdata.online/openapi.json
- prices.json: https://okdata.online/prices.json
- API catalog (RFC 9727): https://okdata.online/.well-known/api-catalog
- Every page has a Markdown twin: add .md to its path.

## Questions

### Do I need a Douyin or Xiaohongshu account?

No. You send your okdata key and nothing else: no platform login, cookie or QR scan.

### How is a call priced?

Each endpoint has a fixed price per call, shown on its page and in prices.json. One call returns one page; the response tells you what it cost in meta.billing.amount.

### What if a call fails or times out?

Failed calls are not charged. A timeout says charged: null until it settles; resend with the same Idempotency-Key and it is never billed twice.

### Can Claude or Cursor use it directly?

Yes. Add the MCP server at https://api.okdata.online/mcp with your key in one header. The agent can look up endpoints and prices for free before it spends anything.

### How fresh is the data?

It is fetched from the platform when you call, unless the same request was answered moments ago; meta.fetched_at says when.

### How do I pay?

Top up a prepaid balance with Alipay, WeChat Pay or a bank card. The balance does not expire, and a new key starts with $0.10.

## Answers

- [How do I give Claude access to Douyin data through MCP?](https://okdata.online/answers/claude-douyin-data-mcp/): Add the okdata MCP server (https://api.okdata.online/mcp) to Claude with your API key in an Authorization header. Claude gets find, describe and call tools and can then search Douyin videos ($0.02 a call), read comments ($0.002 a page) and check the hot search list ($0.002) by itself. No Douyin account or cookie is needed.
- [How do I export all articles of a WeChat Official Account without logging in?](https://okdata.online/answers/export-wechat-official-account-articles/): Find the account's biz ID with Official Account search, page through its history 10 articles per call ($0.04 each), then fetch each article as Markdown for $0.02. No QR login or cookie is involved. A 500-article account costs $12.58 in full, or $2.58 for titles and links only.
- [Which TikTok comments API can I use for sentiment analysis?](https://okdata.online/answers/tiktok-comments-api-sentiment-analysis/): Use TikTok video comments (/v1/tiktok/videos/comments/list): $0.002 per call with about 50 comments a page, so 1,000 comments cost $0.04. Each comment has text, likes, reply count, time and author, which is what a sentiment model needs. Find the videos first with TikTok video search at $0.002 a call.
- [How much does a Xiaohongshu (RedNote) note search API cost?](https://okdata.online/answers/xiaohongshu-note-search-api-price/): $0.02 per call on okdata. One call returns a page of about 20 notes, so 1,000 notes take 50 calls and cost $1.00. There is no plan or minimum, failed calls are free, and the price is the same for every sort order.

Sample data: public posts from Xiaohongshu, Douyin and TikTok, recorded 2026-11-12. Authors removed.
