dynamic_idstringจำเป็น
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": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"allow_over_paint": false,
"is_critical": true,
"layer_mask": null,
"tags": "…"
},
"layer_id": "",
"resource": {
"res_image": "…",
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"allow_over_paint": true,
"is_critical": false,
"layer_mask": null,
"tags": "…"
},
"layer_id": "",
"resource": {
"res_image": "…",
"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": "…"
}
]
}
}
]
},
"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"
},
"… 1 more items in the full response"
],
"type": 0
}
},
"message": "0",
"ttl": 1
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the structure of one Bilibili dynamic post, such as a text, image, or article post. It needs the post's dynamic_id and returns basic info plus a list of content modules, such as the author and the content paragraphs.
mid for a known dynamic post.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"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
dynamic_id | string | Yes | Dynamic id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"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": ""
},
"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
}
],
"type": 0
}
},
"message": "0",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.item.id_str | The dynamic ID as a string. It matches the dynamic_id you sent. |
data.item.type | Numeric type code of the dynamic. The response gives 0 for this post and does not label the codes. |
data.item.basic.comment_id_str / data.item.basic.comment_type | The ID and type code used to identify the comment area of this post. In this response they are 385887198 and 11. |
data.item.basic.is_only_fans | Boolean flag. true marks a fans-only post. |
data.item.basic.editable | Boolean flag. It shows whether the post can be edited. |
data.item.basic.aigc | Boolean flag. It is false for this post. |
data.item.modules[].module_author.face | URL of the author's avatar image. |
data.item.modules[].module_author.avatar.mid | The author's numeric user ID, as a string. |
data.item.modules[].module_content.paragraphs[] | List of content paragraphs. Each item has align and format plus fields such as heading, list, and link_card. Fields that do not apply are null. |
data.item.modules[] | List of modules. Each item holds one named module, such as module_author or module_content. Modules that do not apply to the item are null. |
data.item.modules[] fills only one module key, so loop over the list and skip null values.dynamic_id is a long numeric string. Send it as a string.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
dynamic_idstringจำเป็นDynamic id
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"allow_over_paint": false,
"is_critical": true,
"layer_mask": null,
"tags": "…"
},
"layer_id": "",
"resource": {
"res_image": "…",
"res_type": 3
},
"visible": true
},
{
"general_spec": {
"pos_spec": "…",
"render_spec": "…",
"size_spec": "…"
},
"layer_config": {
"allow_over_paint": true,
"is_critical": false,
"layer_mask": null,
"tags": "…"
},
"layer_id": "",
"resource": {
"res_image": "…",
"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": "…"
}
]
}
}
]
},
"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"
},
"… 1 more items in the full response"
],
"type": 0
}
},
"message": "0",
"ttl": 1
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Bilibili Dynamic DetailAPI นี้ 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 ไปที่ https://api.sandbase.ai/v1/api/bilibili/web/dynamic-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: dynamic_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Bilibili Dynamic Detail ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bilibili API แยกต่างหาก