Powerful Twitter Trends API

Integrate real-time social insights directly into your applications

Request Worldwide Trends

// Fetch top 5 worldwide trends
const API_KEY = process.env.TRENDS_ON_X_API_KEY;

fetch('https://api.trendsonx.com/v1/location/0/trends?limit=5', {
  headers: {
    'x-api-key': API_KEY,
    'Accept': 'application/json'
  }
})
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(console.error);

Response (sample)

{
  "location": { "id": "0", "name": "Worldwide" },
  "trends": [
    { "name": "#ExampleTopic", "rank": 1, "tweet_volume": 120000 },
    { "name": "Breaking news story", "rank": 2 }
  ]
}
View full API reference

API Capabilities

Global Trends Data

Access near real-time Twitter trends with coverage for 50+ locations worldwide, including countries, regions, and major cities.

AI-Powered Categorization

Every trend is automatically labeled and explained with our advanced AI so you get context instantly.

Related Tweets

Get high-signal context and AI explanations so you understand why topics are trending.

Trend Insights

Access valuable analytics including top trends, longest-lasting trends, recurring patterns, and a 1-year history window to power your data-driven decisions.

Pricing

Free tier

$0

Start instantly with rate-limited access.

  • Up to 1 req/min
  • Worldwide trends + AI labels
  • Community support

Pro

Higher throughput, priority support, and full feature access.

  • Full API access
  • Worldwide trends data
  • AI labels & explanations
  • Near real-time updates with higher limits
  • 1-year history and analytics

Ready to Get Started?

Fill out the form below to request API access or learn more about our services.