bv_idstringbắt buộc
Video id
https://api.sandbase.ai/v1/api/bilibili/web/comment-replyReturns replies to a specific comment on a Bilibili video by video ID and comment ID. Supports pagination to browse threaded discussion replies.
[
{
"data": {
"code": 0,
"data": {
"config": {
"read_only": false,
"show_up_flag": false,
"showtopic": 0
},
"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
},
"page": {
"count": 34,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "那是相当低,很多都是法不责众,真的恶心!"
},
"count": 0,
"ctime": 1723373731,
"dialog": 237107560304,
"dialog_str": "237107560304",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 18,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/23f3759f25381952b3a700ee751640a3dc476648.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.787,
"width": 0.787
}
},
"layer_config": {
"is_critical": true,
"tags": {
"AVATAR_LAYER": "…",
"GENERAL_CFG": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1.375,
"width": 1.375
}
},
"layer_config": {
"tags": {
"PENDENT_LAYER": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9685,
"axis_y": 0.9851666666666666,
"coordinate_pos": 1
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.41666666666666663,
"width": 0.41666666666666663
}
},
"layer_config": {
"tags": {
"GENERAL_CFG": "…",
"ICON_LAYER": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
}
]
},
"mid": "169096227"
},
"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": "169096227",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance_frame": "",
"n_pid": 1887,
"name": "公主连结佩可莉姆",
"pid": 1887
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "",
"tribee": null,
"uname": "喜欢孤独的滋味",
"user_sailing": {
"cardbg": null,
"cardbg_with_focus": null,
"pendant": {
"id": 1887,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance_frame": "",
"jump_url": "",
"name": "公主连结佩可莉姆",
"type": "vip"
}
},
"user_sailing_v2": {
"pendant": {
"id": 1887,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"name": "公主连结佩可莉姆",
"type": "vip"
}
},
"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": {
"mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon",
"pc_web": "https://account.bilibili.com/big?from_spmid=vipicon"
},
"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": 1802966400000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 169096227,
"mid_str": "169096227",
"note_cvid_str": "0",
"oid": 1556386640,
"oid_str": "1556386640",
"parent": 237107365072,
"parent_str": "237107365072",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "786天前发布",
"translation_switch": 1
},
"root": 237107365072,
"root_str": "237107365072",
"rpid": 237107560304,
"rpid_str": "237107560304",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "是啊 就算起诉了 法律判赢了 最多也就赔点钱 然后公开道歉"
},
"count": 0,
"ctime": 1723373879,
"dialog": 237108091664,
"dialog_str": "237108091664",
"dynamic_id_str": "0",Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
List the replies under one Bilibili comment (a comment thread), with each reply's text, author, likes and time. You need the video's BV ID and the root comment's rpid.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/comment-reply" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"bv_id": "BV1dFad6aEz9", "rpid": "237108091664"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
bv_id | string | Yes | Video id |
rpid | string | Yes | Reply 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": {
"config": {
"read_only": false,
"show_up_flag": false,
"showtopic": 0
},
"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
},
"page": {
"count": 34,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "那是相当低,很多都是法不责众,真的恶心!"
},
"count": 0,
"ctime": 1723373731,
"dialog": 237107560304,
"dialog_str": "237107560304",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false
}
],
"root": {
"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
},
"upper": {
"mid": 203680252
}
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.page | count total replies, num page number, size replies per page (20). |
data.replies[] | Replies: rpid, content.message (text), like, ctime (Unix seconds), member (author name, level, avatar) and dialog (the reply it answers). |
data.root | The root comment itself. |
rpid values from the comments returned by Bilibili Video Comments.pn (1, 2, ...) until replies is empty.$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/comment-reply" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bv_id": "BV1dFad6aEz9",
"rpid": "237108091664"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
bv_idstringbắt buộcVideo id
rpidstringbắt buộcReply id
pnintegerPage number
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"code": 0,
"data": {
"config": {
"read_only": false,
"show_up_flag": false,
"showtopic": 0
},
"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
},
"page": {
"count": 34,
"num": 1,
"size": 20
},
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "那是相当低,很多都是法不责众,真的恶心!"
},
"count": 0,
"ctime": 1723373731,
"dialog": 237107560304,
"dialog_str": "237107560304",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 18,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/23f3759f25381952b3a700ee751640a3dc476648.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.787,
"width": 0.787
}
},
"layer_config": {
"is_critical": true,
"tags": {
"AVATAR_LAYER": "…",
"GENERAL_CFG": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1.375,
"width": 1.375
}
},
"layer_config": {
"tags": {
"PENDENT_LAYER": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9685,
"axis_y": 0.9851666666666666,
"coordinate_pos": 1
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.41666666666666663,
"width": 0.41666666666666663
}
},
"layer_config": {
"tags": {
"GENERAL_CFG": "…",
"ICON_LAYER": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
}
]
},
"mid": "169096227"
},
"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": "169096227",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance_frame": "",
"n_pid": 1887,
"name": "公主连结佩可莉姆",
"pid": 1887
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "",
"tribee": null,
"uname": "喜欢孤独的滋味",
"user_sailing": {
"cardbg": null,
"cardbg_with_focus": null,
"pendant": {
"id": 1887,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance_frame": "",
"jump_url": "",
"name": "公主连结佩可莉姆",
"type": "vip"
}
},
"user_sailing_v2": {
"pendant": {
"id": 1887,
"image": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png",
"name": "公主连结佩可莉姆",
"type": "vip"
}
},
"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": {
"mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon",
"pc_web": "https://account.bilibili.com/big?from_spmid=vipicon"
},
"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": 1802966400000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 169096227,
"mid_str": "169096227",
"note_cvid_str": "0",
"oid": 1556386640,
"oid_str": "1556386640",
"parent": 237107365072,
"parent_str": "237107365072",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "786天前发布",
"translation_switch": 1
},
"root": 237107365072,
"root_str": "237107365072",
"rpid": 237107560304,
"rpid_str": "237107560304",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "是啊 就算起诉了 法律判赢了 最多也就赔点钱 然后公开道歉"
},
"count": 0,
"ctime": 1723373879,
"dialog": 237108091664,
"dialog_str": "237108091664",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 83,
"member": {
"avatar": "http://i0.hdslb.com/bfs/face/de394e1e93b1c8d6cc591b3ef09da5dd3f72bf4d.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.787,
"width": 0.787
}
},
"layer_config": {
"is_critical": true,
"tags": {
"AVATAR_LAYER": "…",
"GENERAL_CFG": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1.375,
"width": 1.375
}
},
"layer_config": {
"tags": {
"PENDENT_LAYER": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
}
]
},
"layers": [
{
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"is_critical": true,
"tags": "…"
},
"resource": {
"res_image": "…",
"res_type": 3
},
"visible": true
}
]
},
{
"layers": [
{
"general_spec": {
"pos_spec": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"tags": "…"
},
"resource": {
"res_animation": "…",
"res_type": 4
},
"visible": true
}
]
}
],
"mid": "29857251"
},
"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": "29857251",
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"nft_interaction": null,
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "https://i0.hdslb.com/bfs/garb/item/5caf84631f46c32bf31e8fa871b5742a2c1ceb18.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/3594b30dfb6e9608d9eb6e67f47a2c90dd2bbf71.webp",
"image_enhance_frame": "https://i0.hdslb.com/bfs/garb/item/d5afe4b28412a982672a7b0eb304b146a457bb5c.png",
"n_pid": 4036,
"name": "崩坏3·天穹流星",
"pid": 4036
},
"rank": "10000",
"senior": {},
"sex": "保密",
"sign": "",
"tribee": null,
"uname": "star小炮",
"user_sailing": {
"cardbg": {
"fan": {
"color": "#e17018",
"color_format": {
"colors": [
"#e17018FF",
"#e17018FF"
],
"end_point": "0,100",
"gradients": [
0,
100
],
"start_point": "0,0"
},
"is_fan": 1,
"name": "崩坏3·天穹流星",
"num_desc": "047272",
"num_prefix": "NO.",
"number": 47272
},
"id": 4041,
"image": "https://i0.hdslb.com/bfs/garb/item/243d6933389dce7dd80741f1562730d9f4e8afde.png",
"image_group": null,
"jump_url": "https://www.bilibili.com/h5/mall/equity-link/collect-home?item_id=4041&isdiy=0&part=card_bg&from=reply&f_source=garb&vmid=29857251&native.theme=1&navhide=1",
"name": "崩坏3·天穹流星",
"type": "suit"
},
"cardbg_with_focus": null,
"pendant": {
"id": 4036,
"image": "https://i0.hdslb.com/bfs/garb/item/5caf84631f46c32bf31e8fa871b5742a2c1ceb18.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/3594b30dfb6e9608d9eb6e67f47a2c90dd2bbf71.webp",
"image_enhance_frame": "https://i0.hdslb.com/bfs/garb/item/d5afe4b28412a982672a7b0eb304b146a457bb5c.png",
"jump_url": "",
"name": "崩坏3·天穹流星",
"type": "suit"
}
},
"user_sailing_v2": {
"card_bg": {
"fan": {
"color": "#e17018",
"color_format": {
"colors": [
"#e17018FF",
"#e17018FF"
],
"end_point": "0,100",
"gradients": [
0,
100
],
"start_point": "0,0"
},
"is_fan": 1,
"name": "崩坏3·天穹流星",
"num_desc": "047272",
"num_prefix": "NO.",
"number": 47272
},
"id": 4041,
"image": "https://i0.hdslb.com/bfs/garb/item/243d6933389dce7dd80741f1562730d9f4e8afde.png",
"jump_url": "https://www.bilibili.com/h5/mall/equity-link/collect-home?item_id=4041&isdiy=0&part=card_bg&from=reply&f_source=garb&vmid=29857251&native.theme=1&navhide=1",
"name": "崩坏3·天穹流星",
"type": "suit"
},
"pendant": {
"id": 4036,
"image": "https://i0.hdslb.com/bfs/garb/item/5caf84631f46c32bf31e8fa871b5742a2c1ceb18.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/item/3594b30dfb6e9608d9eb6e67f47a2c90dd2bbf71.webp",
"image_enhance_frame": "https://i0.hdslb.com/bfs/garb/item/d5afe4b28412a982672a7b0eb304b146a457bb5c.png",
"name": "崩坏3·天穹流星",
"type": "suit"
}
},
"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": 1789401600000,
"vipStatus": 0,
"vipStatusWarn": "",
"vipType": 1
}
},
"mid": 29857251,
"mid_str": "29857251",
"note_cvid_str": "0",
"oid": 1556386640,
"oid_str": "1556386640",
"parent": 237107365072,
"parent_str": "237107365072",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "786天前发布",
"translation_switch": 1
},
"root": 237107365072,
"root_str": "237107365072",
"rpid": 237108091664,
"rpid_str": "237108091664",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {
"嘴欠的人": {
"app_name": "",
"app_package_name": "",
"app_url_schema": "bilibili://search?from=appcommentline_search&search_from_source=appcommentline_search&direct_return=true&keyword=%E5%98%B4%E6%AC%A0%E7%9A%84%E4%BA%BA&seid=4189125718097799990&from_avid=117358437866139&from_comid=237109206624&search_half_screen=0&half_screen_page_type=0&scroll_to_fullscreen=0",
"click_report": "",
"exposure_report": "",
"extra": {
"goods_click_report": "",
"goods_cm_control": 0,
"goods_exposure_report": "",
"goods_show_type": 0,
"is_word_search": true
},
"icon_position": 1,
"is_half_screen": false,
"match_once": true,
"pc_url": "//search.bilibili.com/all?from_source=webcommentline_search&keyword=%E5%98%B4%E6%AC%A0%E7%9A%84%E4%BA%BA&seid=4189125718097799990&from_avid=117358437866139&from_comid=237109206624&search_half_screen=0&half_screen_page_type=0&scroll_to_fullscreen=0",
"prefix_icon": "https://i0.hdslb.com/bfs/reply/9f3ad0659e84c96a711b88dd33f4bc2e945045e0.png",
"state": 0,
"title": "嘴欠的人",
"underline": false
}
},
"max_line": 6,
"members": [],
"message": "嘴欠的人太多了…"
},
"count": 0,
"ctime": 1723374229,
"dialog": 237109206624,
"dialog_str": "237109206624",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 22,
"member": {
"avatar": "https://i2.hdslb.com/bfs/face/620db76539829284c025df0dae5654a2f02b04b9.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1,
"width": 1
}
},
"layer_config": {
"is_critical": true,
"tags": {
"AVATAR_LAYER": "…",
"GENERAL_CFG": "…"
}
},
"resource": {
"res_image": {
"image_src": "…"
},
"res_type": 3
},
"visible": true
}
]
},
"mid": "33851537"
},
"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": "33851537",
"nameplate": {
"condition": "当前持有粉丝勋章最高等级>=15级",
"image": "https://i0.hdslb.com/bfs/face/a10ee6b613e0d68d2dfdac8bbf71b94824e10408.png",
"image_small": "https://i0.hdslb.com/bfs/face/54f4c31ab9b1f1fa2c29dbbc967f66535699337e.png",
"level": "普通勋章",
"name": "有爱大佬",
"nid": 92
},
"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": 33851537,
"mid_str": "33851537",
"note_cvid_str": "0",
"oid": 1556386640,
"oid_str": "1556386640",
"parent": 237107365072,
"parent_str": "237107365072",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 6,
"support_share": true,
"time_desc": "786天前发布",
"translation_switch": 1
},
"root": 237107365072,
"root_str": "237107365072",
"rpid": 237109206624,
"rpid_str": "237109206624",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"… 17 more items in the full response"
],
"root": {
"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,
"like": 2301,
"member": {
"avatar": "https://i1.hdslb.com/bfs/face/f7f84362926f6a7ca47061f297bac10fbb49b5cb.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.9,
"axis_y": 0.9,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1,
"width": 1
}
},
"layer_config": {
"is_critical": true,
"tags": {
"AVATAR_LAYER": {},
"GENERAL_CFG": {
"config_type": 1,
"general_config": "…"
}
}
},
"resource": {
"res_image": {
"image_src": {
"placeholder": 6,
"remote": "…",
"src_type": 1
}
},
"res_type": 3
},
"visible": true
}
]
},
"mid": "1780502803"
},
"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": "1780502803",
"nameplate": {
"condition": "单个自制视频总播放数>=100万,数据次日更新",
"image": "https://i0.hdslb.com/bfs/face/82896ff40fcb4e7c7259cb98056975830cb55695.png",
"image_small": "https://i0.hdslb.com/bfs/face/627e342851dfda6fe7380c2fa0cbd7fae2e61533.png",
"level": "稀有勋章",
"name": "黄金殿堂",
"nid": 1
},
"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": "1V7封闭房间,性别不限,多人视奸,围观,意外,极尽烧脑,尔虞我诈,轮流对抗,猜忌与试探,选择与运气,沦陷与疯狂,金钱与人性,金铲铲启动!",
"tribee": null,
"uname": "笑chu腹肌",
"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": 1694102400000,
"vipStatus": 0,
"vipStatusWarn": "",
"vipType": 1
}
},
"mid": 1780502803,
"mid_str": "1780502803",
"note_cvid_str": "0",
"oid": 1556386640,
"oid_str": "1556386640",
"parent": 0,
"parent_str": "0",
"rcount": 34,
"replies": null,
"reply_control": {
"max_line": 6,
"sub_reply_entry_text": "共34条回复",
"sub_reply_title_text": "相关回复共34条",
"support_share": true,
"time_desc": "786天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 237107365072,
"rpid_str": "237107365072",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"upper": {
"mid": 203680252
}
},
"message": "OK",
"ttl": 1
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Bilibili Comment RepliesAPI này Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/bilibili/web/comment-reply với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: bv_id (string) và rpid (string). Tùy chọn: pn (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Bilibili Comment Replies chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Bilibili.