twitter_trends
Get trending topics for a location by WOEID, including trend names and tweet counts. Specify a max number or choose fields to tailor the results.
Instructions
Trending topics for a location by WOEID (1 = worldwide, 23424977 = US, 23424748 = Australia, 23424975 = UK).
Returns: {data:[{trend_name, tweet_count}]}
Example: Worldwide trends {"woeid": 1}
Auth: needs your own key in X_BEARER_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| woeid | Yes | Where-On-Earth id of the location. Required — part of the URL path. | |
| max_trends | No | Max trends to return (1-50, default 20). | |
| trend_fields | No | Trend fields to include (CSV) — tweet_count is omitted unless requested. | trend_name,tweet_count |