VOOZH about

URL: https://apify.com/mikolabs/x-twitter-trends-scraper

⇱ X (Twitter) Trends Scraper Β· Apify


Pricing

from $0.05 / 1,000 results

Go to Apify Store

X (Twitter) Trends Scraper

Get real-time and historical top trending topics, hashtags, and keywords from X.com for any of 35 countries β€” or a combined Global feed with lighting fast speed at cheapest - 0.05 per 1000 results.

Pricing

from $0.05 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ mikolabs

mikolabs

Maintained by Community

Actor stats

2

Bookmarked

28

Total users

7

Monthly active users

a month ago

Last modified

Share

Get real-time and historical top trending topics, hashtags, and keywords from X.com for any of 35 countries β€” or a combined Global feed with lighting fast speed at cheapest - 0.05 per 1000 results.

This Actor connects directly to the same internal API that X.com uses to load its Explore β†’ Trending page. Every result you get is exactly what a real user in that country would see right now, or at any point in the last 100 hours.


What You Get

Each run returns up to 30 ranked trends per country snapshot, or up to 150 trends for the Global feed. Every trend record includes:

  • Rank β€” position 1–30 in the trending list
  • Trend name β€” the exact hashtag or topic (e.g. #GeneralConference, Walter Reed, Happy Easter)
  • Category β€” the content type X assigns it: Sports, Music, Politics, Entertainment industry, Business and finance, Trending (general), etc.
  • Context β€” the full domain string X shows users, e.g. "Sports Β· Trending" or "Trending in United States"
  • Status β€” Live for real-time fetches, or 1 hour ago / 6 hours ago etc. for historical snapshots
  • Age (hours) β€” how many hours ago the snapshot was recorded
  • Recorded At (UTC) β€” exact ISO timestamp of when the data was captured

Example output record:

{
"rank":3,
"trend":"Happy Easter",
"category":"Entertainment industry",
"domain_context":"Entertainment industry Β· Trending",
"status":"Live",
"age":0,
"time":"2025-04-05T10:00:00.000Z"
}

You can download the full dataset in JSON, CSV, HTML, or Excel from the Apify Console Output tab.


Supported Countries (35 + Global)

The Actor routes its residential proxy through the country you select, so you receive the trending topics that users in that country actually see β€” not a generic feed.

RegionCountries
🌍 GlobalCombined feed of worldwide trends (up to 150 topics)
πŸ‡ΊπŸ‡Έ North AmericaUnited States, Canada, Mexico
πŸ‡¬πŸ‡§ EuropeUnited Kingdom, France, Germany, Italy, Spain, Portugal, Netherlands, Denmark, Austria, Belgium, Switzerland, Greece
πŸ‡·πŸ‡Ί Eastern Europe & Middle EastRussian Federation, Turkey, Israel, United Arab Emirates, Saudi Arabia, Egypt
🌏 Asia-PacificKorea, Singapore, Indonesia, Philippines, Viet Nam, Thailand, Australia, Japan
🌍 AfricaNigeria, Kenya, South Africa
🌎 Latin AmericaArgentina, Brazil, Mexico

How country targeting works: When you select Japan, the residential proxy routes your request through a Japanese IP address. X.com returns the trending topics it shows Japanese users β€” local language, regional news, and country-specific events included. Selecting Global aggregates trending data from all 34 country feeds into a single deduplicated list of up to 150 topics.


How to Use It

Step 1 β€” Configure your run

Open the Actor input form and select your options:

Input FieldWhat it doesDefault
CountryWhich country's trending feed to fetchUnited States
LiveFetch what's trending right nowOn
1 hour agoInclude the stored snapshot from 1 hour agoOff
3 hours agoInclude the stored snapshot from 3 hours agoOff
6 hours agoInclude the stored snapshot from 6 hours agoOff
12 hours agoInclude the stored snapshot from 12 hours agoOff
24 hours agoInclude the stored snapshot from 24 hours agoOff
2 days agoInclude the stored snapshot from 48 hours agoOff
3 days agoInclude the stored snapshot from 72 hours agoOff

You can enable multiple time periods at once. The output will contain one clearly labeled snapshot per period selected β€” useful for comparing what was trending now vs 6 hours ago vs yesterday.

Step 2 β€” Run and get results

Click Start. The Actor completes in under 30 seconds. Results appear in the Output tab immediately.


Input Examples

Live trends for the UK right now:

{
"country":"United Kingdom",
"live":true
}

Live + compare to 6 hours ago and 24 hours ago in Japan:

{
"country":"Japan",
"live":true,
"hour6":true,
"hour24":true
}

Historical only β€” what was trending in Brazil 3 days ago:

{
"country":"Brazil",
"live":false,
"day3":true
}

Global feed β€” live trends + 24-hour comparison:

{
"country":"Global",
"live":true,
"hour24":true
}

Use Cases

Media monitoring β€” Track which topics are dominating conversation in specific countries right now vs 24 hours ago. Spot emerging stories before they peak.

Marketing & PR β€” Identify trending hashtags and topics in your target market before launching campaigns. Join relevant conversations at the right moment.

Competitive intelligence β€” See which brands, events, and topics are gaining traction in markets you operate in or plan to enter.

Academic & social research β€” Build longitudinal datasets of trending topics across countries and time periods for analysis.

Content strategy β€” Discover what your audience is talking about in real time to inform what content to create and when to publish it.

Financial research β€” Monitor trending tickers, economic terms, and market-relevant topics across different geographies.

News & journalism β€” Get a country-level pulse on what the public is discussing at any given moment across 35 markets.


Data Accuracy

This Actor uses X.com's own internal API β€” the exact same endpoint that your browser calls when you open the Explore β†’ Trending page. The data returned is bit-for-bit identical to what you would see if you opened X.com yourself while physically located in the selected country.

Geo-targeted to your selection - Global β†’ aggregates all 34 country feeds into one deduplicated list

There is no sampling, filtering, or estimation involved. You get the full ranked list exactly as X presents it.


Cost

Each run makes one authenticated API call per country. A single live fetch for one country completes in under 10 seconds.

ModeAPI callsApproximate cost
Live β€” 1 country1< $0.01

Actual costs depend on your Apify plan.


Frequently Asked Questions

Do I need X Premium or a developer account? No. The Actor uses your regular X.com session cookies β€” the same ones your browser uses to keep you logged in. Any standard free or paid X account works.

How fresh is the live data? Live mode fetches data the moment you click Run. What you receive is exactly what X shows to users in the selected country at that instant.

Why might I see fewer than 30 trends? X occasionally returns fewer than 30 trends for some countries, particularly smaller markets, or during low-activity periods. The Actor returns whatever X provides without padding or estimation.

Is this legal? This Actor accesses publicly visible trending data using your own authenticated X.com session. Trending topics are publicly displayed on X.com's Explore page and visible to any logged-in user. Always use responsibly and in accordance with X's Terms of Service.


⚠️ X.com Changes

X.com frequently modifies its internal structure without public notice β€” including GraphQL endpoint IDs, feature flag parameters, response schemas, and authentication requirements.

If this Actor stops returning results or starts throwing errors, it is most likely because X.com has changed one of the following:

  • The timelineId for the trending feed
  • Required request headers or features parameters
  • The JSON structure of the trending response

Please raise an issue

Open the Issues tab on this Actor's page and include:

  1. The date you noticed the problem
  2. The country you were querying
  3. The error message from the Actor run log
  4. A note of whether live or historical data is affected

Community reports are the fastest way to catch breaking changes. We aim to ship fixes within 24–48 hours of a confirmed X.com API change.


Support & Custom Integrations

For bugs or broken results β€” use the Issues tab on this Actor's page.

For high-volume setups, additional country coverage, custom data pipelines, or white-label integrations β€” reach out via the Issues tab with your requirements.

You might also like

X (Twitter) Trends Scraper

eunit/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.

πŸ‘ User avatar

Emmanuel Uchenna

30

1.1

Twitter (X) Trends Scraper (PPE)

eunit/x-twitter-trends-ppe

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.

πŸ‘ User avatar

Emmanuel Uchenna

94

5.0

X/Twitter Trends Scraper| 2025

fastcrawler/x-twitter-trends-scraper-2025

1000 results only cost 0.01$. Monitor real-time X (Twitter) trends with this scraper. Ideal for social media analysis, content creation, and trend tracking. Provides topic and tweet volume data. no-code,online

237

5.0

Twitter/X Trends Scraper

automation-lab/twitter-trends-scraper

Extract real-time trending topics from Twitter/X for any country, city, or worldwide. Get top 50 trends per location, hashtag detection, tweet volumes. No login required. 467 locations.

πŸ‘ User avatar

Stas Persiianenko

88

Twitter Trends Scraper

karamelo/twitter-trends-scraper

Scrape the top trends for each data point spanning 8 time periods from live... to... 3 days about trending tweets and hashtags and topics on Twitter from any of the countries listed below. Including volume of tweets. Pricing from $0.09 per 1000 results.

1.2K

5.0

Twitter Trending Topics Scraper 🌎

easyapi/twitter-trending-topics-scraper

Monitor Twitter trending topics across 60+ countries worldwide. Get real-time insights into what's buzzing on Twitter with tweet volumes and timestamps. Perfect for social media analysts, marketers, and researchers tracking global social trends. 🌎

Twitter Trends Scraper

scraper-engine/twitter-trends-scraper

Twitter Trends Scraper extracts trending topics from Twitter worldwide or by region. Get trend names, tweet volumes, and links. Ideal for social listening, content strategy, and research. Export data in JSON, CSV, or Excel.

πŸ‘ User avatar

Scraper Engine

30

5.0

Reddit Trends Scraper πŸ”

easyapi/reddit-trends-scraper

Extract trending posts and discussions from Reddit with advanced filtering capabilities. Scrapes post details, engagement metrics, and user information while handling dynamic content loading.

Twitter / X Trending Topics β€” Real-Time & Historical Trends

maged120/twitter-trends

Scrape trending topics from Twitter/X. Retrieve current trending hashtags and topics by country, with support for historical trend data across different time periods.