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.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
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,

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

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

प्रश्न

FAQ

Weibo User Profile Details (App) API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/weibo/app/user-info-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Weibo User Profile Details (App) API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Weibo User Profile Details (App) API कौन-से parameters स्वीकार करती है?

आवश्यक: uid (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Weibo User Profile Details (App) API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Weibo developer account या API key चाहिए?

नहीं। Weibo User Profile Details (App) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Weibo API access के लिए आवेदन करने की आवश्यकता नहीं है।