Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Weibo Post Comments (App)

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.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
Post ID or Video ID (required)
Pagination cursor, don't pass for first request, use returned max_id for subsequent requests
Comment sort type
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON

指南:Best Weibo API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Weibo Post Comments (App) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/app/status-comments。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Weibo Post Comments (App) API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Weibo Post Comments (App) API 接受哪些參數?

必要:status_id (string)。 選填:max_id (any) 和 sort_type (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Weibo Post Comments (App) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Weibo 開發者帳號或 API 金鑰嗎?

不需要。Weibo Post Comments (App) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。