X (Twitter) Trends Scraper avatar
X (Twitter) Trends Scraper

Pricing

$19.99/month + usage

Go to Apify Store
X (Twitter) Trends Scraper

X (Twitter) Trends Scraper

Scrape real-time Twitter/X trends from any country or city. Get top 50 trending hashtags, tweet counts, and hourly history. Ideal for social media monitoring, viral topic tracking, and market research. Fast, reliable, and supports granular location data.

Pricing

$19.99/month + usage

Rating

5.0

(2)

Developer

Emmanuel Uchenna

Emmanuel Uchenna

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Share

Twitter (X) Trends Scraper

Overview

The Twitter (X) Trends Scraper is a powerful tool designed to extract real-time trending topics from countries and cities worldwide. It provides a comprehensive view of what's happening now, making it an essential tool for:

  • Social Media Monitoring: Track viral hashtags and topics as they emerge.
  • Market Research: Understand regional interests and granular location-based trends.
  • Content Strategy: Discover high-engagement topics for your content calendar.
  • Brand Sentiment: Monitor relevant industry keywords in specific locations.

Features

  • Granular Location Support: Scrape trends for huge list of countries and specific cities (e.g., "United States", "New York", "London", "Lagos").
  • Comprehensive Data: Extracts data from the Timeline (hourly trends), Tag Cloud, and Top Trends Table.
  • Deep Insights: Retrieves trend rank, hashtag/name, tweet counts, and direct links.
  • Fast & Reliable: Built for high performance and low overhead.
  • Easy Integration: Export data in JSON, CSV, Excel, and more for seamless analysis.

No Setup Required

Unlike many other scrapers, this Actor requires no complex proxy configuration. It is optimized to run out-of-the-box on the Apify platform, handling connections automatically to ensure high success rates.

How to Use

  1. Select Location: specific country or city from the dropdown menu (e.g., "United States - New York").
  2. Run Scraper: Click the "Run" button.
  3. Download Data: Export the results in your preferred format (JSON, CSV, etc.).

Output Format

The scraper returns a structured dataset containing trend information. Here is a sample of the JSON output:

{
"scraped_at": "2023-10-27T10:30:00.000Z",
"country_input": "united-states/new-york",
"timeline": [
{
"datetime": "2 minutes ago",
"timestamp": "1698402400",
"trends": [
{
"rank": 1,
"name": "#FridayFeeIing",
"link": "https://twitter.com/search?q=%23FridayFeeIing",
"tweet_count": "50K"
},
{
"rank": 2,
"name": "New York Giants",
"link": "https://twitter.com/search?q=%22New+York+Giants%22",
"tweet_count": "12K"
},
// ...
]
}
],
"tag_cloud": [
{
"name": "#TechTrends",
"link": "https://twitter.com/search?q=%23TechTrends"
}
],
"table_data": [
{
"rank": "1",
"name": "#AI",
"tweet_count": "100K"
}
]
}

FAQs

Extracting publicly available factual data like "trending topics" is generally considered legal. However, you should always respect the terms of service of the target website and ensure your use case complies with local regulations like GDPR or CCPA.

Expand your data collection capabilities with these other powerful Apify Actors developed by the same author:

  • URL: https://apify.com/eunit/x-twitter-trends-ppe
  • Description: Scrape real-time Twitter/X trends from any country or city. Get top 50 trending hashtags, tweet counts, and hourly history. Ideal for social media monitoring, viral topic tracking, and market research. Fast, reliable, and supports granular location data. Pay Per Event.

Enhanced Twitter (X) Bot

  • URL: https://apify.com/eunit/enhanced-twitter-x-bot
  • Description: A versatile Twitter bot for powerful social media automation. This tool uses the Twitter API to auto-like, auto-follow, and manages your followers. Configure keywords, schedules, and safety limits for effective Twitter engagement and account growth.

Target Product Reviews Scraper

  • URL: https://apify.com/eunit/target-reviews-scraper
  • Description: A tool for market research and e-commerce analysis. Scrape product reviews, star ratings, and consumer sentiment from Target.com, useful for businesses analyzing the retail landscape in target neighborhoods.

Support & Feedback

We are constantly improving this scraper. If you have feature requests, find a bug, or need a specific customization, please create an issue on the Actor’s Issues tab in Apify Console.