For AI

Endpoints by data type

Trending topics API

7 endpoints on 7 platforms return trending topics as the same Trend object. A platform’s own trending board as it stands when you call: each entry’s rank, the topic or search term, the heat score the platform shows and a link. A call costs from $0.002 to $0.02, each endpoint at its own price; a failed call is free.

Trending topics · on each platform

PlatformEndpointPathA pagePrice
DouyinDouyin hot search boardGET /v1/douyin/trends/list50$0.002 per call · about 50 board entries per page
Xiaohongshu (RedNote)Xiaohongshu hot topicsGET /v1/xiaohongshu/trends/list20$0.02 per call · about 20 board entries per page
BilibiliBilibili hot searchesGET /v1/bilibili/trends/list50$0.002 per call · about 50 board entries per page
WeiboWeibo hot searchGET /v1/weibo/trends/list50$0.002 per call · about 50 board entries per page
X (Twitter)X trending topicsGET /v1/x/trends/list30$0.009 per call · about 30 board entries per page
RedditReddit trending searchesGET /v1/reddit/trends/list6$0.002 per call · about 6 board entries per page
KuaishouKuaishou hot listGET /v1/kuaishou/trends/list51$0.002 per call · about 51 board entries per page

from $0.002 to $0.02 a call, each endpoint at its own price. A call that fails costs nothing.

The object it returns: Trend

Every endpoint above returns these fields with the same names and types. A field a platform does not show comes back null and is named in meta.unavailable.

FieldTypeMeaning
rankintegerPosition on the board, 1 is the top.
namestringThe topic or search term.
heatnumber | nullThe heat score the platform shows; scales differ by platform.
urlstring | nullLink to the topic page, if there is one.

The same call on two platforms

Same parameters, same paging, same response shape. Only the path changes.

cURL
# Douyin
curl "https://api.okdata.online/v1/douyin/trends/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY"

# Xiaohongshu (RedNote)
curl "https://api.okdata.online/v1/xiaohongshu/trends/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY"

What people use it for

  • Save the board every hour and see how long a topic stays on it.
  • Alert the team when a brand or product name shows up.
  • Give an AI agent today’s boards before it drafts content ideas.

Questions

Can I compare heat values across platforms?
No. Each platform computes heat its own way and on its own scale, and some show none. Compare ranks and time on the board instead.
Can I get yesterday’s board?
The endpoints return the board as it is now. To keep history, call on a schedule and store each read; the free hot search pages on this site keep a daily archive for some boards.
How often should I read a board?
Boards move within the hour, so hourly is a common rhythm. Each read is one call, so 24 reads a day cost 24 times the price in the table.

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