百度贴吧热议 API
百度贴吧热议榜话题
数据来源:百度贴吧
返回统一的 JSON 格式 { code, message, cached, stale, updatedAt, data },支持跨域,免注册每天可免费调用 100 次,注册后每天 10000 次。
获取百度贴吧热议
GET /api/hot/tieba
请求参数
limit:返回条数上限(1~100,默认全部),示例10
返回字段
source(string):来源 id,固定为 tiebatitle(string):榜单名称,固定为「百度贴吧热议」items(array):贴吧热议榜话题,按热议榜顺序排列items[].rank(number):排名,从 1 开始连续编号(已去掉广告、无标题等条目后重新编号,可能与上游页面上的名次不同)items[].title(string):话题名称items[].url(string|null):话题页链接(上游 topic_url;缺失时按话题 ID 拼成 https://tieba.baidu.com/hottopic/browse/hottopic?topic_id=…&topic_name=…);都没有时为 nullitems[].hot(number|null):话题讨论数(上游 discuss_num);缺失时为 nullitems[].desc(string|null):话题导语(上游 topic_desc,缺失时用 abstract);都为空时为 null;已去除 HTML 标签并合并空白,超过 120 字时截断为前 120 字加 …items[].extra(object):该来源特有的附加信息,字段见下。值为空的字段直接省略(不会是 null);全部为空时整个 extra 不返回items[].extra.cover(string):话题配图链接;没有配图时不返回items[].extra.time(string):话题创建时间(上游 create_time),ISO 8601 格式,UTC 时区,如 2026-09-24T05:00:00.000Z;上游未提供时不返回