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 Published Posts

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

Get posts published by a Weibo user identified by UID, using page numbers and a required sinceId cursor after the first page. Use it to browse an account's posting history or continue through its post feed.

Giá
$0.014286USD / 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
Weibo User ID (UID).
Page number, starting with 1.
Pagination cursor (since_id). Required if page > 1.
Đầ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 Published Posts API

This API returns a page of posts published by one Weibo account. It needs the account's uid. For later pages it also needs the sinceId cursor.

Use cases

  • Archive an account's posting history with text, counts and image links.
  • Track like, comment and repost counts on a brand or celebrity account.
  • Download the images attached to each post using the pic_infos URLs.
  • Check which post an account has pinned to the top of its feed.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/user-post" \
  -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).
pageintegerNoPage number, starting with 1.
sinceIdstringNoPagination cursor (since_id). Required if page > 1.

Example response

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

{
  "data": {
    "bottom_tips_text": "",
    "bottom_tips_visible": false,
    "list": [
      {
        "analysis_extra": "follow:0",
        "annotations": [
          {
            "photo_sub_type": "0,0,0,0,0,0,0,0,0"
          }
        ],
        "attitudes_count": 1103,
        "attitudes_status": 0,
        "can_edit": false,
        "cardid": "star_1624",
        "comment_manage_info": {
          "approval_comment_type": 0,
          "comment_anon_type": 0,
          "comment_permission_type": -1,
          "comment_sort_type": 0
        },
        "comments_count": 567,
        "content_auth": 3,
        "content_auth_list": [
          {
            "content_auth": 3,
            "rank": 90,
            "show_type": 0
          }
        ],
        "created_at": "Tue Nov 03 07:44:51 +0800 2026",
        "favorited": false
      }
    ],
    "since_id": "5360945434198751kp2",
    "status_visible": 0,
    "topicList": [],
    "total": 154903
  },
  "ok": 1
}

Response fields

FieldMeaning
data.list[]One post published by the user. Each item holds the post text, counts, images and flags.
data.list[].id / idstr / midNumeric and string forms of the post ID. idstr and mid hold the same value as id in the sample.
data.list[].mblogidShort post ID string, for example RpCOks7zT.
data.list[].created_atPublish time as text in the form Tue Nov 03 07:44:51 +0800 2026.
data.list[].attitudes_count / comments_countNumber of likes and number of comments on the post.
data.list[].number_display_strategy.display_textShortened display form of a large count, for example 100万+.
data.list[].isTopPinned flag. The value 1 appears on a post pinned at the top of the feed.
data.list[].pic_ids[]IDs of the images attached to the post. Use them as keys into pic_infos.
data.list[].pic_infosImage details keyed by picture ID. Each has several sizes such as bmiddle, large and original, each with url, width and height.
data.list[].isAdBoolean flag that marks whether the post is an ad.

Notes

  • Get the uid from a Weibo profile, or from Weibo User Profile.
  • The first call needs only uid. page starts at 1.
  • For page above 1, send the sinceId cursor with the request. The README says it is required for those pages.
  • For one post in full, call Weibo Post Detail.

Pricing

$0.014286 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.014286 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 Published Posts?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/user-post 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 Published Posts có giá bao nhiêu?

$0.014286 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 Published Posts chấp nhận những tham số nào?

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

API Weibo User Published Posts 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 Published Posts 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.