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
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/bilibili/web/com-popular に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: pn (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Bilibili Comprehensive Popular Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Bilibili の API アクセスを別途申請する必要はありません。