Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Bilibili App User Info

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
User ID (required)
SalidaEjemplo
Respuestaoutputs · 14.4 KB · 422 líneas
[
  {
    "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
        },

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Bilibili$0.001 por llamadaJSON
Bilibili$0.001 por llamadaJSON
Bilibili$0.001 por llamadaJSON
Bilibili$0.001 por llamadaJSON
Bilibili$0.001 por llamadaJSON
Bilibili$0.001 por llamadaJSON

Guías:Best Bilibili API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Bilibili App User Info?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/bilibili/app/user-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Bilibili App User Info?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Bilibili App User Info?

Requeridos: user_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Bilibili App User Info?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Bilibili?

No. Bilibili App User Info funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Bilibili por separado.