av_idstring
AV ID (choose one of av_id or bv_id)
https://api.sandbase.ai/v1/api/bilibili/app/video-commentsReturns user comments for a specified Bilibili video by AV or BV identifier. Supports sorting comments by popularity or post time, with cursor-based pagination.
[
{
"data": {
"code": 0,
"data": {
"assist": 0,
"blacklist": 0,
"callbacks": null,
"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": true,
"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
},
"cursor": {
"all_count": 2199,
"is_begin": true,
"is_end": false,
"mode": 3,
"mode_text": "",
"name": "热门评论",
"next": 4,
"pagination_reply": {
"next_offset": "CAEiAggE"
},
"prev": 0,
"session_id": "",
"support_mode": [
2,
3
]
},
"effects": {
"preloading": ""
},
"note": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": {
"[笑哭]": {
"attr": 0,
"id": 509,
"jump_title": "笑哭",
"meta": "…",
"mtime": 1668688325,
"package_id": 1,
"state": 0,
"text": "[笑哭]",
"type": 1,
"url": "https://i0.hdslb.com/bfs/emote/c3043ba94babf824dea03ce500d0e73763bf4f40.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "弹幕来一句500g是两斤确实绷不住了[笑哭]"
},
"count": 1,
"ctime": 1790200581,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 9,
"member": {
"avatar": "https://i2.hdslb.com/bfs/face/ba04fabd609e34a7cecc4bd824ab88f0a94eccb9.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 3 items in the full response"
},
"mid": "3398387"
},
"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": "3398387",
"nameplate": {
"condition": "单个自制视频总播放数>=100万,数据次日更新",
"image": "https://i0.hdslb.com/bfs/face/82896ff40fcb4e7c7259cb98056975830cb55695.png",
"image_small": "https://i1.hdslb.com/bfs/face/627e342851dfda6fe7380c2fa0cbd7fae2e61533.png",
"level": "稀有勋章",
"name": "黄金殿堂",
"nid": 1
},
"nft_interaction": null,
"official_verify": {
"desc": "音乐人尔康",
"type": 0
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "技术流博主,超强剑魂,全职业都能玩,不扯犊子只说实话,提问请关注并在评论区或者直播间提问,每晚7点播,四维土龙代斩可以联系,交流群见视频置顶",
"tribee": null,
"uname": "DNF手游無限劍刃",
"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/b3d1836175ca2ff6032bef017b6e9115bcbaf4a9.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/sGu57N6pgK.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": "…",
"label_id": 65,
"label_theme": "ten_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": 1815148800000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 3398387,
"mid_str": "3398387",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 0,
"parent_str": "0",
"rcount": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": "…",
"jump_url": "…",
"max_line": 2,
"members": "… 0 items in the full response",
"message": "买牛肉不炸了[doge]"
},
"count": 0,
"ctime": 1790231240,
"dialog": 314892814113,
"dialog_str": "314892814113",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 0,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/9a825e990d80d7f97c67b1db7ebcf4252b3a78a1.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "520436772",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "男",
"sign": "开心快乐每一天!",
"tribee": null,
"uname": "stk-囧囧",
"user_sailing": null,
"vip": "…"
},
"mid": 520436772,
"mid_str": "520436772",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 314860014033,
"parent_str": "314860014033",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 2,
"support_share": true,
"time_desc": "6天前发布",
"translation_switch": 1
},
"root": 314860014033,
"root_str": "314860014033",
"rpid": 314892814113,
"rpid_str": "314892814113",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
}
],
"reply_control": {
"max_line": 6,
"sub_reply_entry_text": "共1条回复",
"sub_reply_title_text": "相关回复共1条",
"support_share": true,
"time_desc": "7天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 314860014033,
"rpid_str": "314860014033",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": {
"[包浆狗狗合集_wink]": {
"attr": 0,
"id": 100266,
"jump_title": "wink",選擇一個範例,將其輸入與結果載入 playground。
Returns a page of comments for one Bilibili video, including each comment's text, like count, author and a few nested replies. It needs a video ID, given as either av_id or bv_id.
mode set to 2 to follow how a discussion develops.mid values to find active commenters on a video.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/video-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"bv_id": "BV18SCrBGE9E", "mode": 3, "next_offset": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
av_id | string | No | AV ID (choose one of av_id or bv_id) |
bv_id | string | No | BV ID (choose one of av_id or bv_id) |
mode | integer | No | Sort mode (3=hot, 2=time) |
next_offset | integer | No | Pagination cursor |
Historical provider response sample, trimmed: lists keep their first item and long strings are cut. The single-identifier teaching request above was not re-run for this update.
{
"code": 0,
"data": {
"assist": 0,
"blacklist": 0,
"callbacks": null,
"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": true,
"enable_cm_biz_helper": false,
"giveup_input_text": "不发没关系,请继续友善哦~",
"input_disable": false
},
"cursor": {
"all_count": 1250,
"is_begin": true,
"is_end": false,
"mode": 3,
"mode_text": "",
"name": "热门评论",
"next": 2,
"pagination_reply": {
"next_offset": "CAEiAggC"
},
"prev": 0,
"session_id": "",
"support_mode": [
2
]
},
"effects": {
"preloading": ""
},
"note": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": {},
"max_line": 6,
"members": [],
"message": "猎鹰这个队的抽象之处在于老尼打的越菜其他人被踢的可能性反而越高。"
},
"count": 33,
"ctime": 1763432703,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false
}
],
"top": {
"admin": null,
"upper": null,
"vote": null
},
"top_replies": null,
"upper": {
"mid": 203680252
}
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.replies[].content.message | Text of the top-level comment. |
data.replies[].rpid_str | ID of the comment, as a string. |
data.replies[].like | Number of likes on the comment. |
data.replies[].rcount / data.replies[].count | Reply counts for the comment. rcount matches the total shown in reply_control.sub_reply_entry_text, for example 26 replies. |
data.replies[].ctime | Post time of the comment as a Unix timestamp in seconds. |
data.replies[].mid_str | Bilibili user ID of the commenter, as a string. |
data.replies[].member.avatar | URL of the commenter's avatar image. |
data.replies[].replies[] | A short preview list of replies to the comment. Each item has its own content.message, ctime and dialog_str. |
data.replies[].content.pictures[].img_src | URL of an image attached to the comment. It appears only on comments that have pictures. |
data.cursor.all_count | Total comment count reported for the video. |
data.cursor.is_end | Whether this page is the last one. |
data.cursor.pagination_reply.next_offset | Cursor string for the next page. |
av_id or bv_id. The BV ID looks like BV18SCrBGE9E and the AV ID is a number like 115568241811221. The comments' oid_str matches the AV ID.mode to 3 for hot comments or 2 for time order. The response lists these values in data.cursor.support_mode.data.cursor.next and string data.cursor.pagination_reply.next_offset. The input schema declares integer next_offset; these are not interchangeable. This guide stops after the first request and does not verify continuation.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send exactly one identifier: bv_id for a BV id, or av_id for a numeric AV identifier represented as a string. The schema describes these as alternatives even though neither field appears in a required array. Do not send a URL, creator id or both identifiers in the first request.
Set mode to 3 for hot comments or 2 for time order. The current schema's next_offset is an integer with default 1. The API reference's teaching request starts at 1; a saved Playground example may contain a different historical cursor, so check it before running. This guide makes one request and stops.
The historical response includes both integer cursor.next and string cursor.pagination_reply.next_offset. They are not interchangeable with the current integer input. This update does not verify continuation: do not convert the opaque string to a number, invent a cursor or fetch every page automatically. A hot-comment sample and nested preview replies do not represent all comments or complete threads.
Use Video Details if you need the title or metadata of the known video first; that is a separate request.
Already have a key? Keep SANDBASE_API_KEY in your local environment, open the API tab and use its POST /v1/api/ route with Bearer authentication. Already connected your agent? Give it this endpoint and one public video identifier. For a new project, share the setup Skill, Markdown quickstart and your task. Ask for one request and a saved response before adding a larger workflow.
Pricing checked on 2026-11-08: both selected endpoints list $0.001 per call and eligibility for the organization's 100 daily free data API calls, shared across eligible APIs and reset at 00:00 UTC. Eligibility does not tell you the remaining allowance. Inspect current pricing and quota before running. No new business request was made for this guide update.
Read outputs[0].data only from a completed SandBase response, then inspect the Bilibili code and data inside that payload. HTTP 200 or a completed gateway call alone does not establish a successful provider result. Preserve missing values as unknown, not zero. The Bilibili Python integration guide includes a bounded first request and separately dated historical response evidence.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/video-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": 3,
"next_offset": 1,
"bv_id": "BV19uhb6mEWd"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
av_idstringAV ID (choose one of av_id or bv_id)
bv_idstringBV ID (choose one of av_id or bv_id)
modeintegerSort mode (3=hot, 2=time)
預設:3
next_offsetintegerPagination cursor
預設:1
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"code": 0,
"data": {
"assist": 0,
"blacklist": 0,
"callbacks": null,
"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": true,
"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
},
"cursor": {
"all_count": 2199,
"is_begin": true,
"is_end": false,
"mode": 3,
"mode_text": "",
"name": "热门评论",
"next": 4,
"pagination_reply": {
"next_offset": "CAEiAggE"
},
"prev": 0,
"session_id": "",
"support_mode": [
2,
3
]
},
"effects": {
"preloading": ""
},
"note": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": {
"[笑哭]": {
"attr": 0,
"id": 509,
"jump_title": "笑哭",
"meta": "…",
"mtime": 1668688325,
"package_id": 1,
"state": 0,
"text": "[笑哭]",
"type": 1,
"url": "https://i0.hdslb.com/bfs/emote/c3043ba94babf824dea03ce500d0e73763bf4f40.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "弹幕来一句500g是两斤确实绷不住了[笑哭]"
},
"count": 1,
"ctime": 1790200581,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 9,
"member": {
"avatar": "https://i2.hdslb.com/bfs/face/ba04fabd609e34a7cecc4bd824ab88f0a94eccb9.jpg",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 3 items in the full response"
},
"mid": "3398387"
},
"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": "3398387",
"nameplate": {
"condition": "单个自制视频总播放数>=100万,数据次日更新",
"image": "https://i0.hdslb.com/bfs/face/82896ff40fcb4e7c7259cb98056975830cb55695.png",
"image_small": "https://i1.hdslb.com/bfs/face/627e342851dfda6fe7380c2fa0cbd7fae2e61533.png",
"level": "稀有勋章",
"name": "黄金殿堂",
"nid": 1
},
"nft_interaction": null,
"official_verify": {
"desc": "音乐人尔康",
"type": 0
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"rank": "10000",
"senior": {},
"sex": "男",
"sign": "技术流博主,超强剑魂,全职业都能玩,不扯犊子只说实话,提问请关注并在评论区或者直播间提问,每晚7点播,四维土龙代斩可以联系,交流群见视频置顶",
"tribee": null,
"uname": "DNF手游無限劍刃",
"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/b3d1836175ca2ff6032bef017b6e9115bcbaf4a9.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/sGu57N6pgK.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": "…",
"label_id": 65,
"label_theme": "ten_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": 1815148800000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 3398387,
"mid_str": "3398387",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 0,
"parent_str": "0",
"rcount": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": "…",
"jump_url": "…",
"max_line": 2,
"members": "… 0 items in the full response",
"message": "买牛肉不炸了[doge]"
},
"count": 0,
"ctime": 1790231240,
"dialog": 314892814113,
"dialog_str": "314892814113",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 0,
"member": {
"avatar": "https://i0.hdslb.com/bfs/face/9a825e990d80d7f97c67b1db7ebcf4252b3a78a1.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "520436772",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "男",
"sign": "开心快乐每一天!",
"tribee": null,
"uname": "stk-囧囧",
"user_sailing": null,
"vip": "…"
},
"mid": 520436772,
"mid_str": "520436772",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 314860014033,
"parent_str": "314860014033",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 2,
"support_share": true,
"time_desc": "6天前发布",
"translation_switch": 1
},
"root": 314860014033,
"root_str": "314860014033",
"rpid": 314892814113,
"rpid_str": "314892814113",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
}
],
"reply_control": {
"max_line": 6,
"sub_reply_entry_text": "共1条回复",
"sub_reply_title_text": "相关回复共1条",
"support_share": true,
"time_desc": "7天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 314860014033,
"rpid_str": "314860014033",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"emote": {
"[包浆狗狗合集_wink]": {
"attr": 0,
"id": 100266,
"jump_title": "wink",
"jump_url": "https://www.bilibili.com/h5/mall/equity-link/collect-home?item_id=1735198269001&isdiy=0&part=emoji_package&from=emoji&f_source=garb&vmid=0&native.theme=1&navhide=1",
"meta": "…",
"mtime": 1735790140,
"package_id": 7433,
"state": 0,
"text": "[包浆狗狗合集_wink]",
"type": 3,
"url": "https://i0.hdslb.com/bfs/garb/8cc6a11803bab16defd3b02a3aa77a67729cbd47.png"
}
},
"jump_url": {},
"max_line": 6,
"members": [],
"message": "在ai时代有大量算力需求,且短时间不会降低需求的世代背景下,早年三星提出过的UFS就是未来的行业方向。UFS卡(UFS Card)早年三星提出想做高速可拔插存储,兼顾速度与可迁移,但一直没有大规模普及,现在这年头以旧换新,旧的内存就像不值钱似的,我旧的1t如果直接拔插进新手机哪还有那么多成本问题,国产科技公司以民为本就得想办法解决这个问题,而不是无脑跟风涨价。[包浆狗狗合集_wink]"
},
"count": 1,
"ctime": 1790234254,
"dialog": 0,
"dialog_str": "0",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 4,
"member": {
"avatar": "https://i1.hdslb.com/bfs/face/db9c4dd621b19f5e3e30947d7fb08fdbdd4ab10d.webp",
"avatar_item": {
"container_size": {
"height": 1.8,
"width": 1.8
},
"fallback_layers": {
"is_critical_group": true,
"layers": "… 4 items in the full response"
},
"mid": "611945005"
},
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": {
"current_exp": 0,
"current_level": 5,
"current_min": 0,
"next_exp": 0
},
"mid": "611945005",
"nameplate": {
"condition": "当前持有粉丝勋章最高等级>=5级",
"image": "https://i2.hdslb.com/bfs/face/51ca16136e570938450bca360f28761ceb609f33.png",
"image_small": "https://i1.hdslb.com/bfs/face/9abfa4769357f85937782c2dbc40fafda4f57217.png",
"level": "普通勋章",
"name": "有爱萌新",
"nid": 90
},
"nft_interaction": {
"region": {
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/20220506/334553dd7c506a92b88eaf4d59ac8b4d/j8AeXAkEul.gif",
"show_status": 1,
"type": 1
}
},
"official_verify": {
"desc": "",
"type": -1
},
"pendant": {
"expire": 0,
"image": "https://i1.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"image_enhance": "https://i1.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"image_enhance_frame": "",
"n_pid": 1738922255001,
"name": "颁勒头像框",
"pid": -539499879
},
"rank": "10000",
"senior": {},
"sex": "女",
"sign": "为B站充的每1分钱,换来的都是空虚。",
"tribee": null,
"uname": "RainMist麋鹿",
"user_sailing": {
"cardbg": {
"fan": "…",
"id": 72635,
"image": "https://i0.hdslb.com/bfs/garb/open/79a4ab3d421a73ff3b04ab4a076fafa9b3252280.png",
"image_group": null,
"jump_url": "https://www.bilibili.com/h5/mall/digital-card/home?act_id=106178&lottery_id=0&hybrid_set_header=2&anchor_task=1&navhide=1&f_source=garb&from=reply&window_params=%7B%22type%22%3A8%2C%22mid%22%3A611945005%7D",
"name": "颁勒勋章",
"type": "collect_card"
},
"cardbg_with_focus": null,
"pendant": {
"id": 1738922255001,
"image": "https://i0.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"image_enhance_frame": "",
"jump_url": "",
"name": "颁勒头像框",
"type": ""
}
},
"user_sailing_v2": {
"card_bg": {
"fan": "…",
"id": 72635,
"image": "https://i0.hdslb.com/bfs/garb/open/79a4ab3d421a73ff3b04ab4a076fafa9b3252280.png",
"jump_url": "https://www.bilibili.com/h5/mall/digital-card/home?act_id=106178&lottery_id=0&hybrid_set_header=2&anchor_task=1&navhide=1&f_source=garb&from=reply&window_params=%7B%22type%22%3A8%2C%22mid%22%3A611945005%7D",
"name": "颁勒勋章",
"type": "collect_card"
},
"pendant": {
"id": 1738922255001,
"image": "https://i0.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"image_enhance": "https://i0.hdslb.com/bfs/garb/open/b2fec99c4790cd722b6e46ad286c7cf77299f1d0.png",
"name": "颁勒头像框"
}
},
"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": 1807718400000,
"vipStatus": 1,
"vipStatusWarn": "",
"vipType": 2
}
},
"mid": 611945005,
"mid_str": "611945005",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 0,
"parent_str": "0",
"rcount": 1,
"replies": [
{
"action": 0,
"assist": 0,
"attr": 0,
"content": {
"jump_url": "…",
"max_line": 2,
"members": "… 0 items in the full response",
"message": "太同意了"
},
"count": 0,
"ctime": 1790312706,
"dialog": 318530824288,
"dialog_str": "318530824288",
"dynamic_id_str": "0",
"fansgrade": 0,
"folder": {
"has_folded": false,
"is_folded": false,
"rule": ""
},
"invisible": false,
"like": 0,
"member": {
"avatar": "https://i2.hdslb.com/bfs/face/2f06355f611762158b678751e2298babe4595448.jpg",
"avatar_item": "…",
"contract_desc": "",
"face_nft_new": 0,
"fans_detail": null,
"handle": "",
"is_contractor": false,
"is_senior_member": 0,
"level_info": "…",
"mid": "1855942718",
"nameplate": "…",
"nft_interaction": null,
"official_verify": "…",
"pendant": "…",
"rank": "10000",
"senior": "…",
"sex": "保密",
"sign": "是个娱乐小号",
"tribee": null,
"uname": "zzdomino",
"user_sailing": null,
"vip": "…"
},
"mid": 1855942718,
"mid_str": "1855942718",
"note_cvid_str": "0",
"oid": 117321125400871,
"oid_str": "117321125400871",
"parent": 318429099520,
"parent_str": "318429099520",
"rcount": 0,
"replies": null,
"reply_control": {
"max_line": 2,
"support_share": true,
"time_desc": "5天前发布",
"translation_switch": 1
},
"root": 318429099520,
"root_str": "318429099520",
"rpid": 318530824288,
"rpid_str": "318530824288",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
}
],
"reply_control": {
"max_line": 6,
"sub_reply_entry_text": "共1条回复",
"sub_reply_title_text": "相关回复共1条",
"support_share": true,
"time_desc": "6天前发布",
"translation_switch": 1
},
"root": 0,
"root_str": "0",
"rpid": 318429099520,
"rpid_str": "318429099520",
"state": 0,
"track_info": "",
"type": 1,
"up_action": {
"like": false,
"reply": false
}
},
"… 18 more items in the full response"
],
"top": {
"admin": null,
"upper": null,
"vote": null
},
"top_replies": null,
"upper": {
"mid": 3766866
},
"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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/bilibili/app/video-comments。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:av_id (string), bv_id (string), mode (integer) 和 next_offset (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Bilibili Video Comments (App) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Bilibili API 存取權。
不用。這次第一次請求請傳送 av_id 或 bv_id 其中之一。請使用數字 AV 識別碼的字串,或使用影片 URL 中的 BV 識別碼。熱門評論請選 mode 3,依時間排序請選 2;將 next_offset 以目前預設整數 1 開始。
不要假設這樣可行。目前的輸入 schema 宣告的是整數 next_offset,但歷史回應也顯示在 cursor.pagination_reply.next_offset 下有不透明字串。這份首次請求指南不會驗證續接或互換這些欄位,也不會自動分頁。
兩者都不是。於 2026-11-08,此端點列出每次呼叫 $0.001,且組織內符合資格的資料 API 共享每日 100 次呼叫額度,並於 UTC 00:00 重設。請檢查剩餘配額與目前價格。單一頁面及其巢狀回覆預覽只是樣本,不是完整討論。