Access real-time trending topics on Twitter. Get trending hashtags, tweet volumes, and category breakdowns for global trend analysis.
Average response time: 60ms
const response = await fetch(
'https://scrapebadger.com/v1/twitter/trends/?category=trending&count=10',
{ headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const trends = await response.json();
trends.data.forEach(t => console.log(t.name, t.tweet_volume));{
"data": [
{ "name": "#AI", "tweet_volume": 125000, "category": "Technology" },
{ "name": "#SuperBowl", "tweet_volume": 890000, "category": "Sports" },
{ "name": "Breaking News", "tweet_volume": 45000, "category": "News" }
]
}/v1/twitter/trends/| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | Optional | Filter by category: "trending", "for_you", "news", "sports", "entertainment" |
count | integer | Optional | Number of trends to return (default: 20) |
Detect emerging trends, viral content, and breaking news before they peak using real-time trending topic data.
Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.
Aggregate top-performing content by topic or industry to fuel newsletters, social feeds, and content marketing calendars.
Track how news stories propagate on Twitter, measure story amplification, and identify key distributors of information.
Analyze consumer conversations, product feedback, and market trends to inform product development and go-to-market strategies.
Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.
Twitter updates trending topics every few minutes. Each API call returns the most current trends.
This endpoint returns global trends. Use the Get Place Trends endpoint for location-specific trends.
Available categories: "trending" (general), "for_you", "news", "sports", and "entertainment".
Tweet volume is an approximate count of tweets using the trend in the last 24 hours, as reported by Twitter.
Call this endpoint on a schedule and store results to build your own trend history database.
Sign up for free and get 1,000 API credits instantly. No credit card required.