Get X trending topics
xcrap_get_trendsFetch live X/Twitter trending topics with hashtags, context, and post volume. Use it to see what people are discussing or as a starting point for exploring a topic.
Instructions
Fetch what is trending on X/Twitter right now: the topic or hashtag, its context line where X provides one, and its post volume.
Use this for "what is trending", "what is everyone talking about on X" or as a starting point before searching for posts on a topic. The list is live and refreshed every few minutes, so the same call twice an hour apart will legitimately return different results.
Args:
count (number, 1-50): how many trends, default 20.
Returns markdown: a table of rank, topic, context and post count.
Note: trends are global, not localised to a country or city. If the list comes back empty, X was not serving trends at that moment — retry in a minute rather than concluding nothing is trending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of trending topics to return, 1-50 (default 20). |