Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Weibo User Profile Details (App)

Docs 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.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
User ID (required)
SortieExemple
Réponseoutputs · 26.0 KB · 887 lignes
[
  {
    "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,

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON

Guides :Best Weibo API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Weibo User Profile Details (App) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/weibo/app/user-info-detail avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Weibo User Profile Details (App) ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Weibo User Profile Details (App) accepte-t-elle ?

Obligatoire : uid (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Weibo User Profile Details (App) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Weibo ?

Non. Weibo User Profile Details (App) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Weibo séparément.