Skip to main content
GET
/
x
/
trends
Get X trends
curl --request GET \
  --url https://api.example.com/x/trends \
  --header 'x-api-key: <x-api-key>'
3 credits per call · All plans from $0.00012/credit
curl -G https://xquik.com/api/v1/x/trends \
  --data-urlencode "woeid=23424977" \
  --data-urlencode "count=10" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Query parameters

woeid
integer
Where On Earth ID for the region. Defaults to 1 (worldwide). See Trends guide for all supported regions.
count
integer
Number of trends to return. Default 30, min 1, max 50.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Response

Array of trending topics.
count
number
Number of trends returned.
woeid
number
WOEID used for the request.
{
  "trends": [
    {
      "name": "#AI",
      "rank": 1,
      "description": "Trending in Technology",
      "query": "%23AI"
    }
  ],
  "count": 1,
  "woeid": 23424977
}
This endpoint returns trends directly from X. For multi-source trending data (Google Trends, Hacker News, Reddit, etc.), use List Radar Items.
Next steps: Search Tweets to find tweets about a trending topic.