X (Twitter) trending topics API
List trending topics. 2 endpoints from 2 providers, from $0.0011 per call.
Providers
TikHub
- X (Twitter) trending topics by country$0.0011 per call
X (Twitter)
- Trending topics by location WOEID$0.011 per call
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
Call it
This example calls X (Twitter) trending topics by country. Each endpoint takes its own inputs, which its page lists. A Joshu assistant makes the same call with its own token.
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "tikhub.x.twitter-web-fetch-trending",
"params": {
"country": "UnitedStates"
}
}'