idxinteger
Page index (starting from 1)
Default: 1
https://api.sandbase.ai/v1/api/bilibili/app/popular-feedRetrieves popular video feed items from the Bilibili app. Supports pagination through page index and previous video identifiers.
[
{
"data": {
"code": 0,
"config": {
"bottom_text": "已经到达热门的尽头惹,<em class=\"keyword\">关于热门</em>",
"bottom_text_cover": "https://i0.hdslb.com/bfs/archive/10814950191d33ba6eb6f29439e27399c3eeee37.png",
"bottom_text_url": "https://www.bilibili.com/blackboard/activity-RKWxGjjMb.html",
"head_image": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"item_title": "当前热门",
"share_info": {
"current_title": "全部热门",
"current_top_photo": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"share_desc": "",
"share_icon": "https://i0.hdslb.com/bfs/activity-plat/static/20190424/df3e2ff90b315fca2f8d24a29cb68a47/FBbBDzA5y.png",
"share_sub_title": "全站最热的视频都在这儿,你最喜欢哪一个?",
"share_title": "哔哩哔哩热门"
},
"top_items": [
{
"entrance_id": 4,
"icon": "http://i0.hdslb.com/bfs/archive/a3f11218aaf4521b4967db2ae164ecd3052586b9.png",
"module_id": "rank",
"title": "排行榜",
"uri": "bilibili://rank?type=all"
},
{
"entrance_id": 9,
"icon": "http://i0.hdslb.com/bfs/archive/f7a062d5e6721af0555c0a9d72544d46c4571983.png",
"module_id": "hot-channel",
"title": "美食",
"top_photo": "https://i0.hdslb.com/bfs/legacy/9e7e685b28ff67181bb62f3d68750b73df5c4d9f.png",
"uri": "http://www.bilibili.com/h5/popular/9?navhide=1"
},
{
"bubble": {
"bubble_content": "有更新",
"stime": 1779445372,
"version": 381
},
"entrance_id": 5,
"icon": "http://i0.hdslb.com/bfs/archive/552ebe8c4794aeef30ebd1568b59ad35f15e21ad.png",
"module_id": "weekly-selected",
"title": "每周必看",
"uri": "https://www.bilibili.com/h5/weekly-recommend?navhide=1"
}
]
},
"data": [
{
"args": {},
"bvid": "BV1BJao6BE71",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/05fb3469983c0edc80614fb730cb559c1178bd57.jpg",
"cover_right_text_1": "23:59",
"from_type": "recommend",
"goto": "av",
"idx": 2,
"is_popular": true,
"param": "117359712997385",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "百万播放",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "小潮院长 等联合创作",
"right_desc_2": "223.2万观看 · 昨天 12:00",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "惊惊惊惊惊惊惊惊了",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117359712997385?cid=42337698667&player_height=2160&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42337698667%2C%22support_quality%22%3A%5B116%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22flv_p60%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P60%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
{
"args": {},
"bvid": "BV1MSHY6eEq9",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/49f32d6e1667d9fd604666db302a6e1a66d97f76.jpg",
"cover_right_text_1": "1:35",
"from_type": "recommend",
"goto": "av",
"idx": 3,
"is_popular": true,
"param": "117375131191999",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "百万播放",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "咪克菌",
"right_desc_2": "247.4万观看 · 3天前",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "你管这叫留守老人?",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117375131191999?cid=42417522439&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42417522439%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
{
"args": {},
"bvid": "BV1hQHW63EMc",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/f91f129d21c0201cce94f4753714e758b231ad5f.jpg",
"cover_right_text_1": "45:16",
"from_type": "recommend",
"goto": "av",
"idx": 4,
"is_popular": true,
"param": "117387462448602",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "6万点赞",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "央视新闻",
"right_desc_2": "100.6万观看 · 昨天 18:15",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "【完整版】纪录片《缅北电诈覆灭纪实》第一集《利剑出鞘》",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117387462448602?cid=42481486830&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42481486830%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
"… 7 more items in the full response"
],
"message": "OK",
"ver": "1791290355"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns a page of popular video cards from the Bilibili app popular feed. Each card has a title, BV ID, cover, duration, creator text and view text. The request needs no input, and you can pass idx and last_param to page through the feed.
bvid values from popular cards and send them to a video detail API.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/popular-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
idx | integer | No | Page index (starting from 1) |
last_param | string | No | Last video ID from previous page (for pagination) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"config": {
"bottom_text": "已经到达热门的尽头惹,<em class=\"keyword\">关于热门</em>",
"bottom_text_cover": "https://i0.hdslb.com/bfs/archive/10814950191d33ba6eb6f29439e27399c3eeee37.png",
"bottom_text_url": "https://www.bilibili.com/blackboard/activity-RKWxGjjMb.html",
"head_image": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"item_title": "当前热门",
"share_info": {
"current_title": "全部热门",
"current_top_photo": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"share_desc": "",
"share_icon": "https://i0.hdslb.com/bfs/activity-plat/static/20190424/df3e2ff90b315fca2f8d24a29…",
"share_sub_title": "全站最热的视频都在这儿,你最喜欢哪一个?",
"share_title": "哔哩哔哩热门"
},
"top_items": [
{
"entrance_id": 4,
"icon": "http://i0.hdslb.com/bfs/archive/a3f11218aaf4521b4967db2ae164ecd3052586b9.png",
"module_id": "rank",
"title": "排行榜",
"uri": "bilibili://rank?type=all"
}
]
},
"data": [
{
"args": {},
"bvid": "BV19P4w6aEk3",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i0.hdslb.com/bfs/archive/0721196fe0577d7c60837786d44e9130da985544.jpg",
"cover_right_text_1": "20:33",
"from_type": "recommend",
"goto": "av",
"idx": 2,
"is_popular": true,
"param": "117546359521318",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "2万分享",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
}
}
],
"message": "OK",
"ver": "1793690839"
}
| Field | Meaning |
|---|---|
data[].title | Video title shown on the card. |
data[].bvid | BV ID of the video. Use it to look up the video elsewhere. |
data[].param | Numeric video ID as a string. This is the same number that appears in the uri value. |
data[].cover | Cover image URL of the video. |
data[].cover_right_text_1 | Video duration shown on the cover, for example 20:33. |
data[].right_desc_1 | Creator line shown on the card. It can be one name or a joint creation label such as 摸鱼事务所 等联合创作. |
data[].right_desc_2 | Display text with the view count and the time since publishing, for example 32万观看 · 4小时前. It is a text label, not a number. |
data[].rcmd_reason_style.text | Short reason label shown on some cards, for example 2万分享. Many cards do not have this field. |
data[].idx | Position number of the card in the feed. |
data[].uri | In-app deep link for the video. It includes the cid as a query value. |
config.top_items[].title / config.top_items[].uri | Title and link of the entrance tiles at the top of the popular page, such as the ranking list. |
idx is the page index and starts at 1. Pass the param value of the last card on the previous page as last_param to get the next page.bvid from data[] and pass it to Bilibili Video Details for more data on one video.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/popular-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idx": 1
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
idxintegerPage index (starting from 1)
Default: 1
last_paramstringLast video ID from previous page (for pagination)
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"code": 0,
"config": {
"bottom_text": "已经到达热门的尽头惹,<em class=\"keyword\">关于热门</em>",
"bottom_text_cover": "https://i0.hdslb.com/bfs/archive/10814950191d33ba6eb6f29439e27399c3eeee37.png",
"bottom_text_url": "https://www.bilibili.com/blackboard/activity-RKWxGjjMb.html",
"head_image": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"item_title": "当前热门",
"share_info": {
"current_title": "全部热门",
"current_top_photo": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
"share_desc": "",
"share_icon": "https://i0.hdslb.com/bfs/activity-plat/static/20190424/df3e2ff90b315fca2f8d24a29cb68a47/FBbBDzA5y.png",
"share_sub_title": "全站最热的视频都在这儿,你最喜欢哪一个?",
"share_title": "哔哩哔哩热门"
},
"top_items": [
{
"entrance_id": 4,
"icon": "http://i0.hdslb.com/bfs/archive/a3f11218aaf4521b4967db2ae164ecd3052586b9.png",
"module_id": "rank",
"title": "排行榜",
"uri": "bilibili://rank?type=all"
},
{
"entrance_id": 9,
"icon": "http://i0.hdslb.com/bfs/archive/f7a062d5e6721af0555c0a9d72544d46c4571983.png",
"module_id": "hot-channel",
"title": "美食",
"top_photo": "https://i0.hdslb.com/bfs/legacy/9e7e685b28ff67181bb62f3d68750b73df5c4d9f.png",
"uri": "http://www.bilibili.com/h5/popular/9?navhide=1"
},
{
"bubble": {
"bubble_content": "有更新",
"stime": 1779445372,
"version": 381
},
"entrance_id": 5,
"icon": "http://i0.hdslb.com/bfs/archive/552ebe8c4794aeef30ebd1568b59ad35f15e21ad.png",
"module_id": "weekly-selected",
"title": "每周必看",
"uri": "https://www.bilibili.com/h5/weekly-recommend?navhide=1"
}
]
},
"data": [
{
"args": {},
"bvid": "BV1BJao6BE71",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/05fb3469983c0edc80614fb730cb559c1178bd57.jpg",
"cover_right_text_1": "23:59",
"from_type": "recommend",
"goto": "av",
"idx": 2,
"is_popular": true,
"param": "117359712997385",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "百万播放",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "小潮院长 等联合创作",
"right_desc_2": "223.2万观看 · 昨天 12:00",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "惊惊惊惊惊惊惊惊了",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117359712997385?cid=42337698667&player_height=2160&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42337698667%2C%22support_quality%22%3A%5B116%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22flv_p60%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P60%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
{
"args": {},
"bvid": "BV1MSHY6eEq9",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/49f32d6e1667d9fd604666db302a6e1a66d97f76.jpg",
"cover_right_text_1": "1:35",
"from_type": "recommend",
"goto": "av",
"idx": 3,
"is_popular": true,
"param": "117375131191999",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "百万播放",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "咪克菌",
"right_desc_2": "247.4万观看 · 3天前",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "你管这叫留守老人?",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117375131191999?cid=42417522439&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42417522439%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
{
"args": {},
"bvid": "BV1hQHW63EMc",
"card_goto": "av",
"card_type": "small_cover_v5",
"cover": "http://i1.hdslb.com/bfs/archive/f91f129d21c0201cce94f4753714e758b231ad5f.jpg",
"cover_right_text_1": "45:16",
"from_type": "recommend",
"goto": "av",
"idx": 4,
"is_popular": true,
"param": "117387462448602",
"rcmd_reason_style": {
"bg_style": 2,
"border_color": "#FFFB9E60",
"border_color_night": "#BC7A4F",
"text": "6万点赞",
"text_color": "#FFFB9E60",
"text_color_night": "#BC7A4F"
},
"right_desc_1": "央视新闻",
"right_desc_2": "100.6万观看 · 昨天 18:15",
"three_point": {
"watch_later": 1
},
"three_point_v2": [
{
"title": "添加至稍后再看",
"type": "watch_later"
}
],
"title": "【完整版】纪录片《缅北电诈覆灭纪实》第一集《利剑出鞘》",
"track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
"uri": "bilibili://video/117387462448602?cid=42481486830&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42481486830%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
},
"… 7 more items in the full response"
],
"message": "OK",
"ver": "1791290355"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Bilibili App Popular FeedAPI ini Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/bilibili/app/popular-feed dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: idx (integer) dan last_param (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Bilibili App Popular Feed berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Bilibili secara terpisah.