x.com
X (Twitter) trends: read trending topics on Explore
Input
tab optionalWhich Explore tab to read. "trending" returns ranked topics (rank + "Music · Trending" + name), while news, sports and entertainment return headline stories (headline + "9 hours ago · Other · 195K posts"). "for_you" mixes the two shapes in one list, so expect some rows with a rank and some without.
Default: "trending"limit optionalMaximum entries to return, in the order X ranks them. A tab holds what X sends when it opens (about 30 on trending, far fewer on the topical tabs; sports returned only 5), so asking for more simply returns what the tab holds.
Default: 20Output
tab requiredurl requiredThe Explore tab URL actually read.
count requiredtrends requirednote optionalSet when a tab rendered no rows at all.
