Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Weibo User Profile

API 文件
https://api.sandbase.ai/v1/api/weibo/user-detail

Get a Weibo user profile identified by UID. Use it to look up a known account for creator research, profile review, or subsequent retrieval of that user's posts and videos.

價格
$0.014286美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Weibo User ID (UID).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Weibo User Profile API

Returns the public profile of one Weibo account, including name, bio, follower and post counts, verification status and avatar URLs. It needs the numeric Weibo user ID in uid.

Use cases

  • Check follower count and verification status of a known account before a creator partnership.
  • Pull the bio, location and verification reason of an account for profile review.
  • Track changes in followers_count and statuses_count for an account over time.
  • Confirm a UID maps to the expected screen_name before fetching that user's posts or videos.

Request

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

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

Parameters

NameTypeRequiredDescription
uidstringYesWeibo User ID (UID).

Example response

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

{
  "data": {
    "blockText": "",
    "tabList": [
      {
        "name": "home",
        "tabName": "精选"
      }
    ],
    "user": {
      "avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.1018.1018.1024/0033ImPzly8h8vgemh8kxj60sa0sadg…",
      "avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.1018.1018.180/0033ImPzly8h8vgemh8kxj60sa0sadgw…",
      "cover_image_phone": "https://wx1.sinaimg.cn/crop.0.0.640.640.640/0033ImPzly1gs64jwa7uyj60v90v9n1r02.j…",
      "description": "人民日报法人微博。参与、沟通、记录时代。",
      "domain": "rmrb",
      "follow_me": false,
      "followers_count": 158132190,
      "followers_count_str": "1.58亿",
      "following": false,
      "friends_count": 3096,
      "gender": "m",
      "icon_list": [
        {
          "data": {
            "mbrank": 4,
            "mbtype": 12,
            "svip": 1,
            "vvip": 1
          },
          "type": "vip"
        }
      ]
    }
  },
  "ok": 1
}

Response fields

FieldMeaning
data.user.screen_nameDisplay name of the account.
data.user.idstr / data.user.idThe user ID as a string and as a number. The string matches the uid you sent.
data.user.descriptionBio text written by the account owner.
data.user.followers_count / data.user.followers_count_strFollower count as a number, and the same count in a short display form such as 1.58亿.
data.user.friends_count / data.user.statuses_countNumber of accounts this user follows, and number of posts the user has published.
data.user.verified / data.user.verified_reasonWhether the account is verified, and the verification text shown on the profile.
data.user.location / data.user.genderLocation text from the profile, and gender code (m in this response).
data.user.status_total_counterTotals across the user's posts: comment_cnt, like_cnt, repost_cnt and total_cnt. Values are formatted strings, and total_cnt_format gives a short form.
data.user.avatar_hd / data.user.avatar_large / data.user.profile_image_urlAvatar image URLs in different sizes. Each URL carries an Expires parameter.
data.user.domain / data.user.profile_urlThe custom domain name of the account and the relative profile path, such as /u/2803301701.

Notes

  • Pass the numeric Weibo user ID as uid, as a string. The same ID appears in data.user.idstr and in data.user.profile_url.
  • data.tabList[] lists the profile tabs (home, feed, newVideo) shown for the account.
  • To read this user's posts, call Weibo User Published Posts. For videos, call Weibo User Video List.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Weibo每次呼叫 $0.014286JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON

指南:Best Weibo API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Weibo User Profile API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/user-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Weibo User Profile API 的費用是多少?

每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Weibo User Profile API 接受哪些參數?

必要:uid (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Weibo User Profile API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Weibo 開發者帳號或 API 金鑰嗎?

不需要。Weibo User Profile 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。