Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Weibo User Profile Details (App)

API 文档
https://api.sandbase.ai/v1/api/weibo/app/user-info-detail

Returns comprehensive profile information for a Weibo user, including verification status, account level, and tags based on the specified user ID.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
User ID (required)
输出示例
响应outputs · 26.0 KB · 887 行
[
  {
    "data": {
      "flowConfig": {
        "background": "https://h5.sinaimg.cn/upload/100/1734/2023/02/14/information_bg.png",
        "backgroundDark": "https://h5.sinaimg.cn/upload/100/1734/2023/02/14/information_bg_dark.png",
        "titleRightActionlog": {
          "act_code": 7292,
          "cardid": "qrcode",
          "ext": "type:qrcode",
          "fid": "",
          "uicode": "10001487"
        },
        "titleRightIcon": "https://h5.sinaimg.cn/upload/100/1734/2023/02/16/icon_code.png",
        "titleRightIconDark": "https://h5.sinaimg.cn/upload/100/1734/2023/02/16/icon_code_dark.png",
        "titleRightScheme": "sinaweibo://wbaction_qrshare?uid=8431518763"
      },
      "items": [
        {
          "category": "group",
          "header": {
            "avatar": {
              "avatarUrl": "https://tvax1.sinaimg.cn/default/images/default_avatar_female_180.gif?KID=imgbed,tva&Expires=1791301288&ssig=oXAp8b78%2Fu",
              "badgeUrl": "",
              "itemId": "profileme_head_avatar",
              "mask_type": 0,
              "pendantUrl": "",
              "pendantUrl_v3": "",
              "style": {
                "height": 77,
                "margin": [
                  0,
                  90,
                  0,
                  "… 1 more items in the full response"
                ],
                "mask_type": 0,
                "pendantGifLoopCount": 1,
                "pendantGifScrollNotNeedRePlay": true,
                "pendantHeight": 89,
                "pendantHiddenInDark": true,
                "pendantOffsetX": 0,
                "pendantOffsetY": -5.5,
                "pendantStopAtLastFrame": true,
                "pendantWidth": 83,
                "radius": 5,
                "vIconWidth": 20,
                "width": 77
              },
              "type": "avatar"
            },
            "category": "cell",
            "itemId": "profileme_mine_head",
            "type": "avatarInfo"
          },
          "itemId": "profileme_mine",
          "items": [
            {
              "category": "userinfo",
              "itemId": "mainnums_statuses",
              "style": {
                "background": {
                  "color": "#ffffff",
                  "colorKey": "CommonCardBackground",
                  "corners": [
                    7,
                    7,
                    7,
                    "… 1 more items in the full response"
                  ],
                  "type": "color"
                },
                "grid": true,
                "height": 0,
                "margin": [
                  0,
                  0,
                  5,
                  "… 1 more items in the full response"
                ]
              },
              "type": "userInfoDetailRichText"
            },
            {
              "category": "userinfo",
              "itemId": "mainnums_video_status",
              "style": {
                "background": {
                  "color": "#ffffff",
                  "colorKey": "CommonCardBackground",
                  "corners": [
                    7,
                    7,
                    7,
                    "… 1 more items in the full response"
                  ],
                  "type": "color"
                },
                "grid": true,
                "height": 0,
                "margin": [
                  5,
                  0,
                  0,
                  "… 1 more items in the full response"
                ]
              },
              "type": "userInfoDetailRichText"
            }
          ],
          "style": {
            "column": 2,
            "padding": [
              10,
              0,
              10,
              "… 1 more items in the full response"
            ]
          },
          "type": "grid"
        },
        {
          "category": "group",
          "itemId": "",
          "items": [
            {
              "category": "userinfo",
              "itemId": "",
              "leftTextIconView": {
                "style": {
                  "margin": [
                    18,
                    0,
                    0,
                    "… 1 more items in the full response"
                  ]
                },
                "suffixIcon": {
                  "style": {
                    "height": 16,
                    "width": 20
                  }
                },
                "text": {
                  "content": "昵称",
                  "style": {
                    "margin": [
                      0,
                      0,
                      0,
                      "… 1 more items in the full response"
                    ],
                    "maxLines": 1,
                    "textColor": "#333333",
                    "textColorDark": "#D3D3D3",
                    "textSize": 16
                  },
                  "type": "text"
                },
                "type": "userInfoDetailTextIcon"
              },
              "rightTextIconView": {
                "style": {
                  "margin": [
                    20,
                    0,
                    32,
                    "… 1 more items in the full response"
                  ],
                  "padding": [
                    0,
                    10,
                    0,
                    "… 1 more items in the full response"
                  ]
                },
                "text": {
                  "content": "用户8431518763",
                  "style": {
                    "margin": [
                      0,
                      0,
                      0,
                      "… 1 more items in the full response"
                    ],
                    "textColor": "#939393",
                    "textColorDark": "#888888",
                    "textSize": 15
                  },
                  "type": "text"
                },
                "type": "userInfoDetailTextIcon"
              },
              "style": {
                "margin": [
                  0,
                  0,
                  0,
                  "… 1 more items in the full response"
                ]
              },
              "type": "userInfoDetailCommonItem"
            },
            {
              "category": "userinfo",
              "itemId": "",
              "leftTextIconView": {
                "style": {
                  "margin": [
                    18,
                    0,
                    0,
                    "… 1 more items in the full response"
                  ]
                },
                "text": {
                  "content": "简介",
                  "style": {
                    "margin": [
                      0,
                      0,
                      0,
                      "… 1 more items in the full response"
                    ],
                    "maxLines": 1,
                    "textColor": "#333333",
                    "textColorDark": "#D3D3D3",
                    "textSize": 16
                  },
                  "type": "text"
                },
                "type": "userInfoDetailTextIcon"
              },
              "rightTextIconView": {
                "style": {
                  "margin": [
                    20,
                    0,
                    32,
                    "… 1 more items in the full response"
                  ],
                  "padding": [
                    0,
                    10,
                    0,
                    "… 1 more items in the full response"
                  ]
                },
                "text": {
                  "content": "暂无简介",
                  "style": {
                    "margin": [
                      0,
                      0,
                      0,
                      "… 1 more items in the full response"
                    ],
                    "maxLines": 1,
                    "textColor": "#BEBEBE",
                    "textColorDark": "#585858",
                    "textSize": 15
                  },
                  "type": "text"
                },
                "type": "userInfoDetailTextIcon"
              },
              "style": {
                "margin": [
                  0,
                  0,
                  0,
                  "… 1 more items in the full response"
                ]
              },
              "type": "userInfoDetailCommonItem"
            }
          ],
          "style": {
            "background": {
              "color": "#FFFFFF",
              "colorKey": "CommonCardBackground",
              "corners": [
                7,
                7,
                7,
                "… 1 more items in the full response"
              ],
              "type": "color"
            },
            "divider": {
              "color": "#e5e5e5",
              "colorKey": "CommonLine",
              "hGap": 15,
              "padding": [
                15,
                0,
                15,
                "… 1 more items in the full response"
              ],
              "vGap": 0,

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Weibo User Profile Details (App) API

Returns a Weibo user's profile detail page for one user ID. The response has the account record (userInfo) and the app's display layout (items) for fields such as nickname, bio and gender. It needs one input, uid.

Use cases

  • Check the account creation time and credit score of a Weibo user before you trust the account.
  • Read follower, favourite and block counts for a user and store them in a creator database.
  • Check the verification fields (auth_status, auth_career, auth_realname) and the badge flags for an account.
  • Pull the nickname, bio and gender text shown on the app's detail page for a given user.

Request

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

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

Parameters

NameTypeRequiredDescription
uidstringYesUser ID (required)

Example response

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

{
  "flowConfig": {
    "background": "https://h5.sinaimg.cn/upload/100/1734/2023/02/14/information_bg.png",
    "backgroundDark": "https://h5.sinaimg.cn/upload/100/1734/2023/02/14/information_bg_dark.png",
    "titleRightActionlog": {
      "act_code": 7292,
      "cardid": "qrcode",
      "ext": "type:qrcode",
      "fid": "",
      "uicode": "10001487"
    },
    "titleRightIcon": "https://h5.sinaimg.cn/upload/100/1734/2023/02/16/icon_code.png",
    "titleRightIconDark": "https://h5.sinaimg.cn/upload/100/1734/2023/02/16/icon_code_dark.png",
    "titleRightScheme": "sinaweibo://wbaction_qrshare?uid=8431518763"
  },
  "items": [
    {
      "category": "group",
      "header": {
        "avatar": {
          "avatarUrl": "https://tvax1.sinaimg.cn/default/images/default_avatar_female_180.gif?KID=imgbed…",
          "badgeUrl": "",
          "itemId": "profileme_head_avatar",
          "mask_type": 0,
          "pendantUrl": "",
          "pendantUrl_v3": "",
          "style": {
            "height": 77,
            "margin": [
              0
            ],
            "mask_type": 0,
            "pendantGifLoopCount": 1,
            "pendantGifScrollNotNeedRePlay": true,
            "pendantHeight": 89,
            "pendantHiddenInDark": true,
            "pendantOffsetX": 0
          },
          "type": "avatar"
        },
        "category": "cell",
        "itemId": "profileme_mine_head",
        "type": "avatarInfo"
      },
      "itemId": "profileme_mine",
      "items": [
        {
          "category": "userinfo",
          "itemId": "mainnums_statuses",
          "style": {
            "background": {
              "color": "#ffffff",
              "colorKey": "CommonCardBackground",
              "corners": [
                7
              ],
              "type": "color"
            },
            "grid": true,
            "height": 0,
            "margin": [
              0
            ]
          },
          "type": "userInfoDetailRichText"
        }
      ],
      "style": {
        "column": 2,
        "padding": [
          10
        ]
      },
      "type": "grid"
    }
  ],
  "pageData": "{}",
  "userInfo": {
    "allow_all_act_msg": false,
    "allow_all_comment": true,
    "audio_ability": 0,
    "auth_career": null,
    "auth_career_name": null,
    "auth_realname": null,
    "auth_status": 1,
    "avatar_hd": "https://tvax1.sinaimg.cn/default/images/default_avatar_female_180.gif?KID=imgbed…",
    "avatar_large": "https://tvax1.sinaimg.cn/default/images/default_avatar_female_180.gif?KID=imgbed…",
    "avatar_type": 0,
    "badge": {
      "acg_2024": 0,
      "aizi_2020": 0,
      "anniversary": 0,
      "ant_2019": 0,
      "aoyun_2021": 0,
      "aoyun_2024": 0,
      "article_visible": 0,
      "asiad_2018": 0,
      "avengers_2019": 0,
      "baokemeng_2022": 0,
      "baokemeng_2023": 0,
      "baoshilong_1": 0
    },
    "badge_top": ""
  }
}

Response fields

FieldMeaning
userInfo.created_atAccount creation time as a text date, for example Thu Sep 04 14:17:15 +0800 2025.
userInfo.followers_count / userInfo.bi_followers_countNumber of followers, and the second count the API reports as bi_followers_count. The example account has 1 follower.
userInfo.favourites_countCount of favourites reported for the user.
userInfo.credit_scoreNumeric credit score of the account. The example value is 80.
userInfo.classAccount level value. The example value is 1.
userInfo.auth_status / userInfo.auth_career / userInfo.auth_realnameVerification-related fields. auth_career and auth_realname are null when the account has no such data.
userInfo.avatar_hd / userInfo.avatar_largeAvatar image URLs. The example account shows a default avatar.
userInfo.badgeObject of badge flags, one key per badge. A value of 0 means the user does not have that badge.
userInfo.description / userInfo.birthday / userInfo.constellationProfile text fields. They are empty strings when the user has not filled them in.
items[].items[].rightTextIconView.text.contentDisplay value of one profile row, such as nickname, bio or gender. The matching label is in leftTextIconView.text.content.

Notes

  • Pass the numeric user ID as a string in uid, for example 8431518763.
  • items and flowConfig hold layout and style data for the app screen. Use userInfo for structured values.
  • userInfo.city returned 1000 for the example user. The response does not show what this code maps to.
  • For another profile view, see Weibo User Profile Information. For the user's posts, see Weibo User Timeline.

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价格响应
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON

指南:Best Weibo API in 2026: Pricing Compared

问题

常见问题

如何使用 Weibo User Profile Details (App) API?

向 https://api.sandbase.ai/v1/api/weibo/app/user-info-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Weibo User Profile Details (App) API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Weibo User Profile Details (App) API 接受哪些参数?

必填:uid (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Weibo User Profile Details (App) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Weibo 开发者账户或 API key 吗?

不需要。Weibo User Profile Details (App) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。