Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Weibo User Profile

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

Cena
$0.014286USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Weibo User ID (UID).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Weibo$0.014286 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON

Przewodniki:Best Weibo API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Weibo User Profile?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/weibo/user-detail z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Weibo User Profile?

$0.014286 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Weibo User Profile?

Wymagane: uid (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Weibo User Profile?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Weibo lub klucza API?

Nie. Weibo User Profile działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Weibo.