Skip to main content
GET
/
2
/
trends
/
by
/
woeid
/
{woeid}
Get Trends by WOEID
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

woeid
integer
required

Query Parameters

Required range: 1 <= x <= 50
trend.fields
enum<string>[]
Minimum length: 1
Example:

Response

data
object[]
Minimum length: 1
errors
object[]
Minimum length: 1