---
title: "Get Trending Topics"
method: GET
path: "/twitter/{country}/trending"
tags: ["Trending Endpoints"]
---

# Get Trending Topics

`GET /twitter/{country}/trending`

## Request

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

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

## 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

## Response `200`

Standard response with list of trending topics in data field

- StandardResponse: Standard API response format
  - `code` integer, required: HTTP status code
  - `msg` string, required: Response message
  - `data` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twexapi/apis/twexapi-rest-api.md) · [All operations](https://skmtc.dev/twexapi/apis/twexapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twexapi/apis/twexapi-rest-api/revisions/59a99ac0d8f7?raw)
