from feedmcp import FeedMCP
client = FeedMCP() # reads FEEDMCP_API_KEY
res = client.call("douyin.trends.list")
for item in res["data"]["items"][:10]:
print(item["rank"], item["keyword"], item["heat"])
import { FeedMCP } from "feedmcp";
const client = new FeedMCP(); // reads FEEDMCP_API_KEY
const res = await client.call("douyin.trends.list");
console.log(res.data.items.slice(0, 10));
常见问题
热搜榜多久更新一次?
系统每天北京时间 12:00 自动抓取一次抖音、微博、B 站、知乎、快手和 X 的公开热榜快照;如需实时数据,可直接通过 FeedMCP API 或 MCP 实时调用对应接口。