X (Twitter) Trends Scraper icon

X (Twitter) Trends Scraper

X (Twitter) trends right now for any country, big city or worldwide: trend, rank, post count, hashtag flag and search link, about 470 places. No login. Only-new trend alerts.

$0.20 per 1,000 trendupdated 2026-12-01
Try it

Build the input, get the call

Change any field; the code on the right follows. Copy it, or run the same input on Apify.

Places to read X (Twitter) trends for: `worldwide`, a country code or name (`US`, `India`, `Japan`), a big city (`New York`, `London`, `Mumbai`) or a WOEID number. About 470 places are covered.

Cap per place, in X's order (X lists up to 50).

Maximum number of trends in total.

Monitoring

Schedule the Actor and each run returns only trends that earlier runs with the same input have not delivered today. Ideal for alerts: you pay only for new trends.

Output

What you get back

The fields every row has.

FieldWhat it holds
term49ers
rank1
postVolume74920 (empty when X shows no count)
isHashtagfalse
place, country, geo, woeidNew York, United States, US, 2459115
urlhttps://x.com/search?q=49ers
asOf2026-11-23T10:14:32Z

Download as JSON, CSV, Excel or XML from the run, or have it sent to Google Sheets, Slack or a webhook.

Guide

How X (Twitter) Trends Scraper works

Inputs, options and tips, from the tool's own documentation.

Get what is trending on X (Twitter) right now for any country, big city or the whole world: trend, rank, number of posts when X shows it, hashtag flag and a search link. About 470 places. No X account, no login, nothing to install.

How to use

  1. Add places under Places: worldwide, country codes or names (US, India, Japan), big cities (New York, London, Mumbai) or WOEID numbers.
  2. Press Start.
  3. Download as JSON, CSV or Excel, or send the trends to Slack, Discord, a webhook or Google Sheets.

Example input

json
{
  "xTrendsPlaces": ["worldwide", "US", "India", "London"],
  "maxTrendsPerGeo": 20
}

Trend alerts

Turn on Only new trends and schedule the Actor (for example every hour). Each run returns only trends that earlier runs have not delivered that day, so you pay only for what is new. Add a Slack or Discord webhook under Delivery to get them as messages.

Pricing

EventPrice per 1,000
Trend$0.20

Plus $0.005 per run. Higher Apify plans get the usual discount.

Good to know

  • Places are the ones X lists trends for: about 60 countries and 400 cities. Unknown places return a warning.
  • X shows post counts for some trends only.
  • Google search trends for the same places are available in our Google Trends Scraper.
Questions

Questions about X (Twitter) Trends Scraper

Do I need an X account or API key?

No.

How fresh are the trends?

They are read live at run time; asOf is X's own timestamp.

Can I get the posts behind a trend?

Not in this Actor. For an account's own posts use our X (Twitter) Profile Scraper.

How much does X (Twitter) Trends Scraper cost?

$0.20 per 1,000, charged only for trends returned; a run that finds nothing costs nothing. It runs on Apify, whose free plan includes monthly credit, so you can try it without paying.

Do I need to write code?

No. Fill in the form on Apify and press Start, schedule it, or send the results to Google Sheets, Slack or a webhook. For code, the input builder on this page writes the API call in curl, Python or JavaScript.

What does X (Twitter) Trends Scraper return?

Every row has the same fields, including term, rank, postVolume, isHashtag, place, country, geo, woeid, url, asOf. Download as JSON, CSV, Excel or XML.

Can an AI agent use it?

Yes. The webdata-tools-mcp server exposes it to Claude, Cursor and other MCP clients as get_x_trends.

Can it run on a schedule and return only new results?

Yes. Schedule it on Apify (hourly, daily, weekly) and turn on the only-new option: each run then returns only what appeared since the last run with the same input.