pninteger
Page number
預設:1
https://api.sandbase.ai/v1/api/bilibili/web/com-popularReturns a comprehensive list of trending videos on Bilibili, including video metadata, author details, and engagement statistics across pages.
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"ai_rcmd": null,
"aid": 117393753899831,
"attribute_v3": 5,
"bvid": "BV1Uppw6yEMr",
"cid": 42513074607,
"copyright": 1,
"cover43": "http://i0.hdslb.com/bfs/archive/229838b5c05e9b28f35eb29cf90a02ab0c0225c4.jpg",
"ctime": 1791286688,
"current_state": 0,
"desc": "嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊2026年七月新番完结吐槽嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是2026年7月新番完结吐槽想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊",
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 962,
"dynamic": "泛式队长,完结吐槽!",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00002j1xqhmyb6ypx29o0pvqz9bq0hb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"ogv_info": null,
"owner": {
"face": "https://i0.hdslb.com/bfs/face/2608aaa45309c77ac88fbfaa40e160b8c7892985.jpg",
"mid": 63231,
"name": "泛式"
},
"pic": "http://i2.hdslb.com/bfs/archive/41d3e001cdd357a5ba03d1db1ea863c8a529551c.jpg",
"pid_name_v2": "二次元",
"pid_v2": 1005,
"pub_location": "上海",
"pubdate": 1791286688,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 1,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_id": 19833,
"season_type": 0,
"short_link_v2": "https://b23.tv/BV1Uppw6yEMr",
"stat": {
"aid": 117393753899831,
"coin": 27696,
"danmaku": 2387,
"dislike": 0,
"fav_g": 6,
"favorite": 10423,
"his_rank": 0,
"like": 31112,
"like_g": 0,
"now_rank": 0,
"reply": 2082,
"share": 2615,
"view": 180230,
"vt": 0,
"vv": 180230
},
"state": 0,
"tid": 253,
"tidv2": 2042,
"title": "啊啊7月新番你到底给我下了什么药啊!!【泛式】",
"tname": "动漫杂谈",
"tnamev2": "动漫评论",
"videos": 1
},
{
"ai_rcmd": null,
"aid": 117393636526517,
"attribute_v3": 4,
"bvid": "BV13Lpw6nEsv",
"cid": 42512548651,
"copyright": 1,
"cover43": "",
"ctime": 1791285330,
"current_state": 0,
"desc": "回应视频",
"dimension": {
"height": 1440,
"rotate": 0,
"width": 2560
},
"duration": 569,
"dynamic": "回应视频",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00001zxu0yrhcx93y229ao9ivl0fqyb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"ogv_info": null,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/ab4e057142209e966ae69e2bf6b549df229b131f.jpg",
"mid": 79453258,
"name": "拉杰l"
},
"pic": "http://i1.hdslb.com/bfs/archive/7c7154849a397c616a7edae77b82cc0260a73896.jpg",
"pid_name_v2": "游戏",
"pid_v2": 1008,
"pub_location": "湖南",
"pubdate": 1791285330,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 0,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_type": 0,
"short_link_v2": "https://b23.tv/BV13Lpw6nEsv",
"stat": {
"aid": 117393636526517,
"coin": 11204,
"danmaku": 1340,
"dislike": 0,
"fav_g": 0,
"favorite": 4635,
"his_rank": 0,
"like": 21724,
"like_g": 0,
"now_rank": 0,
"reply": 9447,
"share": 1316,
"view": 123137,
"vt": 0,
"vv": 123137
},
"state": 0,
"tid": 21,
"tidv2": 2073,
"title": "回应视频",
"tname": "日常",
"tnamev2": "动作竞技游戏",
"up_from_v2": 16,
"videos": 1
},
{
"ai_rcmd": null,
"aid": 117393586128724,
"attribute_v3": 4,
"bvid": "BV1SJpw62E5y",
"cid": 42512289196,
"copyright": 3,
"cover43": "http://i1.hdslb.com/bfs/archive/6371f48a27e55cc3383f6210f5691bc00357a694.jpg",
"ctime": 1791284631,
"current_state": 0,
"desc": "-",
"dimension": {
"height": 3840,
"rotate": 0,
"width": 2160
},
"duration": 304,
"dynamic": "",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00002irpdhgsbwlbg2o910rxcqgvrwb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"mission_id": 4069921,
"ogv_info": null,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/1367615bfd41b079eae1ac1225dbefcc260acbbb.jpg",
"mid": 373388923,
"name": "脱缰凯Kk"
},
"pic": "http://i2.hdslb.com/bfs/archive/1fb6967bf1a3c9dd55b9fcf379b63bd46d2d65fb.jpg",
"pid_name_v2": "小剧场",
"pid_v2": 1021,
"pub_location": "辽宁",
"pubdate": 1791284631,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 0,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_type": 0,
"short_link_v2": "https://b23.tv/BV1SJpw62E5y",
"stat": {
"aid": 117393586128724,
"coin": 1127,
"danmaku": 2389,
"dislike": 0,
"fav_g": 28,
"favorite": 2427,
"his_rank": 0,
"like": 17890,
"like_g": 11,
"now_rank": 0,
"reply": 722,
"share": 164,
"view": 150480,
"vt": 0,
"vv": 150480
},
"state": 0,
"tid": 85,
"tidv2": 2154,
"title": "破案",
"tname": "小剧场",
"tnamev2": "剧情演绎",
"up_from_v2": 36,
"videos": 1
},
"… 17 more items in the full response"
],
"no_more": false
},
"message": "OK",
"ttl": 1
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns one page of trending videos on Bilibili. Each item has video metadata, author details, category names and engagement counts. The only input is the optional page number pn, which defaults to 1.
stat.his_rank changes.stat.like, stat.coin and stat.favorite across trending videos to see which content earns the most engagement.pid_name_v2 or tnamev2 to see which categories dominate the list.owner.mid values from trending videos to find authors worth tracking.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/com-popular" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
pn | integer | No | Page number |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"list": [
{
"ai_rcmd": null,
"aid": 117547651307164,
"attribute_v3": 4,
"bvid": "BV19b4A6PECX",
"cid": 43272309199,
"copyright": 1,
"cover43": "http://i0.hdslb.com/bfs/archive/9f5f456a7fb8b8ab9a3517ff21edbec7d4c3ca67.jpg",
"ctime": 1793635087,
"current_state": 0,
"desc": "与能源相关的实验都存在一定的危险性,所以工作人员需要时刻保持谨慎的态度。\n不妨多问问自己:有日程可控的预期吗?有数据稳定的可能吗?有提前完成的风险吗?\n\n中文C…",
"dimension": {
"height": 1080,
"rotate": 0,
"width": 2560
},
"duration": 681
}
],
"no_more": false
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.list[].bvid / data.list[].aid | The video's BV ID and its numeric AID. Both identify the same video. |
data.list[].title / data.list[].desc | The video title and its description text. Long descriptions are cut in this sample. |
data.list[].owner.mid / data.list[].owner.name / data.list[].owner.face | The author's numeric ID, display name and avatar image URL. |
data.list[].stat.like / data.list[].stat.coin / data.list[].stat.favorite / data.list[].stat.danmaku | Engagement counts for the video: likes, coins, favorites and danmaku (on-screen comments). |
data.list[].stat.his_rank | A rank value for the video. It is 0 for videos without a rank. |
data.list[].pid_name_v2 / data.list[].tnamev2 | The top-level category name and the finer sub-category name of the video. |
data.list[].pubdate / data.list[].ctime | Unix timestamps in seconds. pubdate is the publish time and ctime is the creation time. |
data.list[].duration / data.list[].dimension.width / data.list[].dimension.height | The video length (in the value's own unit, seconds by the sample values) and the frame width and height in pixels. |
data.list[].rcmd_reason.content | A short recommendation label such as a like count badge. It is an empty string when there is none. |
data.list[].short_link_v2 | A short b23.tv link to the video page. |
data.no_more | A boolean that shows whether more pages remain. false means more pages may be available. |
pn to request later pages. Start at 1 and increase by one while data.no_more is false.bvid (a string starting with BV) and aid (a number). Use Bilibili BV to AID Converter to convert a BV ID to an AID.bvid from this list to Bilibili Video Details to get details for one video.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/com-popular" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pn": 1
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
pnintegerPage number
預設:1
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"ai_rcmd": null,
"aid": 117393753899831,
"attribute_v3": 5,
"bvid": "BV1Uppw6yEMr",
"cid": 42513074607,
"copyright": 1,
"cover43": "http://i0.hdslb.com/bfs/archive/229838b5c05e9b28f35eb29cf90a02ab0c0225c4.jpg",
"ctime": 1791286688,
"current_state": 0,
"desc": "嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊2026年七月新番完结吐槽嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是2026年7月新番完结吐槽想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊",
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 962,
"dynamic": "泛式队长,完结吐槽!",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00002j1xqhmyb6ypx29o0pvqz9bq0hb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"ogv_info": null,
"owner": {
"face": "https://i0.hdslb.com/bfs/face/2608aaa45309c77ac88fbfaa40e160b8c7892985.jpg",
"mid": 63231,
"name": "泛式"
},
"pic": "http://i2.hdslb.com/bfs/archive/41d3e001cdd357a5ba03d1db1ea863c8a529551c.jpg",
"pid_name_v2": "二次元",
"pid_v2": 1005,
"pub_location": "上海",
"pubdate": 1791286688,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 1,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_id": 19833,
"season_type": 0,
"short_link_v2": "https://b23.tv/BV1Uppw6yEMr",
"stat": {
"aid": 117393753899831,
"coin": 27696,
"danmaku": 2387,
"dislike": 0,
"fav_g": 6,
"favorite": 10423,
"his_rank": 0,
"like": 31112,
"like_g": 0,
"now_rank": 0,
"reply": 2082,
"share": 2615,
"view": 180230,
"vt": 0,
"vv": 180230
},
"state": 0,
"tid": 253,
"tidv2": 2042,
"title": "啊啊7月新番你到底给我下了什么药啊!!【泛式】",
"tname": "动漫杂谈",
"tnamev2": "动漫评论",
"videos": 1
},
{
"ai_rcmd": null,
"aid": 117393636526517,
"attribute_v3": 4,
"bvid": "BV13Lpw6nEsv",
"cid": 42512548651,
"copyright": 1,
"cover43": "",
"ctime": 1791285330,
"current_state": 0,
"desc": "回应视频",
"dimension": {
"height": 1440,
"rotate": 0,
"width": 2560
},
"duration": 569,
"dynamic": "回应视频",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00001zxu0yrhcx93y229ao9ivl0fqyb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"ogv_info": null,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/ab4e057142209e966ae69e2bf6b549df229b131f.jpg",
"mid": 79453258,
"name": "拉杰l"
},
"pic": "http://i1.hdslb.com/bfs/archive/7c7154849a397c616a7edae77b82cc0260a73896.jpg",
"pid_name_v2": "游戏",
"pid_v2": 1008,
"pub_location": "湖南",
"pubdate": 1791285330,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 0,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_type": 0,
"short_link_v2": "https://b23.tv/BV13Lpw6nEsv",
"stat": {
"aid": 117393636526517,
"coin": 11204,
"danmaku": 1340,
"dislike": 0,
"fav_g": 0,
"favorite": 4635,
"his_rank": 0,
"like": 21724,
"like_g": 0,
"now_rank": 0,
"reply": 9447,
"share": 1316,
"view": 123137,
"vt": 0,
"vv": 123137
},
"state": 0,
"tid": 21,
"tidv2": 2073,
"title": "回应视频",
"tname": "日常",
"tnamev2": "动作竞技游戏",
"up_from_v2": 16,
"videos": 1
},
{
"ai_rcmd": null,
"aid": 117393586128724,
"attribute_v3": 4,
"bvid": "BV1SJpw62E5y",
"cid": 42512289196,
"copyright": 3,
"cover43": "http://i1.hdslb.com/bfs/archive/6371f48a27e55cc3383f6210f5691bc00357a694.jpg",
"ctime": 1791284631,
"current_state": 0,
"desc": "-",
"dimension": {
"height": 3840,
"rotate": 0,
"width": 2160
},
"duration": 304,
"dynamic": "",
"enable_vt": 0,
"first_frame": "http://i0.hdslb.com/bfs/storyff/_00002irpdhgsbwlbg2o910rxcqgvrwb_firsti.jpg",
"global_state": 0,
"is_ogv": false,
"mission_id": 4069921,
"ogv_info": null,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/1367615bfd41b079eae1ac1225dbefcc260acbbb.jpg",
"mid": 373388923,
"name": "脱缰凯Kk"
},
"pic": "http://i2.hdslb.com/bfs/archive/1fb6967bf1a3c9dd55b9fcf379b63bd46d2d65fb.jpg",
"pid_name_v2": "小剧场",
"pid_v2": 1021,
"pub_location": "辽宁",
"pubdate": 1791284631,
"rcmd_reason": {
"content": "",
"corner_mark": 0
},
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"download": 0,
"elec": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 0,
"pay": 0,
"pay_free_watch": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_type": 0,
"short_link_v2": "https://b23.tv/BV1SJpw62E5y",
"stat": {
"aid": 117393586128724,
"coin": 1127,
"danmaku": 2389,
"dislike": 0,
"fav_g": 28,
"favorite": 2427,
"his_rank": 0,
"like": 17890,
"like_g": 11,
"now_rank": 0,
"reply": 722,
"share": 164,
"view": 150480,
"vt": 0,
"vv": 150480
},
"state": 0,
"tid": 85,
"tidv2": 2154,
"title": "破案",
"tname": "小剧场",
"tnamev2": "剧情演绎",
"up_from_v2": 36,
"videos": 1
},
"… 17 more items in the full response"
],
"no_more": false
},
"message": "OK",
"ttl": 1
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Bilibili | 每次呼叫 $0.001 | JSON |
Bilibili | 每次呼叫 $0.001 | JSON |
Bilibili | 每次呼叫 $0.001 | JSON |
Bilibili | 每次呼叫 $0.001 | JSON |
Bilibili | 每次呼叫 $0.001 | JSON |
Bilibili | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/bilibili/web/com-popular。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:pn (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Bilibili Comprehensive Popular Videos 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Bilibili API 存取權。