Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Weibo User following

Tài liệu API
https://api.sandbase.ai/v1/api/weibo/app/user-following

Get user following on Weibo. Returns the platform data as structured JSON.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Weibo User following API

Returns the list of accounts a Weibo user follows. Each entry has the followed account's description, avatar URLs and follower count. The API needs the uid of the user whose following list you want.

Use cases

  • Map which brands, media accounts and creators a given Weibo user follows.
  • Build a list of accounts in one niche by reading the following lists of known accounts in that niche.
  • Check whether the followed accounts also follow the queried user, using the follow_me flag.
  • Rank followed accounts by audience size using followers_count.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/user-following" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "1856404484", "sort_type": 2}'

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

Parameters

NameTypeRequiredDescription
uidstringYes
since_idstringNo
sort_typeintegerNo

Example response

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

{
  "data": {
    "has_filtered_attentions": false,
    "since_id": "1793691972|20",
    "total_cnt": 1510,
    "uid": 1856404484,
    "users": [
      {
        "flag": 0,
        "itemid": "2310510024_1_ _0_7714083748_81e016ec",
        "user": {
          "avatar_hd": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.1024/008q3vzCly8ihevz7xuqjj30u00u0t9…",
          "avatar_large": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/008q3vzCly8ihevz7xuqjj30u00u0t92…",
          "descStruct": {
            "labelDesc": [
              {
                "followers_count_str": "69.4万",
                "name": "694402",
                "suffix": "粉丝"
              }
            ],
            "textDesc": "简介:智在随心 奔赴热爱 · 新豪华 阿维塔"
          },
          "description": "智在随心 奔赴热爱 · 新豪华 阿维塔",
          "follow_me": false,
          "followers_count": 694402,
          "followers_count_str": "69.4万",
          "following": false
        }
      }
    ]
  },
  "http_code": 200,
  "ok": 1
}

Response fields

FieldMeaning
data.total_cntTotal number of accounts the user follows.
data.uidThe numeric ID of the user whose following list was requested.
data.since_idCursor value for the next page. It looks like 1793691972/20.
data.has_filtered_attentionsBoolean flag on the list. It was false in this response.
data.users[].user.descriptionBio text of the followed account.
data.users[].user.followers_count / data.users[].user.followers_count_strFollower count of the followed account. The first is a number, the second is a short display string such as 69.4万.
data.users[].user.follow_meWhether the followed account follows back, as a boolean.
data.users[].user.followingBoolean relation flag for the followed account. It was false for every user in this response.
data.users[].user.avatar_hd / data.users[].user.avatar_largeImage URLs for the account avatar in two sizes. The URLs carry Expires and ssig query values.
data.users[].user.descStruct.labelDesc[]Label chips shown for the account, such as follower count text and topic tags like 科学科普博主.

Notes

  • Pass the numeric Weibo user ID as uid. You can find it in the response of Weibo User Profile Information.
  • For the next page, send the data.since_id value from the last response as since_id.
  • sort_type defaults to 2. The docs do not describe other values.
  • Read data.total_cnt to see how many accounts the user follows in total.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Weibo API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo User following?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/app/user-following với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Weibo User following có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Weibo User following chấp nhận những tham số nào?

Bắt buộc: uid (string). Tùy chọn: since_id (string) và sort_type (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Weibo User following trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Weibo không?

Không. Weibo User following chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.