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

WeChat Channels Video Sub Comments

API 文件
https://api.sandbase.ai/v1/api/wechat-channels/video-sub-comment

Get replies under a first-level WeChat Channels video comment using the video and root-comment IDs. Use it to continue a threaded comment discussion with buffer pagination.

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

Playground

輸入
WeChat Channels video object id used to fetch second-level comment replies.
Root first-level comment id returned by the WeChat Channels video comments endpoint.
Pagination buffer for WeChat Channels second-level comment replies. Use the first-level comment's last_buffer for the first reply page when present. For this POST endpoint, send it in an application/x-www-form-urlencoded form body.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

WeChat Channels Video Sub Comments API

Returns the second-level replies under one first-level comment on a WeChat Channels video. It needs the video objectId and the rootCommentId of the parent comment. Each reply includes its text, author, like count, and a last_buffer for the next page.

Use cases

  • Read the full reply thread under a popular comment to see how viewers respond to it.
  • Collect reply text and like counts to measure sentiment on a single comment.
  • Group repliers by ip_region_info.region_text to see where a discussion comes from.
  • Page through a long thread and store every reply with its comment_id and createtime.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/video-sub-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"objectId": "15042116979764234697", "rootCommentId": "15042242325261781458"}'

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

Parameters

NameTypeRequiredDescription
objectIdstringYesWeChat Channels video object id used to fetch second-level comment replies.
rootCommentIdstringYesRoot first-level comment id returned by the WeChat Channels video comments endpoint.
last_bufferstringNoPagination buffer for WeChat Channels second-level comment replies. Use the first-level comment's last_buffer for the first reply page when present. For this POST endpoint, send it in an application/x-www-form-urlencoded

Example response

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

{
  "comment_info": [
    {
      "author_contact": {
        "bind_info": [],
        "head_url": "https://wx.qlogo.cn/mmhead/ver_1/1NUh9hyHm9axx8pDKTAKwPMbz8lHSqNpOXtgU5sfLXN8qIp…",
        "menu": [],
        "nickname": "刘明顺",
        "reference_info": [],
        "username": "v5_020b0a16610401000000000099da18de46a5c9000000b1afa7d8728e3dd43ef4317a780e33c2a…"
      },
      "comment_id": "15045764170299677659",
      "content": "666",
      "content_type": 0,
      "createtime": "1793594857",
      "dislike_count": 0,
      "display_flag": 0,
      "expand_comment_count": 0,
      "ext_flag": 32,
      "head_url": "https://wx.qlogo.cn/mmhead/ver_1/1NUh9hyHm9axx8pDKTAKwPMbz8lHSqNpOXtgU5sfLXN8qIp…",
      "interaction_label_list": [],
      "ip_region_info": {
        "region_text": "贵州"
      }
    }
  ],
  "down_continue_flag": 1,
  "last_buffer": "CJGSoKCZp9Lm0AE4yP6/mvTwvAY=",
  "req_p": "192.168.1.129:2020"
}

Response fields

FieldMeaning
comment_info[].comment_idID of the reply comment.
comment_info[].contentText of the reply.
comment_info[].nickname / comment_info[].head_urlDisplay name and avatar URL of the person who wrote the reply.
comment_info[].createtimeTime the reply was posted, as a string. The values look like Unix timestamps in seconds.
comment_info[].like_count / comment_info[].dislike_countNumber of likes and dislikes on the reply.
comment_info[].ip_region_info.region_textRegion label shown with the reply, for example a Chinese province name.
comment_info[].reply_comment_id / comment_info[].reply_contentID and text of the comment this reply belongs to. reply_comment_id matches the rootCommentId you sent.
comment_info[].expand_comment_countCount of further replies that can be expanded under this reply.
down_continue_flagValue 1 in this response, which goes with a last_buffer for another page. Treat it as a continue flag.
last_bufferPagination buffer. Send it as last_buffer in the next request to get the next page of replies.

Notes

  • Get rootCommentId from the first-level comment list in WeChat Channels Video Comments or WeChat Channels Video Comments.
  • For the first reply page, you can pass the first-level comment's last_buffer when it is present. For later pages, pass the last_buffer from the previous response.
  • Send last_buffer in an application/x-www-form-urlencoded form body on this POST endpoint.
  • comment_id values are long numeric strings. Keep them as strings.

Pricing

$0.021429 per successful call. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
WeChat Channels每次呼叫 $0.021429JSON
WeChat Channels每次呼叫 $0.071429JSON
WeChat Channels每次呼叫 $0.021429JSON
WeChat Channels每次呼叫 $0.071429JSON
WeChat Channels每次呼叫 $0.114286JSON
WeChat Channels每次呼叫 $0.01JSON

指南:Best WeChat Channels API in 2026: Pricing Compared

問題

常見問題

我要如何使用 WeChat Channels Video Sub Comments API?

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

WeChat Channels Video Sub Comments API 的費用是多少?

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

WeChat Channels Video Sub Comments API 接受哪些參數?

必要:objectId (string) 和 rootCommentId (string)。 選填:last_buffer (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

WeChat Channels Video Sub Comments API 會回傳什麼?

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

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

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