接口地址: http://api.lansha.top/api/rebang.php
返回格式: JSON
请求方式: GET
请求示例: http://api.lansha.top/api/rebang.php?type=bilihot
请求参数:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| type | 是 | string | 输出热榜的类型:zhihu(知乎热榜) weibo(微博热搜) baidu(百度热点) bilihot(哔哩哔哩热搜) biliall(哔哩哔哩全站日榜) sspai(少数派头条) douyin(抖音热搜) |
返回参数:
| 名称 | 类型 | 说明 |
|---|---|---|
| success | string | 请求是否成功 |
| title | string | 目标应用 |
| subtitle | string | 目标应用类型 |
| update_time | string | 获取的时间戳 |
| data | string | 获取的时间戳 |
| index | lnteger | 排名 |
| title | string | 标题 |
| desc | string | 内容 |
| url | string | 目标网址 |
| hot | string | 热度 |
| pic | string | 封面图片链接 |
B站热搜返回示例:
{
"success": true,
"title": "哔哩哔哩",
"subtitle": "热搜榜",
"update_time": "2025-01-25 04:47:57",
"data": [
{
"index": 1,
"title": "春节找乐子大会开播",
"url": "https://search.bilibili.com/all?keyword=春节找乐子大会开播&order=click",
"mobilUrl": "https://search.bilibili.com/all?keyword=春节找乐子大会开播&order=click"
},
{
"index": 2,
"title": "LNG BLG",
"url": "https://search.bilibili.com/all?keyword=LNG BLG&order=click",
"mobilUrl": "https://search.bilibili.com/all?keyword=LNG BLG&order=click"
},
{
"index": 3,
"title": "UP主探班央视春晚",
"url": "https://search.bilibili.com/all?keyword=UP主探班央视春晚&order=click",
"mobilUrl": "https://search.bilibili.com/all?keyword=UP主探班央视春晚&order=click"
},
{
"index": 4,
"title": "B站搜索2024年度盘点",
"url": "https://search.bilibili.com/all?keyword=B站搜索2024年度盘点&order=click",
"mobilUrl": "https://search.bilibili.com/all?keyword=B站搜索2024年度盘点&order=click"
},
{
"index": 5,
"title": "塔联动黑神话与文物守护人",
"url": "https://search.bilibili.com/all?keyword=塔联动黑神话与文物守护人&order=click",
"mobilUrl": "https://search.bilibili.com/all?keyword=塔联动黑神话与文物守护人&order=click"
}
],
"copyright": "聚合热搜榜"
}