tx twitterxapi.com docs

API reference

Trends

Read X trend pages by category or timeline ID.

GET

Trends

/v1/trends/{category}?cursor={cursor}

Use trending, news, sport, entertainment, or an X timeline ID.

curl "https://twitterxapi.com/api/v1/trends/trending?level=moderate" \
  -H "Authorization: Bearer $TWITTERXAPI_KEY"