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

Bilibili App User Info

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

Returns account profile details and uploaded video archives for a specified Bilibili creator using their unique user identifier.

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

Playground

อินพุต
User ID (required)
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 14.4 KB · 422 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "ad_container_path": "bilibili://mall/smallshop?msource=cps_productTab_203680252&from=cps_productTab_203680252&upmid=203680252",
        "ad_shop_type": 2,
        "ad_source_content_v2": {
          "ad_content": {
            "extra": {
              "card": "…",
              "sales_type": 12,
              "upzone_entrance_report_id": "203680252",
              "upzone_entrance_type": 1
            }
          }
        },
        "archive": {
          "count": 1926,
          "episodic_button": {
            "text": "播放全部",
            "uri": "bilibili://music/playlist/spacepage/203680252?desc=1&offset=0&oid=0&order=time&page_type=1&playlist_intro=UP%E4%B8%BB%E7%9A%84%E5%85%A8%E9%83%A8%E8%A7%86%E9%A2%91&ps=20&sort_field=1&total_count=1926&u…"
          },
          "item": [
            {
              "author": "AYCS2",
              "bvid": "BV13y8j6GEu3",
              "cover": "http://i0.hdslb.com/bfs/archive/effaff314233717ffdc26b6224ee46d4f5d1110f.jpg",
              "cover_icon": "",
              "cover_left_icon": "",
              "cover_left_text": "",
              "ctime": 1787105392,
              "danmaku": 91,
              "duration": 108,
              "first_cid": 41048148639,
              "goto": "av",
              "icon_type": 0,
              "is_cooperation": false,
              "is_fold": false,
              "is_live_playback": false,
              "is_oneself": false,
              "is_pgc": false,
              "is_popular": false,
              "is_pugv": false,
              "is_steins": false,
              "is_ugcpay": false,
              "length": "",
              "param": "117119731635242",
              "play": 232656,
              "publish_time_text": "昨天 10:09",
              "…": "13 more fields in the full response"
            },
            "… 9 more items in the full response"
          ],
          "order": [
            {
              "title": "最新发布",
              "value": "pubdate"
            },
            "… 1 more items in the full response"
          ]
        },
        "article": {
          "count": 2,
          "item": [
            {
              "act_id": 0,
              "apply_time": "",
              "attributes": 148,
              "authenMark": null,
              "author": "…",
              "banner_url": "",
              "categories": "… 2 items in the full response",
              "category": "…",
              "check_state": 0,
              "check_time": "",
              "cover_avid": 0,
              "ctime": 1787107105,
              "dispute": null,
              "goto": "article",
              "id": 52470589,
              "image_urls": "… 1 items in the full response",
              "is_like": false,
              "list": null,
              "media": "…",
              "mtime": 1787107791,
              "origin_image_urls": "… 1 items in the full response",
              "origin_template_id": 4,
              "original": 0,
              "param": "52470589",
              "publish_time": 1787107105,
              "…": "11 more fields in the full response"
            },
            "… 1 more items in the full response"
          ],
          "lists": [],
          "lists_count": 0
        },
        "audios": {
          "count": 0,
          "item": []
        },
        "card": {
          "DisplayRank": "",
          "achieve": {
            "achieve_url": "https://www.bilibili.com/h5/achieve?navhide=1&mid=203680252",
            "image": "https://i1.hdslb.com/bfs/face/0497be49e08357bf05bca56e33a0637a273a7610.png",
            "is_default": false
          },
          "approve": false,
          "article": 0,
          "attention": 288,
          "attentions": null,
          "avatar": {
            "container_size": {
              "height": 1.5,
              "width": 1.5
            },
            "fallback_layers": {
              "is_critical_group": true,
              "layers": "… 4 items in the full response"
            },
            "mid": "203680252"
          },
          "birthday": "",
          "control": 0,
          "description": "",
          "digital_id": "",
          "digital_type": -2,
          "end_time": 0,
          "face": "https://i1.hdslb.com/bfs/face/cf421068a26ce754e95a46e7cee101b5b04dbb02.jpg",
          "face_nft_new": 0,
          "fans": 1182431,
          "friend": 0,
          "handle": "",
          "has_digital_asset": false,
          "has_face_nft": false,
          "honours": {
            "colour": {
              "dark": "#CE8620",
              "normal": "#F0900B"
            },
            "tags": []
          },
          "is_deleted": 0,
          "level_info": {
            "current_exp": 0,
            "current_level": 6,
            "current_min": 0,
            "identity": 1,
            "next_exp": null,
            "senior_inquiry": {
              "inquiry_text": "",
              "inquiry_url": ""
            }
          },
          "likes": {
            "like_num": 27316497,
            "skr_tip": "视频、专栏、动态累计获赞"
          },
          "mid": "203680252",
          "…": "20 more fields in the full response"
        },
        "cheese": {
          "count": 0,
          "item": []
        },
        "coin_archive": {
          "count": 3,
          "item": [
            {
              "author": "沉默寡言小佰佰",
              "cover": "http://i2.hdslb.com/bfs/archive/a4d1f006beb5d3ef4c6ad2e38b3180634dc32846.jpg",
              "cover_icon": "",
              "cover_left_icon": "",
              "cover_left_text": "",
              "ctime": 1787067834,
              "danmaku": 684,
              "duration": 635,
              "goto": "av",
              "icon_type": 0,
              "is_cooperation": false,
              "is_fold": false,
              "is_live_playback": false,
              "is_oneself": false,
              "is_pgc": false,
              "is_popular": false,
              "is_pugv": false,
              "is_steins": false,
              "is_ugcpay": false,
              "length": "",
              "param": "117117248609148",
              "play": 19471,
              "publish_time_text": "",
              "state": true,
              "sub_title_icon": "",
              "…": "10 more fields in the full response"
            },
            "… 2 more items in the full response"
          ]
        },
        "comic": {
          "count": 0,
          "item": []
        },
        "default_tab": "video",
        "digital_button": null,
        "elec": {
          "count": 928,
          "elec_num": 0,
          "elec_set": {
            "battery_item_desc": "",
            "elec_list": [
              "…",
              "… 4 more items in the full response"
            ],
            "elec_theme": 0,
            "integrity_rate": 1,
            "rmb_rate": 1,
            "round_mode": 0
          },
          "list": [
            {
              "avatar": "https://i2.hdslb.com/bfs/face/b70d1d5788a5bc78738245096fb299f6cf665eeb.jpg",
              "message": "",
              "mid": 203680252,
              "pay_mid": 662067074,
              "rank": 1,
              "trend_type": 0,
              "uname": "XxQoJiJiKingoQxX",
              "vip_info": null
            },
            "… 11 more items in the full response"
          ],
          "rank_title": "人为TA充电",
          "rank_url": "https://www.bilibili.com/h5/upower/charge-rank-list?mid=203680252&navhide=1&source=1",
          "show": true,
          "state": 2,
          "total": 928,
          "upower_button_map": {
            "0": {
              "icon": "…",
              "jump_show_type": 2,
              "jump_url": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_hd": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=203680252&prePage=space",
              "title": "充电"
            },
            "1": {
              "icon": "…",
              "jump_show_type": 2,
              "jump_url": "https://www.bilibili.com/h5/upower/detail?mid=203680252&navhide=1&prePage=space",
              "jump_url_hd": "https://www.bilibili.com/h5/upower/detail?mid=203680252&navhide=1&prePage=space",
              "jump_url_web": "https://member.bilibili.com/mall/upower-pay/detail?mid=203680252&prePage=space",
              "title": "充电中"
            },
            "2": {
              "icon": "…",
              "jump_show_type": 2,
              "jump_url": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_hd": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=203680252&prePage=space",
              "title": "充电"
            },
            "-1": {
              "icon": "…",
              "jump_show_type": 2,
              "jump_url": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_hd": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
              "jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=203680252&prePage=space",
              "title": "充电"
            }
          },
          "upower_icon_url": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png",
          "upower_jump_url": "https://www.bilibili.com/h5/upower/index?mid=203680252&navhide=1&prePage=space",
          "upower_state": -1,
          "upower_title": "充电"
        },
        "entry": null,
        "fans_dress": {
          "count": 18,
          "item": [
            {
              "detail_jump_url": "https://www.bilibili.com/h5/mall/equity-link/home?navhide=1&item_id=233148601&part=skin&vmid=203680252",
              "fan_bg_color": "#BE82FD",
              "fans_number": "NO.000062",
              "garb_id": 233148601,
              "garb_title": "小笨猪-猪泥幸福",
              "garb_type": 1,
              "image": "https://i0.hdslb.com/bfs/garb/c8ee9e24d27d4cbc1a69892281ef78f7cfca0724.jpg",
              "image_id": 0,
              "suit_bg_color": "#FFDFDF",
              "title_bg_image": "",
              "title_color": "#FFDFDF"
            },
            "… 3 more items in the full response"
          ],
          "more_url": "bilibili://garb/collection-hall/203680252?f_source=garb&from=asset.more",
          "total": 7540
        },

