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.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 2 件

プレイグラウンド

入力
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.001 / 回JSON
Weibo$0.001 / 回JSON
Weibo$0.001 / 回JSON
Weibo$0.001 / 回JSON
Weibo$0.001 / 回JSON
Weibo$0.001 / 回JSON

ガイド:Best Weibo API in 2026: Pricing Compared

質問

FAQ

Weibo Post Comments (App) API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/weibo/app/status-comments に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Weibo Post Comments (App) API の料金はいくらですか?

1回あたり $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 key は必要ですか?

いいえ。Weibo Post Comments (App) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Weibo の API アクセスを別途申請する必要はありません。