FeedMCP

数据接口 / 微博

微博热搜榜 API

微博热搜榜此刻的前 50 条:排名、热度和标签,可按实时、社会、文娱、科技、生活、体育、游戏分类看。

项目 值
地址 GET https://api.feedmcp.com/v1/weibo/trends/list
ID weibo.trends.list
价格 $0.002 / 次
返回 一页 热榜条目对象列表
认证 Authorization: Bearer $FEEDMCP_API_KEY

第一条是置顶词,rank 为 0;榜单里的广告位已去掉。

参数

参数 类型 必填 说明
category realtime / social / entertainment / tech / life / sports / games 否 分类:realtime 实时热搜、social 社会、entertainment 文娱、tech 科技、life 生活、sports 体育、games 游戏,默认 realtime

所有接口还支持 view=full:在返回里附上平台的原始数据(raw),价格不变。

返回字段

data.items 是一组「热榜条目」对象,所有平台字段相同:

字段 类型 说明
rank number 排名;0 表示置顶
platform string 平台
keyword string 热搜词
heat number | null 热度值(各平台口径不同)
label string | null 标签,例如「置顶」「热」
url string | null 在平台上搜索这个词的链接

什么时候扣费

成功取到榜单一次 $0.002。榜单是空的(平台这次没答上来)、平台出错、超时都不收费,可以直接重试。

每次返回的 meta.billing 里写着这次扣了多少、还剩多少余额。

调用示例

cURL

curl "https://api.feedmcp.com/v1/weibo/trends/list" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"

Python

import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/weibo/trends/list",
    params={},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())

JavaScript

const res = await fetch("https://api.feedmcp.com/v1/weibo/trends/list", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());

MCP

在装好 FeedMCP 的 AI 里,调用 call 工具:

{
  "endpoint": "weibo.trends.list",
  "params": {},
  "max_price": "0.002"
}

返回示例

示例数据是虚构的,格式和真实返回一致。

{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "rank": 1,
        "platform": "weibo",
        "keyword": "初雪",
        "heat": 2345678,
        "label": "热",
        "url": "https://s.weibo.com/weibo?q=%23%E5%88%9D%E9%9B%AA%23"
      },
      {
        "rank": 2,
        "platform": "weibo",
        "keyword": "周末去哪儿",
        "heat": 1234567,
        "label": null,
        "url": "https://s.weibo.com/weibo?q=%23%E5%91%A8%E6%9C%AB%E5%8E%BB%E5%93%AA%E5%84%BF%23"
      }
    ]
  },
  "page": {
    "next_cursor": null,
    "has_more": false
  },
  "warnings": [],
  "meta": {
    "endpoint": "weibo.trends.list",
    "platform": "weibo",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}

出错时的格式见 错误码:每个错误都写明扣没扣钱(charged)和能不能重试(retry)。

微博的其他接口

常见问题

微博热搜榜接口多少钱?

成功取到榜单一次 $0.002。榜单是空的(平台这次没答上来)、平台出错、超时都不收费,可以直接重试。

需要平台账号吗?

不需要,只取公开数据。

ID 或链接怎么找?

微博 ID 是微博链接里的数字或字母串;用户 ID 是主页链接 /u/ 后面的数字。

怎么取更多条?

返回里有 page.next_cursor 时,把它作为 cursor 参数传回来取下一页。每一页单独计费。

怎么在 AI 里用?

装好 MCP 后直接说你要什么,AI 会调用 weibo.trends.list。