cURL
curl --request GET \ --url https://api.x.com/2/trends/by/woeid/{woeid} \ --header 'Authorization: Bearer <token>'
{ "data": [ { "trend_name": "<string>", "tweet_count": 123 } ], "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Retrieves trending topics for a specific location identified by its WOEID.
1 <= x <= 50
1
Show child attributes