关于 Weibo Hot Search (微博热搜): Trending Topics & Posts
这款在 Apify 云端运行的工具将微博热搜整理为结构化数据,适用于追踪中国网络趋势的团队和研究人员。它可对比前后两次运行,并按需获取指定话题的热门帖子。
主要功能
- 01实时话题排名、热度和标签
- 02与上次运行结果对比变化
- 03按需获取话题热门帖子
- 04支持 JSON、CSV 和 Excel 输出
适用场景
- 01监测中国新闻、公关和品牌趋势
- 02建立每小时热搜历史记录
- 03向 AI Agent 提供实时话题
MCP 相关
远程 MCP 客户端可通过 Apify 的 MCP 服务 URL 运行该工具。首次使用时需连接 Apify 账户。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.apify.com/?tools=serenido/weibo-hot-searchclaude mcp add --transport http serenido-weibo-hot-search https://mcp.apify.com/?tools=serenido/weibo-hot-search{"mcpServers":{"serenido-weibo-hot-search":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-hot-search"}}}在 Cursor 中打开{"servers":{"serenido-weibo-hot-search":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-hot-search"}}}在 VS Code 中打开{"mcpServers":{"serenido-weibo-hot-search":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-hot-search"}}}{"mcpServers":{"serenido-weibo-hot-search":{"serverUrl":"https://mcp.apify.com/?tools=serenido/weibo-hot-search"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
微博热搜 API(微博热搜)
以整洁的 JSON 格式获取实时微博热搜榜单:排名、关键词、热度和标签;与上次运行相比的变化(新话题、排名和热度变动);以及可选的每个话题热门帖子。无需登录。
在 Apify 云端运行。无需服务器、代理配置,也无需维护代码。在 Apify 上打开
**价格:**每 1,000 行 2 美元。无月费。Apify 免费套餐每月提供 5 美元的使用额度,无需信用卡。当前价格。
获取内容
- 每次运行约获取 50 个热门话题,包括排名、热度和标签(热、新、沸、爆、置顶)
- 与上次运行相比的 isNew、previousRank、rankChange 和 heatChange:可按小时运行,制作趋势追踪器
- 可选获取每个热搜话题的热门帖子:文本、作者、粉丝数、点赞数、转发数、评论数、图片、视频
- 跳过榜单中的付费推广内容,且不会因此收费
快速开始:Python
pip install -U apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("serenido/weibo-hot-search").call(run_input={
"maxTopics": 50,
"compareWithLastRun": True,
"includeTopPosts": True,
"topicsWithPosts": 10,
"postsPerTopic": 5
})
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
快速开始:JavaScript(Node.js)
npm install apify-client
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("serenido/weibo-hot-search").call({
"maxTopics": 50,
"compareWithLastRun": true,
"includeTopPosts": true,
"topicsWithPosts": 10,
"postsPerTopic": 5
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
快速开始:一次 HTTP 调用
通过一次请求运行工具并返回数据行。适用于 5 分钟以内的运行;更大的任务请使用 Python 或 JavaScript 示例。
curl -X POST "https://api.apify.com/v2/acts/serenido~weibo-hot-search/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"maxTopics": 50, "compareWithLastRun": true, "includeTopPosts": true, "topicsWithPosts": 10, "postsPerTopic": 5}'
在 Apify Console > Settings > API & Integrations 中获取令牌。
在 AI 应用中使用(MCP)
任何支持远程 MCP 服务的应用(Claude、ChatGPT、Cursor、VS Code 等)都可以为你运行此工具。添加此服务 URL:https://mcp.apify.com?tools=serenido/weibo-hot-search。首次使用时会连接你的 Apify 账户。Cursor 配置示例:
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=serenido/weibo-hot-search"
}
}
}
输入示例
{
"maxTopics": 50,
"compareWithLastRun": true,
"includeTopPosts": true,
"topicsWithPosts": 10,
"postsPerTopic": 5
}
按计划运行(例如每小时一次)即可填充变化列。所有选项都列在输入页面中。
输出示例(单行)
{
"type": "hotSearch",
"rank": 3,
"keyword": "APEC在湾区",
"heat": 1012641,
"label": "new",
"isNew": false,
"previousRank": 3,
"rankChange": 0,
"heatChange": -54444,
"searchUrl": "https://s.weibo.com/weibo?q=%23APEC%E5%9C%A8%E6%B9%BE%E5%8C%BA%23"
}
可下载为 JSON、CSV 或 Excel,也可以连接 Make、Zapier 或 n8n。
使用场景
- 为新闻、公关和品牌团队监控中国趋势
- 按小时记录热搜历史,用于研究
- 为 AI Agent 提供中国当下热门话题
Serenido 的更多工具
- Weibo Scraper:帖子、热搜、评论和创作者。无需登录。
- Bilibili Scraper:视频、评论、弹幕和创作者。无需登录。
- AliExpress Product Details Scraper:获取每个变体的价格和库存,并支持配送至 89 个国家/地区。
- AliExpress Search Scraper:获取任意搜索结果的价格、折扣和准确订单量。
- Australian Supermarket Prices: Coles, Woolworths and ALDI:一次运行即可获取 Coles、Woolworths 和 ALDI 的数据,包括单位价格。
- Google Trends Scraper:获取一段时间内的关注度、飙升查询、地区和 Trending Now。
- Football xG Scraper:获取 Understat xG 表、比赛、射门、球员和阵容。
- AliExpress Dropshipping Scraper:查找畅销商品,包含配送至你所在国家/地区的信息、到岸成本和利润。
- WeChat Official Account Scraper:按关键词或链接获取公众号文章,包含全文、账号、作者和日期。
支持
发现 Bug 或需要某个字段?请在此处或 Apify 的 Issues 选项卡中提交问题。
仅将其用于公开数据,并遵守网站条款及适用法律。本项目与其读取数据的网站无关联。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。