Trending Endpoints

Get Trending Topics

Get X Explore trending topics for a given country. Use 'worldwide' for account-default trends or a country slug such as 'united-states'.

get/twitter/{country}/trending

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/twitter/{country}/trending
  • Auth: HTTP bearer

Path parameters

country'worldwide' | 'algeria' | 'argentina' | 'australia' | 'austria' | 'bahrain' | 'belarus' | 'belgium' | 'brazil' | 'canada' | 'chile' | 'colombia' | 'denmark' | 'dominican-republic' | 'ecuador' | 'egypt' | 'france' | 'germany' | 'ghana' | 'greece' | 'guatemala' | 'india' | 'indonesia' | 'ireland' | 'israel' | 'italy' | 'japan' | 'jordan' | 'kenya' | 'korea' | 'kuwait' | 'latvia' | 'lebanon' | 'malaysia' | 'mexico' | 'netherlands' | 'new-zealand' | 'nigeria' | 'norway' | 'oman' | 'pakistan' | 'panama' | 'peru' | 'philippines' | 'poland' | 'portugal' | 'qatar' | 'russia' | 'saudi-arabia' | 'singapore' | 'south-africa' | 'spain' | 'sweden' | 'switzerland' | 'thailand' | 'turkey' | 'ukraine' | 'united-arab-emirates' | 'united-kingdom' | 'united-states' | 'venezuela' | 'vietnam' | 'zimbabwe' required

Country slug or 'worldwide' for default explore trends

Example:worldwide

Response

Standard response with list of trending topics in data field

codeinteger required

HTTP status code

msgstring required

Response message

dataunknown

Example response

{
  "code": 200,
  "msg": "success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.