Bilibili Comment Replies
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.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 2 required · 1 optional
Try the model
Playground
[
{
"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": {
"config_type": 1,
"general_config": {
"web_css_style": {
"borderRadius": "50%"
}
}
}
}
},
"resource": {
"res_image": {
"image_src": {
"placeholder": 6,
"remote": {
"bfs_style": "widget-layer-avatar",
"url": "https://i0.hdslb.com/bfs/face/23f3759f25381952b3a700ee751640a3dc476648.jpg"
},
"src_type": 1
}
},
"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": {
"remote": {
"bfs_style": "widget-layer-avatar",
"url": "https://i0.hdslb.com/bfs/garb/item/0688b6bcc9e5e96a19a2b91594774e71b0cf9d2a.png"
},
"src_type": 1
}
},
"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": {
"config_type": 1,
"general_config": {
"web_css_style": {
"background-color": "rgb(255,255,255)",
"border": "2px solid rgba(255,255,255,1)",
"borderRadius": "50%",
"boxSizing": "border-box"
}
}
},
"ICON_LAYER": {}
}
},
"resource": {
"res_image": {
"image_src": {
"placeholder": 1,
"remote": {
"bfs_style": "widget-layer-avatar",
"url": "http://i0.hdslb.com/bfs/vip/dbe23f4ede5c120f11e18630cdd023010bce03b3.png@80w_80h_1c.webp"
},
"src_type": 1
}
},
"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",Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- bv_id
- string · required
- rpid
- string · required
- pn
- integer · optional
Access
- Provider
- Bilibili
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/bilibili/web/comment-reply
- Authentication
- Bearer API key
API README
Bilibili Comment Replies API
Fetch threaded replies for a specific comment using bv_id and rpid. Browse through conversation pages by specifying pn.
Use cases
- Inspect user conversations beneath specific video comments.
- Analyze engagement and reaction metrics on comment threads.
- Build moderation or archiving tools for video discussion replies.
Request
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"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
rpid | string | Yes | Reply id |
bv_id | string | Yes | Video id |
pn | integer | No | Page number |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"replies": [
{
"count": 0,
"ctime": 1723373731,
"dynamic_id_str": "0",
"like": 18,
"rcount": 0,
"type": 1,
"member": {
"rank": "10000",
"uname": "喜欢孤独的滋味"
},
"reply_control": {
"time_desc": "786天前发布"
},
"up_action": {
"like": false
}
}
]
}
}
Notes
- Identify the target video using
bv_id. - Provide the parent comment identifier via
rpid. - Use
pnto page through nested reply results.
Related APIs
- Bilibili Streaming Areas: Returns the complete list of streaming broadcast areas and categories on Bilibili.
- Bilibili BV to AID Converter: Converts a Bilibili BV identifier to its corresponding numeric AID value.
- Bilibili User Collection Folders: Returns the collection folders owned by a specific Bilibili user.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/bilibili/web/comment-reply" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"bv_id": "BV1dFad6aEz9",
"rpid": "237108091664"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Bilibili Comment RepliesThis API Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Bilibili Comment Replies API?
Send a POST request to https://api.sandbase.ai/v1/api/bilibili/web/comment-reply with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Bilibili Comment Replies API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Bilibili Comment Replies API accept?
Required: bv_id (string) and rpid (string). Optional: pn (integer). The Parameters table and the Playground on this page list every field.
What does the Bilibili Comment Replies API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Bilibili developer account or API key?
No. Bilibili Comment Replies runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bilibili API access separately.
