关于 Weibo: Posts, Hot Searches, Comments & Creators (微博)
这款运行于 Apify 云端的微博数据抓取工具,可获取关键词帖子、热搜、评论和创作者资料,无需登录。面向社交媒体监听、品牌监测和舆情研究,结果也可通过远程 MCP 提供给 AI 应用。
主要功能
- 01按关键词搜索微博帖子
- 02获取热搜排行与热度
- 03查看帖子的热门评论及部分回复
- 04获取创作者资料和最新帖子
- 05导出为 JSON、CSV 或 Excel
适用场景
- 01开展中国社交媒体监听和品牌监测
- 02追踪每日热搜以支持新闻与市场研究
- 03收集评论用于情感分析
MCP 相关
通过 Apify 的远程 MCP 服务向兼容应用提供此工具,用户可在首次使用时连接 Apify 账户。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.apify.com/?tools=serenido/weibo-scraperclaude mcp add --transport http serenido-weibo https://mcp.apify.com/?tools=serenido/weibo-scraper{"mcpServers":{"serenido-weibo":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-scraper"}}}在 Cursor 中打开{"servers":{"serenido-weibo":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-scraper"}}}在 VS Code 中打开{"mcpServers":{"serenido-weibo":{"type":"http","url":"https://mcp.apify.com/?tools=serenido/weibo-scraper"}}}{"mcpServers":{"serenido-weibo":{"serverUrl":"https://mcp.apify.com/?tools=serenido/weibo-scraper"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
微博抓取 API
以整洁的 JSON 获取微博帖子、热搜(微博热搜)、评论和创作者资料。无需登录,无需 Cookie。
在 Apify 云端运行。无需服务器、无需配置代理,也无需维护代码。在 Apify 上打开
**价格:**每 1,000 条记录 $1。无月费。Apify 免费方案每月提供 $5 的使用额度,无需信用卡。当前价格。
你将获得
- 按关键词搜索帖子,每次运行可搜索多个关键词(每个关键词约 90 条帖子):文本、点赞数、转发数、评论数、话题、作者粉丝数和付费帖子标记
- 带排名和热度的热搜(微博热搜),以及按类别划分的热门内容流
- 任意帖子的热门评论,以及部分回复
- 创作者资料,以及你需要时提供的最新帖子
快速开始:Python
pip install -U apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("serenido/weibo-scraper").call(run_input={
"mode": "trending",
"trendingList": "hot_searches",
"maxResults": 50
})
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-scraper").call({
"mode": "trending",
"trendingList": "hot_searches",
"maxResults": 50
});
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-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "trending", "trendingList": "hot_searches", "maxResults": 50}'
在 Apify Console > Settings > API & Integrations 中获取令牌。
从 AI 应用中使用(MCP)
任何支持远程 MCP 服务的应用(Claude、ChatGPT、Cursor、VS Code 等)都可以为你运行此工具。添加此服务 URL:https://mcp.apify.com?tools=serenido/weibo-scraper。首次使用时会连接你的 Apify 账户。Cursor 配置示例:
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=serenido/weibo-scraper"
}
}
}
输入示例
{
"mode": "trending",
"trendingList": "hot_searches",
"maxResults": 50
}
其他模式:search(按关键词搜索帖子)、posts、comments、creators。所有选项请见输入页面。
输出示例(一条记录)
{
"type": "hotSearch",
"rank": 2,
"keyword": "郑钦文距离李娜还有多远",
"heat": 1602954,
"label": "new",
"searchUrl": "https://s.weibo.com/weibo?q=%23%E9%83%91%E9%92%A6%E6%96%87%E8%B7%9D%E7%A6%BB%E6%9D%8E%E5%A8%9C%E8%BF%98%E6%9C%89%E5%A4%9A%E8%BF%9C%23",
"scrapedAt": "2026-10-12T03:09:55Z"
}
可下载为 JSON、CSV 或 Excel,也可连接到 Make、Zapier 或 n8n。
使用场景
- 中国社交媒体舆情监测和品牌监控
- 每日追踪热搜,用于新闻和市场研究
- 收集评论以进行情感分析
Serenido 的更多工具
- 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 表格、比赛、射门、球员和阵容。
- Weibo Hot Search Scraper:实时微博热搜榜、与上次运行相比的变化,以及每个话题的热门帖子。
- AliExpress Dropshipping Scraper:热销商品、发往你所在国家的配送信息、到岸成本和利润。
- WeChat Official Account Scraper:按关键词或链接抓取公众号文章,包含全文、账号、作者和日期。
支持
发现错误或需要某个字段?请在此处或 Apify 的 Issues 页面提交问题。
仅将其用于公开数据,并遵守网站条款及适用于你的法律。本项目与其读取数据的网站无关联。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。