百度/抖音/B站热搜数据怎么拿:免费快照与付费实时 API

中文平台大多没有干净的公开接口:百度热搜没有公开 API,抖音的榜单接口没有文档且会变,B 站有接口但没有说明。如果你只是想拿数据做分析,有两种方式。

免费:Kaggle 每日快照

趋势数据集的字段:

文件字段
baidu_hotsearch.jsonrank, word, hot, url
douyin_hotsearch.jsonrank, word, hot, label, url
bilibili_trending.jsonrank, title, author, views, likes, url, cover
toutiao_hotboard.jsonrank, title, hot, label, url
weibo_hotsearch.jsonrank, word, hot, note, url
toutiao_hotboard.jsonrank, title, hot, label, url
weibo_hotsearch.jsonrank, word, hot, note, url
chaincatcher_headlines.jsonid, title, url

付费:一次调用拿实时数据

Kaggle 是每天的快照;如果要"此刻"的榜单,同样的数据源做成了按次付费 API,不需要账号或 API key:

GET https://api.seayeah.top/v1/trending/baidu?limit=50      $0.002
GET https://api.seayeah.top/v1/trending/douyin?limit=50     $0.002
GET https://api.seayeah.top/v1/trending/bilibili?limit=50   $0.002
GET https://api.seayeah.top/v1/trending/toutiao?limit=50    $0.002
GET https://api.seayeah.top/v1/trending/weibo?limit=50     $0.002
GET https://api.seayeah.top/v1/trending/all?limit=20        $0.005  (六路数据)
GET https://api.seayeah.top/v1/news/en?limit=20             $0.003  (中文加密新闻 + 英文翻译)

付费端点返回 HTTP 402 和 x402 的 USDC 支付挑战(Base 网络)。如果你没有 x402 客户端,也可以向 402 里的地址转账,然后在 /buy 粘贴交易哈希。

付费前先免费验样

两个数据集的许可分别是 CC BY 4.0 和 CC0;使用的时候链接一下 ChinaWire 就好。