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

Weibo Post Comments (App)

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

Returns the first-level comments for a designated post or video on Weibo. Supports sorting options and cursor-based pagination for browsing discussion threads.

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
Post ID or Video ID (required)
Pagination cursor, don't pass for first request, use returned max_id for subsequent requests
Comment sort type
Đầ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 Post Comments (App) API

Returns the first-level comments under a Weibo post or video, along with a pagination cursor. It needs the post or video ID as status_id.

Use cases

  • Collect the top-level comments under a Weibo post to review how readers respond.
  • Page through a long comment thread with the returned max_id cursor.
  • Read the comment timestamps and floor numbers to see when a discussion was active.
  • Check the comment count and author tags in analysis_extra for a quick per-comment summary.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status_id": "5258708168476831"}'

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

Parameters

NameTypeRequiredDescription
status_idstringYesPost ID or Video ID (required)
max_idstringNoPagination cursor, don't pass for first request, use returned max_id for subsequent requests
sort_typestringNoComment sort type

Example response

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

{
  "config": "{}",
  "items": [
    {
      "category": "detail",
      "data": {
        "tip_biz_type": 0,
        "tip_icon": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon.png",
        "tip_icon_dark": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon_dark.png",
        "tip_msg": "查看我的铁粉关系 查看详情",
        "tip_scheme": "sinaweibo://cardlist?containerid=231093_-_bigfans&extparam=7480401147",
        "tip_state": 0,
        "tip_struct": [
          {
            "color": "#507DAF",
            "color_dark": "#6290C3",
            "title": "查看详情"
          }
        ],
        "tip_type": 3
      },
      "type": "comment_header_tip"
    }
  ],
  "loadedInfo": "{}",
  "moreInfo": {
    "error": "网络加载失败,请稍后尝试",
    "loading": "正在加载更多",
    "moreType": "default",
    "pagingType": "cursor",
    "params": {
      "count": 20,
      "lastAdInterval": 10,
      "max_id": 138889559850779,
      "max_id_type": 0,
      "recommend_max_id": 0,
      "recommend_page": 0
    }
  },
  "pageData": "{}"
}

Response fields

FieldMeaning
items[]List of cards on the page. The first card can be a header tip and the rest are comments. Check type to tell them apart.
items[].typeCard kind. comment marks a comment card and comment_header_tip marks a notice shown above the comments.
items[].data.created_atTime the comment was posted, as text such as Sun Jan 25 16:55:24 +0800 2026.
items[].data.floor_numberFloor number of the comment in the thread.
items[].data.analysis_extraPipe-separated text with author_uid, mid (the post ID), page, index and comment_count.
items[].data.comment_bubble.name / items[].data.comment_bubble.idName and ID of the bubble style attached to the comment, for example 金粉专属.
items[].data.disable_replyFlag for whether replies are turned off for this comment. 0 is the value in this response.
moreInfo.params.max_idCursor for the next page. Pass it as max_id in the next request.
moreInfo.params.countNumber of items per page, 20 in this response.
moreInfo.pagingTypePaging style. The value cursor means pages are fetched with a cursor.

Notes

  • A post with no comments returns a target not found error instead of an empty list, and the call is not charged. To skip those posts, check comments_count with Weibo Post Detail first.
  • Leave out max_id on the first call. For later pages, copy the value from moreInfo.params.max_id.
  • status_id is the numeric post or video ID, such as 5258708168476831. It also appears as mid inside analysis_extra.
  • The response mixes card types in items. Filter on type equal to comment to keep only comments.
  • To get the post itself, call Weibo Post Detail (App).

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 Post Comments (App)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/app/status-comments 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 Post Comments (App) 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 Post Comments (App) chấp nhận những tham số nào?

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

API Weibo Post Comments (App) 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 Post Comments (App) 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.