Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Bilibili User Dynamics

เอกสาร API
https://api.sandbase.ai/v1/api/bilibili/web/user-dynamic

Retrieves dynamic feed posts and timeline updates for a specified Bilibili user by UID, with optional offset-based pagination.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
User UID
offset
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 30.4 KB · 823 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "has_more": false,
        "items": [
          {
            "basic": {
              "aigc": false,
              "comment_id_str": "112873720252518",
              "comment_type": 1,
              "editable": false,
              "in_audit": false,
              "is_only_fans": false,
              "jump_url": "",
              "like_icon": {
                "action_url": "",
                "end_url": "",
                "id": "0",
                "start_url": ""
              },
              "open_app_extra": "",
              "rid_str": "112873720252518"
            },
            "id_str": "959831448727060483",
            "modules": {
              "module_author": {
                "avatar": {
                  "container_size": {
                    "height": 1.35,
                    "width": 1.35
                  },
                  "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
                      }
                    ]
                  },
                  "layers": [],
                  "mid": "178360345"
                },
                "decorate": null,
                "decorate_card": {
                  "big_card_url": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "card_type": "2",
                  "card_type_name": "免费",
                  "card_url": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "expire_time": "0",
                  "fan": {
                    "color": "",
                    "color_format": null,
                    "is_fan": "0",
                    "name": "",
                    "num_desc": "",
                    "num_prefix": "",
                    "number": "0"
                  },
                  "id": "47665",
                  "image_enhance": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "image_group": null,
                  "item_id": "47665",
                  "jump_url": "https://www.bilibili.com/h5/mall/equity-link/collect-home?item_id=47665&isdiy=0&part=card&from=post&f_source=garb&vmid=178360345&native.theme=1&navhide=1",
                  "name": "蜡笔小新"
                },
                "decoration_card": {
                  "big_card_url": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "card_type": "2",
                  "card_type_name": "免费",
                  "card_url": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "expire_time": "0",
                  "fan": {
                    "color": "",
                    "color_format": null,
                    "is_fan": "0",
                    "name": "",
                    "num_desc": "",
                    "num_prefix": "",
                    "number": "0"
                  },
                  "id": "47665",
                  "image_enhance": "https://i0.hdslb.com/bfs/garb/item/dc93ac108264d76c3377563f1d8b48e1427fd5b6.png",
                  "image_group": null,
                  "item_id": "47665",
                  "jump_url": "https://www.bilibili.com/h5/mall/equity-link/collect-home?item_id=47665&isdiy=0&part=card&from=post&f_source=garb&vmid=178360345&native.theme=1&navhide=1",
                  "name": "蜡笔小新"
                },
                "face": "https://i1.hdslb.com/bfs/face/f31765ab779958c5e90ce4b6ff84d468f5342090.jpg",
                "face_nft": false,
                "following": 2,
                "icon_badge": null,
                "is_top": false,
                "jump_url": "//space.bilibili.com/178360345/dynamic",
                "label": "",
                "mid": 178360345,
                "more": null,
                "name": "Azulsolitan",
                "name_render": null,
                "nft_info": null,
                "official": null,
                "official_verify": {
                  "desc": "",
                  "type": -1
                },
                "pendant": {
                  "expire": "0",
                  "image": "",
                  "image_enhance": "",
                  "image_enhance_frame": "",
                  "n_pid": "0",
                  "name": "",
                  "pid": 0
                },
                "pub_action": "投稿了视频",
                "pub_location_text": "",
                "pub_time": "2024年07月30日",
                "pub_ts": "1722316574",
                "type": "AUTHOR_TYPE_NORMAL",
                "views_text": "",
                "vip": {
                  "avatar_icon": {
                    "icon_resource": {
                      "type": 0,
                      "url": ""
                    },
                    "icon_type": 0
                  },
                  "avatar_subscript": 0,
                  "avatar_subscript_url": "",
                  "due_date": "1568044800000",
                  "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",
                    "label_theme": "",
                    "path": "",
                    "text": "",
                    "text_color": "",
                    "use_img_label": true
                  },
                  "nickname_color": "",
                  "role": "0",
                  "status": 0,
                  "theme_type": 0,
                  "tv_due_date": "0",
                  "tv_vip_pay_type": 0,
                  "tv_vip_status": 0,
                  "type": 1,
                  "vip_pay_type": 0
                }
              },
              "module_dispute": null,
              "module_dynamic": {
                "additional": null,
                "desc": null,
                "major": {
                  "archive": {
                    "aid": "112873720252518",
                    "badge": {
                      "bg_color": "#FB7299",
                      "color": "#FFFFFF",
                      "icon_url": "",
                      "text": "投稿视频"
                    },
                    "bvid": "BV1d4vzenECe",
                    "cover": "http://i1.hdslb.com/bfs/archive/abda1865c5379d60092a1a5f3f4bca60f865d09c.jpg",
                    "desc": "",
                    "disable_preview": 0,
                    "duration_text": "01:51",
                    "enable_vt": 0,
                    "jump_url": "//www.bilibili.com/video/BV1d4vzenECe",
                    "premiere_online": "",
                    "stat": {
                      "danmaku": "3",
                      "play": "340",
                      "vt": ""
                    },
                    "stat_hidden": 0,
                    "title": "新手:太刀侠怎么打黄金吗喽?老手:↑ ↓ ↑ → ← → ← →",
                    "type": 1
                  },
                  "article": null,
                  "blocked": null,
                  "common": null,
                  "courses": null,
                  "draw": null,
                  "live": null,
                  "live_rcmd": null,
                  "medialist": null,
                  "music": null,
                  "none": null,
                  "opus": null,
                  "pgc": null,
                  "subscription": null,
                  "subscription_new": null,
                  "type": "MAJOR_TYPE_ARCHIVE",
                  "ugc_season": null,
                  "upower_common": null
                },
                "topic": null
              },
              "module_extend": null,
              "module_fold": null,
              "module_interaction": null,
              "module_more": {
                "rcmd_text": "",
                "three_point_items": [
                  {
                    "jump_url": "",
                    "label": "举报",
                    "modal": null,
                    "params": {},
                    "type": "THREE_POINT_REPORT"
                  }
                ]
              },
              "module_share_info": null,
              "module_stat": {
                "coin": null,
                "comment": {
                  "count": 3,
                  "disabled": false,
                  "forbidden": false,
                  "hidden": false,
                  "silent": false,
                  "status": false
                },
                "favorite": null,
                "forward": {
                  "count": 0,
                  "disabled": false,
                  "forbidden": false,
                  "hidden": false,
                  "silent": false,
                  "status": false
                },
                "like": {
                  "count": 8,
                  "disabled": false,
                  "forbidden": false,
                  "hidden": false,
                  "silent": false,
                  "status": false
                }
              },
              "module_tag": null
            },
            "orig": null,
            "type": "DYNAMIC_TYPE_AV",
            "visible": true
          },
          {
            "basic": {
              "aigc": false,
              "comment_id_str": "112659609422497",
              "comment_type": 1,
              "editable": false,
              "in_audit": false,
              "is_only_fans": false,
              "jump_url": "",
              "like_icon": {
                "action_url": "",
                "end_url": "",
                "id": "0",
                "start_url": ""
              },
              "open_app_extra": "",
              "rid_str": "112659609422497"
            },
            "id_str": "945801916603957254",
            "modules": {
              "module_author": {
                "avatar": {
                  "container_size": {
                    "height": 1.35,
                    "width": 1.35

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Bilibili User Dynamics API

List a Bilibili user's dynamics (动态) feed: video uploads, text and image posts, reposts and articles, newest first, with author, publish time and like, comment and forward counts.

Use cases

  • Monitor a creator's new uploads and posts.
  • Collect a user's activity for analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/user-dynamic" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "178360345"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
uidstringYesUser UID
offsetstringNooffset

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "has_more": false,
    "offset": "",
    "items": [
      {
        "id_str": "1252966819274162197",
        "type": "DYNAMIC_TYPE_AV",
        "modules": {
          "module_author": {
            "name": "Azulsolitan",
            "mid": 178360345,
            "pub_ts": "1790567471"
          },
          "module_dynamic": {
            "major": {
              "archive": {
                "bvid": "BV1RMaq65EAH",
                "title": "ATM10sky通关纪念",
                "duration_text": "06:50",
                "jump_url": "//www.bilibili.com/video/BV1RMaq65EAH",
                "stat": {
                  "danmaku": "0",
                  "play": "36",
                  "vt": ""
                }
              }
            }
          },
          "module_stat": {
            "comment": {
              "count": 0
            },
            "forward": {
              "count": 0
            },
            "like": {
              "count": 0
            }
          }
        }
      }
    ]
  }
}

Response fields

FieldMeaning
data.items[].typeKind of dynamic, e.g. DYNAMIC_TYPE_AV (video), DYNAMIC_TYPE_DRAW (images), DYNAMIC_TYPE_FORWARD (repost).
items[].modules.module_authorAuthor name, mid and pub_ts (Unix seconds).
items[].modules.module_dynamic.majorThe content; for videos archive with bvid, title, duration_text, play and danmaku counts.
items[].modules.module_statComment, forward and like counts.
data.has_more / offsetPass offset back to get the next page.

Pricing

$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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
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

คู่มือ:Best Bilibili API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Bilibili User Dynamics API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bilibili/web/user-dynamic โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Bilibili User Dynamics API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Bilibili User Dynamics API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: uid (string). ตัวเลือก: offset (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Bilibili User Dynamics API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Bilibili ไหม?

ไม่จำเป็น Bilibili User Dynamics ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bilibili API แยกต่างหาก