Trends
Get trending hashtags and topics from X by region
get/x/trends
Query parameters
woeidinteger
Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey)
countinteger
Number of trending topics to return (1-50, default 30)
Response
List of trending topics
Example response
{
"trends": [
{
"name": "#AI",
"description": "Artificial intelligence discussions",
"promotedContent": null,
"query": "%23AI",
"rank": 1,
"tweetVolume": 250000,
"url": "https://x.com/search?q=%23AI"
}
],
"count": 30,
"woeid": 1
}