GETtrends

Location-Specific Twitter Trends

Get trending topics for any city or country using WOEID codes. Perfect for local marketing, geo-targeted campaigns, and regional analysis.

Average response time: 65ms

Code Examples

// WOEID 23424977 = United States
const response = await fetch(
  'https://scrapebadger.com/v1/twitter/trends/place/23424977',
  { headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const trends = await response.json();
trends.data.forEach(t => console.log(t.name, t.tweet_volume));
Response
{
  "data": [
    { "name": "#Election2025", "tweet_volume": 320000 },
    { "name": "Super Bowl", "tweet_volume": 890000 },
    { "name": "#TechNews", "tweet_volume": 45000 }
  ],
  "location": { "name": "United States", "woeid": 23424977 }
}

API Reference

GET/v1/twitter/trends/place/{woeid}
ParameterTypeRequiredDescription
woeidstringRequiredWhere On Earth ID for the location (e.g., 1 for worldwide, 23424977 for USA)

Use Cases

Trend Tracking

Detect emerging trends, viral content, and breaking news before they peak using real-time trending topic data.

Market Research

Analyze consumer conversations, product feedback, and market trends to inform product development and go-to-market strategies.

Political Analysis

Study political discourse, election campaigns, policy discussions, and public opinion using large-scale tweet datasets.

Media Monitoring

Track how news stories propagate on Twitter, measure story amplification, and identify key distributors of information.

Social Listening

Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.

Sports Analytics

Track game-day conversations, player mentions, fan sentiment, and sports trends for media companies and betting platforms.

Frequently Asked Questions

WOEID (Where On Earth ID) is Yahoo's unique identifier for geographic locations. Use the Search Places endpoint to find WOEIDs.

Twitter supports trends for most countries and major cities worldwide. Use Geo Search to discover available locations.

Yes. Place trends show what's trending specifically in that location, which often differs significantly from global trends.

Place trends update every few minutes, same as global trends.