bv_idstring必填
Video id
https://api.sandbase.ai/v1/api/bilibili/web/video-commentsReturns comment threads and reply metadata for a specific Bilibili video. Query by video ID with optional page numbering.
[
{
"data": {
"code": 0,
"data": {
"assist": 0,
"blacklist": 0,
"config": {
"read_only": false,
"show_up_flag": true,
"showtopic": 1
},
"control": {
"answer_guide_android_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=6",
"answer_guide_icon_url": "http://i0.hdslb.com/bfs/emote/96940d16602cacbbac796245b7bb99fa9b5c970c.png",
"answer_guide_ios_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=12",
"answer_guide_text": "需要升级成为lv2会员后才可以评论,先去答题转正吧!",
"bg_text": "",
"child_input_text": "与其赞同别人的话语,不如自己畅所欲言。",
"disable_jump_emote": false,
"empty_page": null,
"enable_charged": false,
"enable_cm_biz_helper": false,
"giveup_input_text": "不发没关系,请继续友善哦~",
"input_disable": false,
"preload_resources": null,
"root_input_text": "与其赞同别人的话语,不如自己畅所欲言。",
"screenshot_icon_state": 1,
"show_text": "",
"show_type": 1,
"upload_picture_icon_state": 1,
"web_selection": false
},
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"mode": 3,
"page": {
"acount": 2276,
"count": 2276,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 134217728,
"content": {
"emote": {
"[星星眼]": {
"attr": 0,
"id": 1956,
"jump_title": "星星眼",
"meta": "…",
"mtime": 1668688325,
"package_id": 1,
"state": 0,
"text": "[星星眼]",
"type": 1,
"url": "https://i0.hdslb.com/bfs/emote/63c9d1a31c0da745b61cdb35e0ecb28635675db2.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "比基尼[星星眼]",
"picture_scale": 1,
"pictures": [
{
"img_height": 1468,
"img_size": 244,
"img_src": "http://i0.hdslb.com/bfs/new_dyn/2da1197a6620fb4735f60084e5bb4915457009018.jpg",
"img_width": 1180
}
]
},
"count": 33,
"ctime": 1790937028,
"dialog": 0,
"dialog_str": "0",
"dynamic_id": 1254554054531481600,
"dynamic_id_str": "1254554054531481624",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 605,
"member": {
"avatar": "https://i1.hdslb.com/bfs/face/f75ac0424c94a4d56abdc7dde0e05b5a2a5283b1.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 1 items in the full response"
},
"mid": "457009018"
},
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": {
"current_exp": 0,
"current_level": 6,
"current_min": 0,
"next_exp": 0
},
"mid": "457009018",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "",
"tribee": null,
"uname": "-酸菜禹-",
"user_sailing": {
"cardbg": null,
"cardbg_with_focus": null,
"pendant": null
},
"user_sailing_v2": {},
"vip": {
"accessStatus": 0,
"avatar_subscript": 0,
"dueRemark": "",
"label": {
"bg_color": "",
"bg_style": 0,
"border_color": "",
"img_label_uri_hans": "",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/KJunwh19T5.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": null,
"label_id": 0,
"label_theme": "",
"label_type": 0,
"path": "",
"text": "",
"text_color": "",
"use_img_label": true
},
"nickname_color": "",
"themeType": 0,
"vipDueDate": 1764259200000,
"vipStatus": 0,
"vipStatusWarn": "",
"vipType": 1
}
},
"mid": 457009018,
"mid_str": "457009018",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 0,
"parent_str": "0",
"rcount": 23,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 0 items in the full response",
"message": "小心烧机[doge]"
},
"count": 0,
"ctime": 1790940692,
"dialog": 315782823201,
"dialog_str": "315782823201",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 32,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/4c22b27799ccf56d781091760d5e109a0852458a.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "525256275",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "保密",
"sign": "这个人很神秘,是周杰伦官方的粉丝哟!",
"tribee": null,
"uname": "周杰伦官方",
"user_sailing": null,
"vip": "…"
},
"mid": 525256275,
"mid_str": "525256275",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 319346488704,
"parent_str": "319346488704",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "1天前发布",
"translation_switch": 1
},
"root": 319346488704,
"root_str": "319346488704",
"rpid": 315782823201,
"rpid_str": "315782823201",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"at_name_to_mid": "…",
"at_name_to_mid_str": "…",
"emote": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 1 items in the full response",
"message": "回复 @粑猪 :人之常情[doge_金箍]"
},
"count": 0,
"ctime": 1790945746,
"dialog": 319354782992,
"dialog_str": "319354782992",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 0,
"member": {
"avatar": "http://i0.hdslb.com/bfs/face/4ce38eb5750627f99557331cf07ccf993baf8f9c.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,选择一个示例,将其输入和结果加载到 playground 中。
Returns one page of top-level comments for a Bilibili video, with a few preview replies under each comment. It needs the video's BV ID in bv_id and takes an optional page number in pn.
rcount on each comment.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/video-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"bv_id": "BV1M1421t7hT"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
bv_id | string | Yes | Video id |
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": {
"assist": 0,
"blacklist": 0,
"config": {
"read_only": false,
"show_up_flag": true,
"showtopic": 1
},
"control": {
"answer_guide_android_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=6",
"answer_guide_icon_url": "http://i0.hdslb.com/bfs/emote/96940d16602cacbbac796245b7bb99fa9b5c970c.png",
"answer_guide_ios_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=12",
"answer_guide_text": "需要升级成为lv2会员后才可以评论,先去答题转正吧!",
"bg_text": "",
"child_input_text": "天青色等烟雨,评论区在等你",
"disable_jump_emote": false,
"empty_page": null,
"enable_charged": false,
"enable_cm_biz_helper": false,
"giveup_input_text": "不发没关系,请继续友善哦~",
"input_disable": false
},
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"mode": 3,
"page": {
"acount": 2258,
"count": 2258,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "惩治谣言,任重道远啊。现在造谣的成本还是有点低"
},
"count": 47,
"ctime": 1723373621,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false
}
],
"support_mode": [
2
],
"top": null,
"upper": {
"mid": 19286458,
"top": null,
"vote": null
},
"vote": 0
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.page.count / data.page.acount | Total number of comments on the video. |
data.page.num / data.page.size | Current page number and the number of comments per page. |
data.replies[].content.message | Text of the top-level comment. |
data.replies[].like | Number of likes on the comment. |
data.replies[].rcount / data.replies[].count | Reply counts for the comment. rcount matches the number in reply_control.sub_reply_entry_text (for example "共34条回复"). |
data.replies[].ctime | Time the comment was posted, as a Unix timestamp in seconds. |
data.replies[].rpid_str / data.replies[].mid_str | ID of the comment and ID of the user who wrote it, as strings. |
data.replies[].oid_str | ID of the video the comment belongs to. This is the numeric ID, not the BV ID. |
data.replies[].member.avatar | URL of the commenter's avatar image. |
data.replies[].replies[].content.message | Text of a preview reply under the comment. Only a few replies appear here, not the full thread. |
bv_id from a Bilibili video URL. It starts with BV, for example BV1M1421t7hT.pn to page through comments. It starts at 1, and the response shows the current page in data.page.num and the page size in data.page.size.rpid_str and the video's oid_str.$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/video-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pn": 1,
"bv_id": "BV13eam6MEmV"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
bv_idstring必填Video id
pnintegerPage number
默认值:1
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"code": 0,
"data": {
"assist": 0,
"blacklist": 0,
"config": {
"read_only": false,
"show_up_flag": true,
"showtopic": 1
},
"control": {
"answer_guide_android_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=6",
"answer_guide_icon_url": "http://i0.hdslb.com/bfs/emote/96940d16602cacbbac796245b7bb99fa9b5c970c.png",
"answer_guide_ios_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=12",
"answer_guide_text": "需要升级成为lv2会员后才可以评论,先去答题转正吧!",
"bg_text": "",
"child_input_text": "与其赞同别人的话语,不如自己畅所欲言。",
"disable_jump_emote": false,
"empty_page": null,
"enable_charged": false,
"enable_cm_biz_helper": false,
"giveup_input_text": "不发没关系,请继续友善哦~",
"input_disable": false,
"preload_resources": null,
"root_input_text": "与其赞同别人的话语,不如自己畅所欲言。",
"screenshot_icon_state": 1,
"show_text": "",
"show_type": 1,
"upload_picture_icon_state": 1,
"web_selection": false
},
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"mode": 3,
"page": {
"acount": 2276,
"count": 2276,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 134217728,
"content": {
"emote": {
"[星星眼]": {
"attr": 0,
"id": 1956,
"jump_title": "星星眼",
"meta": "…",
"mtime": 1668688325,
"package_id": 1,
"state": 0,
"text": "[星星眼]",
"type": 1,
"url": "https://i0.hdslb.com/bfs/emote/63c9d1a31c0da745b61cdb35e0ecb28635675db2.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "比基尼[星星眼]",
"picture_scale": 1,
"pictures": [
{
"img_height": 1468,
"img_size": 244,
"img_src": "http://i0.hdslb.com/bfs/new_dyn/2da1197a6620fb4735f60084e5bb4915457009018.jpg",
"img_width": 1180
}
]
},
"count": 33,
"ctime": 1790937028,
"dialog": 0,
"dialog_str": "0",
"dynamic_id": 1254554054531481600,
"dynamic_id_str": "1254554054531481624",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 605,
"member": {
"avatar": "https://i1.hdslb.com/bfs/face/f75ac0424c94a4d56abdc7dde0e05b5a2a5283b1.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 1 items in the full response"
},
"mid": "457009018"
},
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": {
"current_exp": 0,
"current_level": 6,
"current_min": 0,
"next_exp": 0
},
"mid": "457009018",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "",
"tribee": null,
"uname": "-酸菜禹-",
"user_sailing": {
"cardbg": null,
"cardbg_with_focus": null,
"pendant": null
},
"user_sailing_v2": {},
"vip": {
"accessStatus": 0,
"avatar_subscript": 0,
"dueRemark": "",
"label": {
"bg_color": "",
"bg_style": 0,
"border_color": "",
"img_label_uri_hans": "",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/KJunwh19T5.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": null,
"label_id": 0,
"label_theme": "",
"label_type": 0,
"path": "",
"text": "",
"text_color": "",
"use_img_label": true
},
"nickname_color": "",
"themeType": 0,
"vipDueDate": 1764259200000,
"vipStatus": 0,
"vipStatusWarn": "",
"vipType": 1
}
},
"mid": 457009018,
"mid_str": "457009018",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 0,
"parent_str": "0",
"rcount": 23,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 0 items in the full response",
"message": "小心烧机[doge]"
},
"count": 0,
"ctime": 1790940692,
"dialog": 315782823201,
"dialog_str": "315782823201",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 32,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/4c22b27799ccf56d781091760d5e109a0852458a.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "525256275",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "保密",
"sign": "这个人很神秘,是周杰伦官方的粉丝哟!",
"tribee": null,
"uname": "周杰伦官方",
"user_sailing": null,
"vip": "…"
},
"mid": 525256275,
"mid_str": "525256275",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 319346488704,
"parent_str": "319346488704",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "1天前发布",
"translation_switch": 1
},
"root": 319346488704,
"root_str": "319346488704",
"rpid": 315782823201,
"rpid_str": "315782823201",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"at_name_to_mid": "…",
"at_name_to_mid_str": "…",
"emote": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 1 items in the full response",
"message": "回复 @粑猪 :人之常情[doge_金箍]"
},
"count": 0,
"ctime": 1790945746,
"dialog": 319354782992,
"dialog_str": "319354782992",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 0,
"member": {
"avatar": "http://i0.hdslb.com/bfs/face/4ce38eb5750627f99557331cf07ccf993baf8f9c.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "197766648",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "保密",
"sign": "",
"tribee": null,
"uname": "马嗑菠萝汁",
"user_sailing": null,
"vip": "…"
},
"mid": 197766648,
"mid_str": "197766648",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 319354782992,
"parent_reply_member": {
"mid": "593570130",
"name": "粑猪"
},
"parent_str": "319354782992",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "1天前发布",
"translation_switch": 1
},
"root": 319346488704,
"root_str": "319346488704",
"rpid": 315792276577,
"rpid_str": "315792276577",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"… 1 more items in the full response"
],
"reply_control": {
"biz_scene": "opus_1254554054531481624",
"is_note_v2": true,
"max_line": 6,
"sub_reply_entry_text": "共23条回复",
"sub_reply_title_text": "相关回复共23条",
"support_share": true,
"time_desc": "1天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 319346488704,
"rpid_str": "319346488704",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": {
"[抠鼻]": {
"attr": 0,
"id": 18,
"jump_title": "抠鼻",
"meta": "…",
"mtime": 1668688325,
"package_id": 1,
"state": 0,
"text": "[抠鼻]",
"type": 1,
"url": "https://i0.hdslb.com/bfs/emote/cb89184c97e3f6d50acfd7961c313ce50360d70f.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "又有“不如买个相机”的来了,你去买啊。这是手机拓展产品,不是相机拓展产品……你买手机不就行了?你又不需要Z10,你真需要相机拍照你买相机啊,有冲突吗?以后佳能、尼康、索尼出了模块化镜头,要单独买显示器,并且显示器设备可以通信、娱乐、交友,你到时候又说不如买个手机[抠鼻]"
},
"count": 29,
"ctime": 1790947269,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 395,
"member": {
"avatar": "https://i1.hdslb.com/bfs/face/3a8c6352686ad5b79314405813424aa1149ab7a2.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 2 items in the full response"
},
"mid": "100720546"
},
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 1,
"level_info": {
"current_exp": 0,
"current_level": 6,
"current_min": 0,
"next_exp": 0
},
"mid": "100720546",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"rank": "10000",
"senior": {
"status": 2
},
"sex": "男",
"sign": "不需要介绍",
"tribee": null,
"uname": "空调也会想不开",
"user_sailing": {
"cardbg": null,
"cardbg_with_focus": null,
"pendant": null
},
"user_sailing_v2": {},
"vip": {
"accessStatus": 0,
"avatar_subscript": 1,
"dueRemark": "",
"label": {
"bg_color": "#FB7299",
"bg_style": 1,
"border_color": "",
"img_label_uri_hans": "",
"img_label_uri_hans_static": "http://i0.hdslb.com/bfs/vip/6234b05743730217bac0aa02d19ed98b49458b68.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": "…",
"label_id": 65,
"label_theme": "annual_vip",
"label_type": 1,
"path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
"text": "年度大会员",
"text_color": "#FFFFFF",
"use_img_label": true
},
"nickname_color": "#FB7299",
"themeType": 0,
"vipDueDate": 1793894400000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 100720546,
"mid_str": "100720546",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 0,
"parent_str": "0",
"rcount": 27,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"at_name_to_mid": "…",
"at_name_to_mid_str": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 1 items in the full response",
"message": "回复 @一本正经的满嘴骚话 : 哈哈之前不是疯狂嘲讽这玩意折叠来折叠去有啥用~~"
},
"count": 0,
"ctime": 1790954448,
"dialog": 319379563584,
"dialog_str": "319379563584",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 3,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/cca3c19bf549c2c012319d1fc919d35a8c73666e.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "381599085",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "保密",
"sign": "",
"tribee": null,
"uname": "LYX0000OOO0000",
"user_sailing": null,
"vip": "…"
},
"mid": 381599085,
"mid_str": "381599085",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 319379563584,
"parent_reply_member": {
"mid": "57501771",
"name": "一本正经的满嘴骚话"
},
"parent_str": "319379563584",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "22小时前发布",
"translation_switch": 1
},
"root": 315795133249,
"root_str": "315795133249",
"rpid": 315809385233,
"rpid_str": "315809385233",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": "…",
"jump_url": "…",
"max_line": 6,
"members": "… 0 items in the full response",
"message": "等mate100标准版的9050这才划算嘛[热]"
},
"count": 0,
"ctime": 1790950344,
"dialog": 319373454816,
"dialog_str": "319373454816",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 8,
"member": {
"avatar": "https://i2.hdslb.com/bfs/face/f0dfac33d49636e9c61cf6c3e5e2b4f10a19bf27.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 1,
"level_info": "…",
"mid": "650019353",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "男",
"sign": "愿年年有晴",
"tribee": null,
"uname": "余中郎少",
"user_sailing": null,
"vip": "…"
},
"mid": 650019353,
"mid_str": "650019353",
"note_cvid_str": "0",
"oid": 117370098157454,
"oid_str": "117370098157454",
"parent": 315795133249,
"parent_str": "315795133249",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "23小时前发布",
"translation_switch": 1
},
"root": 315795133249,
"root_str": "315795133249",
"rpid": 319373454816,
"rpid_str": "319373454816",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"… 1 more items in the full response"
],
"reply_control": {
"max_line": 6,
"sub_reply_entry_text": "共27条回复",
"sub_reply_title_text": "相关回复共27条",
"support_share": true,
"time_desc": "1天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 315795133249,
"rpid_str": "315795133249",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"… 1 more items in the full response"
],
"support_mode": [
2,
3
],
"top": null,
"upper": {
"mid": 287795639,
"top": null,
"vote": null
},
"vote": 0
},
"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 |
问题
向 https://api.sandbase.ai/v1/api/bilibili/web/video-comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:bv_id (string)。 可选:pn (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Bilibili Video Comments (Web) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Bilibili API 访问权限。