ตัวอย่าง

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

API README

Bilibili App User Info API

Returns the profile card and the uploaded video list for one Bilibili creator. It needs the creator's numeric user_id.

Use cases

  • Pull a creator's profile card, follow count and badges into a talent database.
  • List a creator's latest uploads with their bvid and publish time to track posting activity.
  • Check the total number of uploaded videos and articles for a creator before a deeper crawl.
  • Collect cover images and author names of recent videos for a creator dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "203680252"}'

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

Parameters

NameTypeRequiredDescription
user_idstringYesUser ID (required)

Example response

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

{
  "code": 0,
  "data": {
    "ad_container_path": "bilibili://mall/smallshop?msource=cps_productTab_203680252&from=cps_productTab_2…",
    "ad_shop_type": 2,
    "ad_source_content_v2": {
      "ad_content": {
        "extra": {
          "card": {
            "button": {
              "jump_url": "bilibili://mall/web?url=https%3A%2F%2Fmall.bilibili.com%2Fneul-next%2Fdetailshop…",
              "text": "",
              "type": 1
            },
            "card_type": 33,
            "covers": [
              {
                "url": "https://i0.hdslb.com/bfs/kfptfe/floor/6a4b179b4e8a6069468f9b32e4d4ebcaf6a7b628.p…"
              }
            ],
            "jump_url": "bilibili://mall/web?url=https%3A%2F%2Fmall.bilibili.com%2Fneul-next%2Fdetailshop…",
            "title": "小店"
          },
          "sales_type": 12,
          "upzone_entrance_report_id": "203680252",
          "upzone_entrance_type": 1
        }
      }
    },
    "archive": {
      "count": 1967,
      "episodic_button": {
        "text": "播放全部",
        "uri": "bilibili://music/playlist/spacepage/203680252?desc=1&offset=0&oid=0&order=time&p…"
      },
      "item": [
        {
          "author": "AYCS2",
          "bvid": "BV1oY4u6REdF",
          "cover": "http://i0.hdslb.com/bfs/archive/c80f8c142e993379aa9ac7cd7520cfc219d1f0e3.jpg",
          "cover_icon": "",
          "cover_left_icon": "",
          "cover_left_text": "",
          "ctime": 1793671323,
          "danmaku": 60
        }
      ],
      "order": [
        {
          "title": "最新发布",
          "value": "pubdate"
        }
      ]
    },
    "article": {
      "count": 1,
      "item": [
        {
          "act_id": 0,
          "apply_time": "",
          "attributes": 148,
          "authenMark": null,
          "author": {
            "face": "https://i1.hdslb.com/bfs/face/cf421068a26ce754e95a46e7cee101b5b04dbb02.jpg",
            "mid": 203680252,
            "name": "AYCS2",
            "nameplate": {
              "condition": "所有自制视频总播放数>=100万,数据次日更新",
              "image": "https://i0.hdslb.com/bfs/face/27a952195555e64508310e366b3e38bd4cd143fc.png",
              "image_small": "https://i1.hdslb.com/bfs/face/0497be49e08357bf05bca56e33a0637a273a7610.png",
              "level": "稀有勋章",
              "name": "知名偶像",
              "nid": 8
            },
            "official_verify": {
              "desc": "bilibili 知名游戏UP主",
              "type": 0
            },
            "pendant": {
              "expire": 0,
              "image": "",
              "name": "",
              "pid": 0
            },
            "vip": {
              "avatar_subscript": 1,
              "due_date": 0,
              "label": {
                "label_theme": "annual_vip",
                "path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
                "text": "年度大会员"
              },
              "nickname_color": "#FB7299",
              "status": 1,
              "theme_type": 0,
              "type": 2,
              "vip_pay_type": 0
            }
          },
          "banner_url": "",
          "categories": [
            {
              "id": 3,
              "name": "生活",
              "parent_id": 0
            }
          ],
          "category": {
            "id": 15,
            "name": "日常",
            "parent_id": 3
          }
        }
      ],
      "lists": [],
      "lists_count": 0
    },
    "audios": {
      "count": 0,
      "item": []
    },
    "card": {
      "DisplayRank": "",
      "achieve": {
        "achieve_url": "https://www.bilibili.com/h5/achieve?navhide=1&mid=203680252",
        "image": "https://i1.hdslb.com/bfs/face/0497be49e08357bf05bca56e33a0637a273a7610.png",
        "is_default": false
      },
      "approve": false,
      "article": 0,
      "attention": 307,
      "attentions": null,
      "avatar": {
        "container_size": {
          "height": 1.5,
          "width": 1.5
        },
        "fallback_layers": {
          "is_critical_group": true,
          "layers": [
            {
              "general_spec": {
                "pos_spec": {
                  "axis_x": 0.75,
                  "axis_y": 0.75,
                  "coordinate_pos": 2
                },
                "render_spec": {
                  "opacity": 1
                },
                "size_spec": {
                  "height": 1.05,
                  "width": 1.05
                }
              },
              "layer_config": {
                "is_critical": true,
                "tags": {
                  "AVATAR_LAYER": {}
                }
              },
              "resource": {
                "res_native_draw": {
                  "draw_src": {
                    "draw": {
                      "color_config": {
                        "day": {
                          "argb": "#FFFFFFFF"
                        },
                        "is_dark_mode_aware": true,
                        "night": {
                          "argb": "#FF17181A"
                        }
                      },
                      "draw_type": 1,
                      "fill_mode": 1
                    },
                    "src_type": 3
                  }
                },
                "res_type": 5
              },
              "visible": true
            }
          ]
        },
        "layers": [
          {
            "is_critical_group": true,
            "layers": [
              {
                "general_spec": {
                  "pos_spec": {
                    "axis_x": 0.75,
                    "axis_y": 0.75,
                    "coordinate_pos": 2
                  },
                  "render_spec": {
                    "opacity": 1
                  },
                  "size_spec": {
                    "height": 1.05,
                    "width": 1.05
                  }
                },
                "layer_config": {
                  "is_critical": true,
                  "tags": {
                    "AVATAR_LAYER": {}
                  }
                },
                "resource": {
                  "res_native_draw": {
                    "draw_src": {
                      "draw": {
                        "color_config": {
                          "day": {
                            "argb": "#FFFFFFFF"
                          },
                          "is_dark_mode_aware": true,
                          "night": {
                            "argb": "#FF17181A"
                          }
                        },
                        "draw_type": 1,
                        "fill_mode": 1
                      },
                      "src_type": 3
                    }
                  },
                  "res_type": 5
                },
                "visible": true
              }
            ]
          }
        ],
        "mid": "203680252"
      },
      "birthday": "",
      "control": 0,
      "description": "",
      "digital_id": "",
      "digital_type": -2
    },
    "cheese": {
      "count": 0,
      "item": []
    },
    "coin_archive": {
      "count": 12,
      "item": [
        {
          "author": "BML制作指挥部 等联合创作",
          "cover": "http://i2.hdslb.com/bfs/archive/765d98a7cb2679a819b69050677cbb995081bc64.jpg",
          "cover_icon": "",
          "cover_left_icon": "",
          "cover_left_text": "",
          "ctime": 1783857977,
          "danmaku": 902,
          "duration": 250
        }
      ]
    },
    "comic": {
      "count": 0,
      "item": []
    },
    "default_tab": "video",
    "digital_button": null
  },
  "message": "OK",
  "ttl": 1
}

Response fields

FieldMeaning
data.archive.countTotal number of uploaded video archives for this creator.
data.archive.item[].bvidThe BV ID of the video. Use it to identify the video in other Bilibili APIs.
data.archive.item[].author / data.archive.item[].coverThe creator name shown on the video and the URL of its cover image.
data.archive.item[].ctimeTimestamp of the video. The value looks like a Unix time in seconds.
data.archive.item[].danmakuDanmaku (on-screen comment) count shown for the video.
data.archive.order[].title / data.archive.order[].valueSort options for the video list. The value entries are pubdate and click.
data.article.countNumber of articles the creator has published.
data.article.item[].author.name / data.article.item[].author.midDisplay name and numeric user ID of the article author.
data.article.item[].author.official_verify.descVerification text on the account, such as the official creator title.
data.card.attentionCount shown in the profile card's attention field, which is the number of accounts this user follows.

Notes

Pricing

$0.001 per successful call. Failed calls 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 App User Info API ได้อย่างไร?

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

Bilibili App User Info API ราคาเท่าไร?

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

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

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

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

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

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

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