Skip to main content
GET
/
twitter
/
global-trending
/
countries
List Global Trend Countries
curl --request GET \
  --url https://api.twexapi.io/twitter/global-trending/countries \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "msg": "success",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Country filter options for global trending tweets.

Standard API response format

code
integer
required

HTTP status code

Example:

200

msg
string
required

Response message

Example:

"success"

data
any | null

Response data