TwitterAPIs Docs
API ReferenceTrends

Twitter Trends API | Worldwide and Per-Country

Trends: Read what is trending on Twitter/X right now, worldwide, for a single country, for one X Explore tab or for the trends X labels Business and finance, plus the full set of locations trends are available for.

Read what is trending on Twitter/X right now, worldwide, for a single country, for one X Explore tab or for the trends X labels Business and finance, plus the full set of locations trends are available for.

/trends reads either a location, worldwide or one of the specific locations X publishes trends for, or a category, never both in one call. Five categories are X Explore tabs (trending, news, sports, entertainment and for_you). The sixth, business_and_finance, is not a tab, because X serves none: it is a filter that reads the Trending and News tabs and keeps only the ranked trends X itself labels "Business and finance". Category results reflect the Explore view of the X account the API reads with, not your own account. /trends/locations is how you discover the valid locations, since X does not support arbitrary geography here. Call /trends/locations once (its result changes rarely) and cache the location ID your integration cares about, rather than re-resolving it on every /trends call.

This category has 2 endpoints. Each is a pay-per-call REST endpoint with bearer auth, JSON in and out.

MethodPathCostDescription
GET/trends$0.0008Read the current trending topics for a location, an Explore tab or a trend label.
GET/trends/locations$0.0008List every location Twitter/X has trends available for.
Was this page helpful?