# Social media data APIs

> All 35 endpoints on 8 platforms with what they return and what one call costs. Douyin, Xiaohongshu, WeChat, Bilibili, Weibo, TikTok, X and YouTube.

Canonical page: https://okdata.online/apis/

Every endpoint is a GET under https://api.okdata.online/v1 with the id as its path. Prices are per call unless marked per item.

### [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.
