Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Weibo User Profile Details (App)

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
User ID (required)
Đầu raVí dụ
Phản hồioutputs · 26.0 KB · 887 dòng
[
  {
    "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,

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Weibo API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo User Profile Details (App)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/app/user-info-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Weibo User Profile Details (App) có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Weibo User Profile Details (App) chấp nhận những tham số nào?

Bắt buộc: uid (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Weibo User Profile Details (App) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Weibo không?

Không. Weibo User Profile Details (App) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.