X (Twitter) Trending Topics Scraper
Pricing
from $1.16 / 1,000 trend scrapeds
X (Twitter) Trending Topics Scraper
Pull the live X (Twitter) trending topics for any country or city by WOEID, with rank, search query, link and tweet volume. No login, no cookies, no API key.
Pricing
from $1.16 / 1,000 trend scrapeds
Rating
0.0
(0)
Developer
MYM
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
X (Twitter) Trending Topics Scraper — live trends by country & city (No API Key, No Login)
Get the live X (Twitter) trending topics for any country or city — no API key, no login, no cookies, no developer account. Pass a WOEID and the X Trends Scraper returns the current trend list with rank, trend name or hashtag, the search query behind it, a direct link, tweet volume where X provides it, the location name, and the snapshot timestamp. Run it on a schedule to build a historical trend dataset, compare what is trending across countries, or catch breaking news before the press. Export to JSON, CSV, Excel, or XML.
Get your first trend list free in under 2 minutes — pick a WOEID, click Start. No configuration, no credit card to try.
Table of contents
- What can the X Trends Scraper do?
- Who scrapes X trends?
- What data can I scrape from X trends?
- How to scrape X (Twitter) trends
- WOEID reference
- Input example
- Output example
- How much will scraping X trends cost?
- Tips for scraping X trends
- Want other X (Twitter) data?
- Use trend data with AI agents (MCP)
- Integrations & API
- Support
- FAQ — scraping X (Twitter) trends
- Related searches
- Disclaimer
- Resources
What can the X Trends Scraper do? {#what-can-the-x-trends-scraper-do}
- 📈 Scrape the live trending list for any location X supports, ranked exactly as X orders it.
- 🌍 Target any country or city with a WOEID — worldwide, US, UK, Turkey, India, Germany, Japan, Brazil, and more.
- #️⃣ Get hashtags and plain-text trends together, as X actually shows them.
- 🔎 Get the search query behind each trend so you can pivot straight into research.
- 🔢 Get tweet volume for the trends where X publishes it.
- ⏱️ Timestamped snapshots — every row carries
asOf, so scheduled runs stack into a clean time series. - 🗓️ Build a trend history X itself does not offer — schedule hourly runs and keep the archive.
- 📤 Export to JSON, CSV, Excel, or XML, or pull live through the API.
Who scrapes X trends? {#who-scrapes-x-trends}
- 📣 Social media managers — ride a trend while it is still climbing.
- 📰 Newsrooms — catch breaking stories the moment they surface on X.
- 📊 Market researchers — compare attention across countries and track topic lifecycles.
- 🧠 Content & SEO teams — mine trending phrases for timely content and keyword research.
- 💹 Traders & analysts — monitor tickers and cashtags entering the trend list.
- 🤖 AI agent builders — give an assistant a live "what is trending right now?" tool.
What data can I scrape from X trends? {#what-data-can-i-scrape-from-x-trends}
| Field | Type | Description |
|---|---|---|
rank | number | Position in the trend list (1 = top). |
name | string | Trend name or hashtag as displayed. |
query | string | URL-encoded search string behind the trend. |
url | string | Link to the trend's search results on X. |
tweetVolume | number | Posts in the last 24h — X provides this only for some trends, otherwise null. |
woeid | number | The location you requested. |
location | string | Human-readable location name. |
asOf | string | Timestamp of the snapshot. |
How to scrape X (Twitter) trends {#how-to-scrape-x-twitter-trends}
- Open the X (Twitter) Trending Topics Scraper on Apify.
- Set the WOEID of the location you want (
1= Worldwide). - (Optional) Set Max trends to cap the list length.
- Click ▶ Start.
- Export to JSON, CSV, Excel, or XML, or fetch through the API.
One run returns one location. To compare regions, create one task per country or schedule several runs.
WOEID reference {#woeid-reference}
| Location | WOEID | Location | WOEID |
|---|---|---|---|
| Worldwide | 1 | India | 23424848 |
| United States | 23424977 | Brazil | 23424768 |
| United Kingdom | 23424975 | Japan | 23424856 |
| Turkey | 23424969 | Canada | 23424775 |
| Germany | 23424829 | Australia | 23424748 |
| France | 23424819 | Mexico | 23424900 |
| Spain | 23424950 | Indonesia | 23424846 |
| Italy | 23424853 | Saudi Arabia | 23424938 |
| Netherlands | 23424909 | South Africa | 23424942 |
City-level WOEIDs (London 44418, New York 2459115, Istanbul 2344116, Tokyo 1118370) work the same way.
Input example {#input-example}
{"woeid": 23424969,"resultsLimit": 50}
- woeid — Yahoo WOEID of the country or city.
- resultsLimit — cap on how many trends are returned (1–100).
Output example {#output-example}
{"rank": 1,"name": "#FileninSultanlari","query": "%23FileninSultanlari","url": "http://twitter.com/search?q=%23FileninSultanlari","tweetVolume": null,"woeid": 23424969,"location": "Turkey","asOf": "2026-07-28T06:39:45Z"}
How much will scraping X trends cost? {#how-much-will-scraping-x-trends-cost}
Pay-per-result — you pay per trend row returned.
- 💸 A full 50-trend snapshot is a few cents' worth of results.
- 📉 Volume discounts across Bronze → Diamond Apify plans, which matters for hourly schedules.
- 🆓 Free to try with the monthly free usage on new Apify accounts.
- 🚫 No proxy fees, no per-request charges, no minimums.
See the live rate on the Apify store page.
Tips for scraping X trends {#tips-for-scraping-x-trends}
- ⏰ Schedule hourly runs and append to one dataset — you get the trend history X does not publish.
- 🌍 One task per country. Duplicate the task, change the WOEID, and compare regions side by side.
- 🔎 Use
query, notname, for follow-up research — it is already URL-encoded correctly. - 🔢 Treat
nulltweetVolume as "not published", not as zero. - 🕒 Key your archive on
asOf+rankto track how fast a trend climbs or fades. - 📉 Cap
resultsLimitfor monitoring. The top 10 is usually enough and keeps scheduled costs low.
Want other X (Twitter) data? {#want-other-x-twitter-data}
- 🐦 X (Twitter) User Tweets Scraper — export the full public timeline of any account with metrics and media.
- 👤 X (Twitter) Profile Scraper — followers, following, bio, website, verified badge and join date in bulk.
- 🔗 X (Twitter) Tweet Scraper by URL — paste post URLs or IDs and get full data for each one.
Building a multi-platform social dataset? The same pay-per-result, no-login approach covers the other networks too:
- 📸 Instagram Profile Scraper · Instagram Post Scraper · Instagram Hashtag Scraper · Instagram Comment Scraper
- 🎵 TikTok Profile Scraper · TikTok Video Scraper · TikTok Hashtag Scraper · TikTok Comments Scraper
- 👔 LinkedIn Profile Scraper · LinkedIn Company Scraper · LinkedIn Jobs Scraper
- 🤖 Reddit Scraper · Reddit Search Scraper · Reddit Subreddit Scraper
- ▶️ YouTube Channel Scraper · YouTube Comment Scraper · YouTube Transcript Scraper
- 🗺️ Google Maps Scraper · Google News Scraper
Browse everything on the myagizm store profile.
Use trend data with AI agents (MCP) {#use-trend-data-with-ai-agents-mcp}
The X (Twitter) Trending Topics Scraper is available through the Apify MCP server, so AI assistants can call it as a tool and pull live trends on demand.
- 🧩 Claude — add the Apify MCP server and let Claude fetch and analyse live trends.
- 🤖 ChatGPT — use the actor as a tool inside research and reporting workflows.
- 🖊️ Cursor — pull live trends straight into your coding and prototyping sessions.
No glue code required: ask your agent in plain language and it runs the actor, reads the structured output, and answers.
Common AI-agent recipes:
- 📰 News briefing — "what is trending in the US right now and what is each trend about?"
- 🌍 Regional comparison — "compare the top 10 trends in the UK and Germany."
- ✍️ Content ideas — "pick trends relevant to fintech and suggest post angles."
- 🚨 Breaking-news watch — "alert me when a trend mentioning our brand appears."
Integrations & API {#integrations--api}
Connect the actor to the tools you already use: Make, Zapier, n8n, Slack, Airbyte, Gumloop, CrewAI, IFTTT, Lindy, GitHub, Google Sheets, and Google Drive — plus webhooks, Apify Schedules, and the MCP server.
Run synchronously and get the dataset (Apify API)
curl -X POST "https://api.apify.com/v2/acts/myagizm~x-trends-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{ "woeid": 1, "resultsLimit": 50 }'
Start a run asynchronously
curl -X POST "https://api.apify.com/v2/acts/myagizm~x-trends-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{ "woeid": 23424977, "resultsLimit": 20 }'
Fetch dataset items later
$curl "https://api.apify.com/v2/acts/myagizm~x-trends-scraper/runs/last/dataset/items?token=YOUR_APIFY_TOKEN&format=csv"
Change format to json, csv, xlsx, or xml to export scraped data in your preferred format. The Apify Console also auto-generates ready-to-paste JavaScript, Python, and CLI snippets plus an OpenAPI spec for this actor.
Support {#support}
Questions, feature requests, or something not looking right? Open an issue on the actor's Issues tab. Please include the input you used so we can reproduce and fix it quickly.
FAQ — scraping X (Twitter) trends {#faq--scraping-x-twitter-trends}
Is it legal to scrape X trends?
Trends are public, non-personal data that X displays to any visitor. The actor never logs in. Use it in line with X's terms and applicable law.
Do I need an X API key, developer account, or login?
No. No API key, no OAuth, no X API tier, no login, no cookies.
How do I find the WOEID for my country or city?
Use the reference table above, or look up the Yahoo WOEID for the location. 1 is worldwide.
Can I scrape trends for several countries in one run?
One run returns one location. Create one task per country, or schedule several runs and merge the datasets.
Why is tweetVolume often null?
X only publishes a volume figure for some trends. null means "not published", not zero.
How often do trends change?
X refreshes them every few minutes. Hourly scheduled runs give a good balance between resolution and cost.
Can I get historical trends?
X does not expose history. Schedule this actor and you build your own archive — every row is timestamped with asOf.
Can I export trends to CSV, Excel, or JSON?
Yes — JSON, CSV, Excel, or XML.
Can I use it with the Apify API?
Yes, via myagizm~x-trends-scraper using the sync or async endpoints above.
Is there an MCP server for AI agents?
Yes — Claude, ChatGPT, and Cursor can call it as a tool.
Do I need proxies?
No. Proxy handling is built in.
Can I schedule runs?
Yes — that is the recommended way to use it. Apify Schedules, API, or webhooks.
Can I get the tweets behind a trend?
Not with this actor: X does not expose keyword search to logged-out clients. Use the url or query field to open the trend on X, or scrape a known account's timeline with the Tweets Scraper.
How many trends does one run return?
Typically the full list X publishes for that location (around 20–50 entries), capped by your Max trends setting.
Are hashtags and plain keywords both included?
Yes, exactly as X presents them in the trend list.
Related searches {#related-searches}
twitter trends scraper · x trending topics api · twitter trending hashtags today · twitter trends by country · twitter trends worldwide api · scrape twitter trends · trending topics dataset · twitter trend history archive · woeid trends api · twitter trends usa · twitter trends india · twitter trends uk · twitter trends turkey · hashtag research tool · trending hashtag monitor · breaking news twitter monitor · twitter trend volume · x trends without api key · social listening trends feed
Disclaimer {#disclaimer}
This is an independent tool and is not affiliated with, endorsed by, or sponsored by X Corp., Twitter, or any of their subsidiaries. All product names, logos, and brands are property of their respective owners.
The actor collects only publicly available data — the same content any logged-out visitor can see. It never logs in, never bypasses access controls, and never touches private, protected, or deleted content. You are responsible for how you use the data: if it contains personal data, follow GDPR, CCPA, and other applicable regulations, and respect the platform's terms.
Resources {#resources}
- 📘 Apify API documentation — run actors and fetch datasets programmatically.
- 🤖 Apify MCP server — use this actor as a tool in Claude, ChatGPT, and Cursor.
- 📤 Dataset export docs — export to JSON, CSV, Excel, and XML.
- ⏰ Scheduling actor runs — keep your data fresh automatically.
- 🔌 Apify integrations — n8n, Zapier, Make, Slack, and more.
- 🏪 myagizm store profile — the full family of no-login social scrapers.
中文说明 —— X(推特)热门趋势抓取工具
按国家或城市获取 X(Twitter)实时热门趋势 —— 不需要 API Key、不需要登录、不需要 Cookie、不需要开发者账号。传入一个 WOEID,工具即返回当前趋势榜:排名、趋势名称或话题标签、背后的搜索词、直达链接、X 提供时的讨论量、地区名称与快照时间。配合定时运行即可自建趋势历史库、横向比较各国热点,或比媒体更早发现突发新闻。支持导出 JSON、CSV、Excel、XML。
两分钟内免费拿到第一批数据 —— 填入内容,点击 Start 即可。无需配置,试用不需要信用卡。
这个 Actor 能做什么
- 📈 抓取实时趋势榜,顺序与 X 展示一致。
- 🌍 支持任意国家或城市(WOEID):全球、美国、英国、土耳其、印度、德国、日本、巴西等。
- #️⃣ 话题标签与普通关键词一并返回,与 X 实际展示相同。
- 🔎 附带背后的搜索词,可直接用于后续研究。
- 🔢 讨论量(X 公布时返回)。
- ⏱️ 带时间戳的快照 —— 每行都有
asOf,定时运行即可自然形成时间序列。 - 🗓️ 自建趋势历史 —— X 本身不提供历史数据。
- 📤 导出 JSON / CSV / Excel / XML,或通过 API 拉取。
谁在用
- 📣 社媒运营 —— 在趋势还在上升时跟上热点。
- 📰 新闻编辑室 —— 第一时间捕捉突发话题。
- 📊 市场研究 —— 比较各地区注意力分布、跟踪话题生命周期。
- 🧠 内容与 SEO —— 挖掘热门短语做时效内容与关键词研究。
- 💹 交易与分析 —— 监控进入趋势榜的股票代码与 cashtag。
- 🤖 AI 智能体开发 —— 给助手一个"现在有什么热点"的实时工具。
可以抓取哪些数据
| 字段 | 类型 | 说明 |
|---|---|---|
rank | number | 榜单排名(1 为第一) |
name | string | 趋势名称或话题标签 |
query | string | 背后的搜索词(已 URL 编码) |
url | string | 该趋势在 X 上的搜索结果链接 |
tweetVolume | number | 24 小时讨论量,X 未公布时为 null |
woeid | number | 你请求的地区编号 |
location | string | 地区名称 |
asOf | string | 快照时间 |
常用 WOEID: 全球 1 · 美国 23424977 · 英国 23424975 · 土耳其 23424969 · 德国 23424829 · 法国 23424819 · 印度 23424848 · 巴西 23424768 · 日本 23424856 · 加拿大 23424775 · 澳大利亚 23424748 · 墨西哥 23424900 · 印度尼西亚 23424846 · 沙特 23424938。城市级同样可用:伦敦 44418、纽约 2459115、伊斯坦布尔 2344116、东京 1118370。
使用步骤
- 打开 X(Twitter)热门趋势抓取工具。
- 填入目标地区的 WOEID(
1表示全球)。 - (可选)用 Max trends 限制返回条数。
- 点击 ▶ Start。
- 导出为 JSON、CSV、Excel、XML,或通过 API 获取。
一次运行对应一个地区;如需对比多个国家,请为每个国家建一个 task 或安排多次运行。
输入示例
{ "woeid": 23424969, "resultsLimit": 50 }
输出示例
{"rank": 1,"name": "#FileninSultanlari","query": "%23FileninSultanlari","url": "http://twitter.com/search?q=%23FileninSultanlari","tweetVolume": null,"woeid": 23424969,"location": "Turkey","asOf": "2026-07-28T06:39:45Z"}
使用建议
- ⏰ 每小时定时运行并追加到同一个数据集 —— 你就拥有了 X 自己不提供的趋势历史。
- 🌍 一个国家一个 task:复制任务、改 WOEID 即可横向对比。
- 🔎 后续研究用
query而不是name—— 它已经正确 URL 编码。 - 🔢
tweetVolume为 null 表示"未公布",不等于 0。 - 🕒 用
asOf+rank建档,可以看出趋势上升与消退的速度。 - 📉 监控场景把
resultsLimit调小,前 10 名通常够用,也更省钱。
价格
采用按结果计费(pay-per-result):只为真正拿到的数据付费,不按运行时间收费。
- 💸 成本随结果数量线性增长,预算可以提前算清楚。
- 📉 Apify 的 Bronze / Silver / Gold / Platinum / Diamond 套餐享受阶梯折扣。
- 🆓 新账号自带每月免费额度,第一次运行不花钱。
- 🚫 没有代理附加费、没有单次请求费、没有最低消费。
一次 50 条的完整快照只相当于几分钱的结果量;按小时定时运行时,阶梯折扣会明显降低成本。实时价格请见 Apify 商店页面。
其他 X(Twitter)数据
- 🐦 X(Twitter)用户推文抓取工具 —— 导出任意公开账号的时间线。
- 👤 X(Twitter)账号资料抓取工具 —— 批量获取粉丝数与资料。
- 🔗 X(Twitter)单条推文抓取工具 —— 按链接或 ID 获取完整推文数据。
完整工具家族见 myagizm 商店主页:Instagram、TikTok、LinkedIn、Reddit、YouTube、Google Maps 抓取工具都采用同样的免登录、按结果计费方式。
配合 AI 智能体使用(MCP)
本 Actor 已接入 Apify MCP 服务器,Claude、ChatGPT、Cursor 等助手可以把它当作工具直接调用,用自然语言提问即可获得结构化结果,无需写胶水代码。
集成与 API
支持 Make、Zapier、n8n、Slack、Airbyte、Gumloop、CrewAI、IFTTT、Lindy、GitHub、Google Sheets、Google Drive,以及 Webhook、定时任务和 MCP 服务器。
curl -X POST "https://api.apify.com/v2/acts/myagizm~x-trends-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{ "woeid": 23424969, "resultsLimit": 50 }'
把 format 参数改成 json、csv、xlsx 或 xml 即可导出不同格式。
常见问题
抓取趋势合法吗? 趋势是公开的非个人数据,任何访客都能看到,工具不登录。请遵守 X 条款与当地法律。
需要 API Key 或登录吗? 不需要。
怎么找到我所在国家或城市的 WOEID?
见上方对照表,或查询该地区的 Yahoo WOEID;1 表示全球。
一次能抓多个国家吗? 一次运行对应一个地区,请为每个国家建 task 或安排多次运行后合并数据集。
为什么 tweetVolume 经常是 null?
X 只为部分趋势公布讨论量,null 表示未公布,不是 0。
趋势多久变一次? X 每几分钟刷新一次;按小时运行在精度与成本之间比较平衡。
能拿到历史趋势吗?
X 不提供历史。用本工具定时运行即可自建档案,每行都带 asOf 时间戳。
能拿到某个趋势下面的推文吗?
不能 —— X 不向未登录客户端开放搜索。可用 url / query 字段在 X 上打开该趋势。
支持导出 CSV / Excel / JSON 吗? 支持四种格式。
需要代理吗? 不需要。
可以定时运行吗? 可以,而且这是推荐用法。
免责声明
本工具为独立第三方工具,与 X Corp.、Twitter 及其关联公司无任何隶属、认可或赞助关系。所有商标归各自所有者。
本 Actor 只采集公开可见的数据 —— 即任何未登录访客都能看到的内容。它不登录、不绕过访问控制、不获取私密或已删除内容。数据的使用责任由使用者承担:如涉及个人数据,请遵守 GDPR、CCPA 等相关法规以及平台条款。
相关搜索
推特趋势抓取 · x 热门趋势 api · 今日推特热门话题 · 推特分国家趋势 · 全球推特趋势 api · 抓取推特趋势 · 热门话题数据集 · 推特趋势历史归档 · woeid 趋势 api · 美国推特趋势 · 印度推特趋势 · 英国推特趋势 · 土耳其推特趋势 · 话题标签研究工具 · 热门话题监控 · 推特突发新闻监控 · 推特趋势讨论量 · 免 api key 获取 x 趋势 · 社交聆听趋势