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 はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/weibo/app/user-info-detail に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Weibo User Profile Details (App) API の料金はいくらですか?

1回あたり $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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Weibo の API アクセスを別途申請する必要はありません。