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.014286 每次调用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

问题

常见问题

如何使用 Weibo User Profile API?

向 https://api.sandbase.ai/v1/api/weibo/user-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Weibo User Profile 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。