dynamic_idstringrequired
Dynamic id
https://api.sandbase.ai/v1/api/bilibili/web/dynamic-detailReturns detailed information for a specified Bilibili dynamic post, such as image, text, or article dynamics, using its unique dynamic ID.
[
{
"data": {
"code": 0,
"data": {
"item": {
"basic": {
"aigc": false,
"article_type": 0,
"comment_id_str": "385887198",
"comment_type": 11,
"editable": false,
"is_only_fans": false,
"like_icon": {
"action_url": "",
"end_url": "",
"id": "0",
"start_url": ""
},
"open_app_extra": "",
"rid_str": "385887198",
"title": "电影最TOP的动态 - 哔哩哔哩",
"tribee": null,
"uid": "17819768"
},
"id_str": "1172584638000922630",
"modules": [
{
"module_author": null,
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": null,
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": null,
"module_title": null,
"module_top": {
"display": {
"album": {
"pics": [
{
"aigc": false,
"height": 717,
"size": 66.254,
"url": "http://i0.hdslb.com/bfs/new_dyn/034439a51898af0461e61ec42d3cbe5317819768.png",
"warning": null,
"width": 689
}
]
},
"type": 1,
"video": null
}
},
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_TOP"
},
{
"module_author": {
"avatar": {
"container_size": {
"height": 1,
"width": 1
},
"fallback_layers": {
"group_id": "",
"group_mask": null,
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.5,
"axis_y": 0.5,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1,
"width": 1
}
},
"layer_config": {
"allow_over_paint": false,
"is_critical": true,
"layer_mask": null,
"tags": {
"AVATAR_LAYER": {
"config_type": 0
},
"GENERAL_CFG": {
"config_type": 1,
"general_config": {
"web_css_style": {
"borderRadius": "50%"
}
}
}
}
},
"layer_id": "",
"resource": {
"res_image": {
"image_src": {
"placeholder": 6,
"remote": {
"bfs_style": "widget-layer-avatar",
"url": "https://i2.hdslb.com/bfs/face/6b2ade215ea603b495648875c925172a863d16d4.jpg"
},
"src_type": 1
}
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.6250000000000001,
"axis_y": 0.6250000000000001,
"coordinate_pos": 1
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.41666666666666663,
"width": 0.41666666666666663
}
},
"layer_config": {
"allow_over_paint": true,
"is_critical": false,
"layer_mask": null,
"tags": {
"GENERAL_CFG": {
"config_type": 1,
"general_config": {
"web_css_style": {
"background-color": "var(--bg1)",
"border": "2px solid var(--bg1)",
"borderRadius": "50%",
"boxSizing": "border-box"
}
}
},
"ICON_LAYER": {
"config_type": 0
}
}
},
"layer_id": "",
"resource": {
"res_image": {
"image_src": {
"local": 3,
"placeholder": 0,
"src_type": 2
}
},
"res_type": 3
},
"visible": true
}
]
},
"layers": [],
"mid": "17819768"
},
"decorate": null,
"decorate_card": null,
"decoration_card": null,
"face": "https://i2.hdslb.com/bfs/face/6b2ade215ea603b495648875c925172a863d16d4.jpg",
"face_nft": false,
"following": 2,
"icon_badge": null,
"is_top": false,
"jump_url": "//space.bilibili.com/17819768",
"label": "",
"mid": 17819768,
"more": {
"rcmd_text": "",
"three_point_items": [
{
"jump_url": "",
"label": "举报",
"modal": null,
"params": {},
"type": "THREE_POINT_REPORT"
}
]
},
"name": "电影最TOP",
"name_render": null,
"nft_info": null,
"official": {
"desc": "",
"role": 1,
"title": "2025百大UP主、2024百大UP主、知名影视UP主",
"type": 0
},
"official_verify": {
"desc": "",
"type": 0
},
"pendant": {
"expire": "0",
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": "0",
"name": "",
"pid": 0
},
"pub_action": "",
"pub_location_text": "",
"pub_time": "2026年02月23日 21:07",
"pub_ts": "1771852036",
"type": "AUTHOR_TYPE_NORMAL",
"views_text": "",
"vip": {
"avatar_icon": {
"icon_resource": {
"type": 0,
"url": ""
},
"icon_type": 1
},
"avatar_subscript": 1,
"avatar_subscript_url": "",
"due_date": "1795881600000",
"label": {
"bg_color": "#FB7299",
"bg_style": 1,
"border_color": "",
"img_label_uri_hans": "",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png",
"label_theme": "annual_vip",
"path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
"text": "年度大会员",
"text_color": "#FFFFFF",
"use_img_label": true
},
"nickname_color": "#FB7299",
"role": "3",
"status": 1,
"theme_type": 0,
"tv_due_date": "1693929600",
"tv_vip_pay_type": 0,
"tv_vip_status": 0,
"type": 2,
"vip_pay_type": 1
}
},
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": null,
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": null,
"module_title": null,
"module_top": null,
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_AUTHOR"
},
{
"module_author": null,
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": {
"paragraphs": [
{
"align": 0,
"blockquote": null,
"code": null,
"format": {
"align": 0,
"indent": null
},
"heading": null,
"line": null,
"link_card": null,Select an example to load its inputs and result into the playground.
Retrieve detailed module data for an image, text, or article post on Bilibili using dynamic_id.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/dynamic-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"dynamic_id": "1172584638000922630"}'
| Name | Type | Required | Description |
|---|---|---|---|
dynamic_id | string | Yes | Dynamic id |
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"item": {
"modules": [
{
"module_type": "MODULE_TYPE_TOP"
}
]
}
}
}
dynamic_id.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Start building
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/dynamic-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"dynamic_id": "1172584638000922630"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
dynamic_idstringrequiredDynamic id
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"code": 0,
"data": {
"item": {
"basic": {
"aigc": false,
"article_type": 0,
"comment_id_str": "385887198",
"comment_type": 11,
"editable": false,
"is_only_fans": false,
"like_icon": {
"action_url": "",
"end_url": "",
"id": "0",
"start_url": ""
},
"open_app_extra": "",
"rid_str": "385887198",
"title": "电影最TOP的动态 - 哔哩哔哩",
"tribee": null,
"uid": "17819768"
},
"id_str": "1172584638000922630",
"modules": [
{
"module_author": null,
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": null,
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": null,
"module_title": null,
"module_top": {
"display": {
"album": {
"pics": [
{
"aigc": false,
"height": 717,
"size": 66.254,
"url": "http://i0.hdslb.com/bfs/new_dyn/034439a51898af0461e61ec42d3cbe5317819768.png",
"warning": null,
"width": 689
}
]
},
"type": 1,
"video": null
}
},
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_TOP"
},
{
"module_author": {
"avatar": {
"container_size": {
"height": 1,
"width": 1
},
"fallback_layers": {
"group_id": "",
"group_mask": null,
"is_critical_group": true,
"layers": [
{
"general_spec": {
"pos_spec": {
"axis_x": 0.5,
"axis_y": 0.5,
"coordinate_pos": 2
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 1,
"width": 1
}
},
"layer_config": {
"allow_over_paint": false,
"is_critical": true,
"layer_mask": null,
"tags": {
"AVATAR_LAYER": {
"config_type": 0
},
"GENERAL_CFG": {
"config_type": 1,
"general_config": {
"web_css_style": {
"borderRadius": "50%"
}
}
}
}
},
"layer_id": "",
"resource": {
"res_image": {
"image_src": {
"placeholder": 6,
"remote": {
"bfs_style": "widget-layer-avatar",
"url": "https://i2.hdslb.com/bfs/face/6b2ade215ea603b495648875c925172a863d16d4.jpg"
},
"src_type": 1
}
},
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": {
"axis_x": 0.6250000000000001,
"axis_y": 0.6250000000000001,
"coordinate_pos": 1
},
"render_spec": {
"opacity": 1
},
"size_spec": {
"height": 0.41666666666666663,
"width": 0.41666666666666663
}
},
"layer_config": {
"allow_over_paint": true,
"is_critical": false,
"layer_mask": null,
"tags": {
"GENERAL_CFG": {
"config_type": 1,
"general_config": {
"web_css_style": {
"background-color": "var(--bg1)",
"border": "2px solid var(--bg1)",
"borderRadius": "50%",
"boxSizing": "border-box"
}
}
},
"ICON_LAYER": {
"config_type": 0
}
}
},
"layer_id": "",
"resource": {
"res_image": {
"image_src": {
"local": 3,
"placeholder": 0,
"src_type": 2
}
},
"res_type": 3
},
"visible": true
}
]
},
"layers": [],
"mid": "17819768"
},
"decorate": null,
"decorate_card": null,
"decoration_card": null,
"face": "https://i2.hdslb.com/bfs/face/6b2ade215ea603b495648875c925172a863d16d4.jpg",
"face_nft": false,
"following": 2,
"icon_badge": null,
"is_top": false,
"jump_url": "//space.bilibili.com/17819768",
"label": "",
"mid": 17819768,
"more": {
"rcmd_text": "",
"three_point_items": [
{
"jump_url": "",
"label": "举报",
"modal": null,
"params": {},
"type": "THREE_POINT_REPORT"
}
]
},
"name": "电影最TOP",
"name_render": null,
"nft_info": null,
"official": {
"desc": "",
"role": 1,
"title": "2025百大UP主、2024百大UP主、知名影视UP主",
"type": 0
},
"official_verify": {
"desc": "",
"type": 0
},
"pendant": {
"expire": "0",
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": "0",
"name": "",
"pid": 0
},
"pub_action": "",
"pub_location_text": "",
"pub_time": "2026年02月23日 21:07",
"pub_ts": "1771852036",
"type": "AUTHOR_TYPE_NORMAL",
"views_text": "",
"vip": {
"avatar_icon": {
"icon_resource": {
"type": 0,
"url": ""
},
"icon_type": 1
},
"avatar_subscript": 1,
"avatar_subscript_url": "",
"due_date": "1795881600000",
"label": {
"bg_color": "#FB7299",
"bg_style": 1,
"border_color": "",
"img_label_uri_hans": "",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png",
"label_theme": "annual_vip",
"path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
"text": "年度大会员",
"text_color": "#FFFFFF",
"use_img_label": true
},
"nickname_color": "#FB7299",
"role": "3",
"status": 1,
"theme_type": 0,
"tv_due_date": "1693929600",
"tv_vip_pay_type": 0,
"tv_vip_status": 0,
"type": 2,
"vip_pay_type": 1
}
},
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": null,
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": null,
"module_title": null,
"module_top": null,
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_AUTHOR"
},
{
"module_author": null,
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": {
"paragraphs": [
{
"align": 0,
"blockquote": null,
"code": null,
"format": {
"align": 0,
"indent": null
},
"heading": null,
"line": null,
"link_card": null,
"list": null,
"para_type": 1,
"pic": null,
"text": {
"nodes": [
{
"formula": null,
"rich": null,
"type": "TEXT_NODE_TYPE_WORD",
"user": null,
"word": {
"bg_style": null,
"bili_theme": "",
"color": "",
"dark_color": "",
"font_level": "regular",
"font_size": 17,
"style": {
"background": "",
"bold": false,
"italic": false,
"strikethrough": false,
"underline": false
},
"translated_words": "",
"words": "新一期唠嗑节目已发布,夕阳(他又改名了)回归聊幕后趣闻,仍然薅小片片当嘉宾,除了初四限定上映的《夜王》,春节档新片都聊到,还有春晚、冬奥、中戏反腐、seedance2.0等话题,赶在上班前剪出来,三个小时同学们回家路上听!(电影最TOP公号放出)"
}
}
]
}
}
]
},
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": null,
"module_title": null,
"module_top": null,
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_CONTENT"
},
{
"module_author": null,
"module_blocked": null,
"module_bottom": null,
"module_collection": null,
"module_content": null,
"module_copyright": null,
"module_dispute": null,
"module_extend": null,
"module_item_null": null,
"module_paywall": null,
"module_reprint_source": null,
"module_stat": {
"coin": {
"count": 0,
"disabled": false,
"forbidden": false,
"hidden": true,
"silent": false,
"status": false
},
"comment": {
"count": 28,
"disabled": false,
"forbidden": false,
"hidden": false,
"silent": false,
"status": false
},
"favorite": {
"count": 3,
"disabled": false,
"forbidden": false,
"hidden": false,
"silent": false,
"status": false
},
"forward": {
"count": 4,
"disabled": false,
"forbidden": false,
"hidden": false,
"silent": false,
"status": false
},
"like": {
"count": 1258,
"disabled": false,
"forbidden": false,
"hidden": false,
"silent": false,
"status": false
}
},
"module_title": null,
"module_top": null,
"module_topic": null,
"module_tribee": null,
"module_type": "MODULE_TYPE_STAT"
}
],
"type": 0
}
},
"message": "0",
"ttl": 1
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Bilibili Dynamic DetailThis API Bilibili | $0.0015 per call | JSON |
Bilibili | $0.0015 per call | JSON |
Bilibili | $0.0015 per call | JSON |
Bilibili | $0.0015 per call | JSON |
Bilibili | $0.0015 per call | JSON |
Bilibili | $0.0015 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/bilibili/web/dynamic-detail 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.
$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.
Required: dynamic_id (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Bilibili Dynamic Detail 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.