Trending topics API
8 endpoints on 8 platforms return the same Trend object. What a platform lists as trending now: hot searches and topics, each with its rank and heat. A call costs from $0.0020 to $0.0200, each endpoint at its own price; a failed call is free.
Trending topics on each platform
One row per endpoint: what it is called, how much comes back in a call, and what a call costs.
The Trend object
Every endpoint above returns these fields, with the same names and types.
idtextThe platform's ID for the entrynametextName of the entryrankintegerPosition on the board, from 1; a pinned entry has noneheatintegerThe platform's heat scoreWhich platform fills which field
A field an endpoint cannot give is listed in meta.unavailable on every answer, so a gap is never a surprise.
The same call on two platforms
Same parameter names, same paging, same answer. Only the path changes.
# X (Twitter) curl "https://api.dataxapi.com/v1/x/trends/list" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" # Douyin: one word changes curl "https://api.dataxapi.com/v1/douyin/trends/list" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
// X (Twitter) import { DataXAPI } from "@dataxapi/sdk"; const dx = new DataXAPI(); // reads DATAXAPI_API_KEY const result = await dx.x.trends.list(); console.log(result.data.items); // Douyin: one word changes const other = await dx.douyin.trends.list(); console.log(other.data.items);
# X (Twitter) from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.x.trends.list() print(result["data"]["items"]) # Douyin: one word changes other = dx.douyin.trends.list() print(other["data"]["items"])
# X (Twitter) dataxapi call x.trends.list # Douyin: one word changes dataxapi call douyin.trends.list
{
"code": "ok",
"request_id": "86caa2be-f053-4926-a0ef-f572a73d938b",
"data": {
"items": [
{ "name": "Weekend hiking", "rank": 1 },
// … 29 more
]
},
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 30
},
"warnings": [],
"meta": {
"capability": "x.trends.list",
"result_status": "complete",
"fetched_at": "2026-10-13T03:29:53.000Z",
"cached": false,
"replayed": false,
"unavailable": { "id": "platform", "heat": "capability" },
"billing": {
"amount": "0.009",
"currency": "USD",
"balance_after": "9.991"
}
}
}X trends: From a response recorded 2026-10-13 03:29 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Ready to use
Skills your AI can run on these endpoints, with what one run costs, and the objects every answer comes back as.
Trends and topics
“What is trending right now?”
The Trend object
What every field means, which number each platform puts in it, and where it is missing.
Questions about the Trending topics API
Short answers. Each endpoint's page has its own limits and examples.
X trends API →How much does it cost?
$0.0020 a call on Douyin, Reddit, Bilibili, Weibo, Kuaishou, Zhihu; $0.0090 a call on X (Twitter); $0.0200 a call on Xiaohongshu (RedNote). You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.
How do I get every page?
Pass page.next_cursor back as cursor until page.has_more is false. Each page is one call at the same price.
Does every platform fill every field?
No. 3 of the 4 fields are missing on at least one platform; the table on this page says which. A field an endpoint cannot give is named in meta.unavailable on every answer, never filled with a guess.
Do I need an account on the platform?
No. One DataXAPI key reads all 8 platforms. No platform account and no cookie.
Other data types
The same idea everywhere: one action, every platform that has it.
Start with one key.
207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.