Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Kuaishou Video Sub Comments (Web)

APIドキュメント
https://api.sandbase.ai/v1/api/kuaishou/web/one-video-sub-comment

Returns sub-comments and replies for a specific comment on a Kuaishou video. Requires the video ID and root comment ID with optional cursor pagination.

料金
$0.01USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 2 件 · 任意 1 件

プレイグラウンド

入力
出力例
レスポンスoutputs · 4.2 KB · 120 行
[
  {
    "data": {
      "host-name": "public-bjmt-c87-kce-node29.idchb1az4.hb1.kwaidc.com",
      "pcursor": "911717572030",
      "result": 1,
      "subComments": [
        {
          "authorArea": "黑龙江",
          "authorVerified": false,
          "author_id": 3640978934,
          "author_liked": false,
          "author_name": "차은우",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 908917394015,
          "content": "好看啊",
          "headurl": "http://p5.a.yximgs.com/uhead/AB/2024/07/25/11/BMjAyNDA3MjUxMTQ2NTVfMzY0MDk3ODkzNF8yX2hkNTczXzgz_s.jpg",
          "headurls": [
            {
              "cdn": "p5.a.yximgs.com",
              "url": "http://p5.a.yximgs.com/uhead/AB/2024/07/25/11/BMjAyNDA3MjUxMTQ2NTVfMzY0MDk3ODkzNF8yX2hkNTczXzgz_s.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/07/25/11/BMjAyNDA3MjUxMTQ2NTVfMzY0MDk3ODkzNF8yX2hkNTczXzgz_s.jpg"
            }
          ],
          "isKwaiShopItemComment": false,
          "likedCount": 19,
          "photo_id": 5201939191177119000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "replyToUserName": "🇩^z旭",
          "reply_to": 3062090014,
          "time": "2024-10-19 17:03:05",
          "timestamp": 1729328584618,
          "type": 0,
          "user_id": 4272995294,
          "user_sex": "M"
        },
        {
          "authorArea": "山东",
          "authorVerified": false,
          "author_id": 2292542287,
          "author_liked": false,
          "author_name": "Wu.琳",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 909063391192,
          "content": "曾辉",
          "headurl": "http://p4.a.yximgs.com/uhead/AB/2026/07/29/20/BMjAyNjA3MjkyMDIwMzhfMjI5MjU0MjI4N18yX2hkOTUxXzUxNQ==_s.jpg",
          "headurls": [
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2026/07/29/20/BMjAyNjA3MjkyMDIwMzhfMjI5MjU0MjI4N18yX2hkOTUxXzUxNQ==_s.jpg"
            },
            {
              "cdn": "p2.a.yximgs.com",
              "url": "http://p2.a.yximgs.com/uhead/AB/2026/07/29/20/BMjAyNjA3MjkyMDIwMzhfMjI5MjU0MjI4N18yX2hkOTUxXzUxNQ==_s.jpg"
            }
          ],
          "isKwaiShopItemComment": false,
          "likedCount": 171,
          "photo_id": 5201939191177119000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "replyToUserName": "🇩^z旭",
          "reply_to": 3062090014,
          "time": "2024-10-19 20:45:47",
          "timestamp": 1729341946632,
          "type": 0,
          "user_id": 4272995294,
          "user_sex": "U"
        },
        {
          "authorArea": "河北",
          "authorVerified": false,
          "author_id": 3704085601,
          "author_liked": false,
          "author_name": "做人要水清",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 909317470892,
          "content": "@ura(O2597165088)",
          "headurl": "http://p5.a.yximgs.com/uhead/AB/2025/07/09/13/BMjAyNTA3MDkxMzE0MTJfMzcwNDA4NTYwMV8xX2hkODA0XzY2Mw==_s.jpg",
          "headurls": [
            {
              "cdn": "p5.a.yximgs.com",
              "url": "http://p5.a.yximgs.com/uhead/AB/2025/07/09/13/BMjAyNTA3MDkxMzE0MTJfMzcwNDA4NTYwMV8xX2hkODA0XzY2Mw==_s.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2025/07/09/13/BMjAyNTA3MDkxMzE0MTJfMzcwNDA4NTYwMV8xX2hkODA0XzY2Mw==_s.jpg"
            }
          ],
          "isKwaiShopItemComment": false,
          "likedCount": 6,
          "photo_id": 5201939191177119000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "replyToUserName": "🇩^z旭",
          "reply_to": 3062090014,
          "time": "2024-10-20 10:40:57",
          "timestamp": 1729392057089,
          "type": 0,
          "user_id": 4272995294,
          "user_sex": "U"
        },
        "… 7 more items in the full response"
      ]
    }
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

Kuaishou Video Sub Comments (Web) API

Returns the replies under one root comment on a Kuaishou video. Each reply includes its text, author, like count, and post time. You send the video's photo_id and the root_comment_id.

Use cases

  • Show the full reply thread under a top comment on a Kuaishou video.
  • Read the text of replies to judge how viewers react to a popular comment.
  • Collect the author region and gender fields of repliers to see who joins a discussion.
  • Track which replies get the most likes in a thread.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/one-video-sub-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_id": "3xgarycnydawq3g", "root_comment_id": "908850553827"}'

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

Parameters

NameTypeRequiredDescription
photo_idstringYes
root_comment_idstringYes
pcursorstringNo

Example response

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

{
  "host-name": "public-bjmt-c26-kce-node638.idchb1az4.hb1.kwaidc.com",
  "pcursor": "911717572030",
  "result": 1,
  "subComments": [
    {
      "authorArea": "黑龙江",
      "authorVerified": false,
      "author_id": 3640978934,
      "author_liked": false,
      "author_name": "차은우",
      "cashTags": {},
      "commentAuthorTags": [],
      "commentBottomTags": [],
      "comment_id": 908917394015,
      "content": "好看啊",
      "headurl": "http://p5.a.yximgs.com/uhead/AB/2024/07/25/11/BMjAyNDA3MjUxMTQ2NTVfMzY0MDk3ODkzN…",
      "headurls": [
        {
          "cdn": "p5.a.yximgs.com",
          "url": "http://p5.a.yximgs.com/uhead/AB/2024/07/25/11/BMjAyNDA3MjUxMTQ2NTVfMzY0MDk3ODkzN…"
        }
      ]
    }
  ]
}

Response fields

FieldMeaning
subComments[]List of reply comments under the root comment.
subComments[].comment_idID of the reply itself.
subComments[].contentText of the reply. It can contain @mentions.
subComments[].author_name / subComments[].author_idDisplay name and numeric ID of the user who wrote the reply.
subComments[].authorAreaRegion shown for the reply author, for example 黑龙江.
subComments[].likedCountNumber of likes on the reply.
subComments[].time / subComments[].timestampPost time of the reply. time is a formatted string and timestamp is a number in milliseconds.
subComments[].replyToUserName / subComments[].reply_toName and numeric ID of the user the reply is addressed to.
subComments[].headurlAvatar image URL of the reply author.
pcursorCursor value returned with the page. Pass it as pcursor in the next request to get more replies.

Notes

  • photo_id and root_comment_id are both required. The root comment ID is the comment_id of a top-level comment, which you can get from Kuaishou Video Comments (Web).
  • For the next page, send the returned pcursor value as the pcursor request parameter.
  • In replies, photo_id appears as a long number, while the request photo_id is a short string like 3xgarycnydawq3g.
  • To get the video itself, use Kuaishou Single Video Details.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Kuaishou$0.01 / 回JSON
Kuaishou$0.001 / 回JSON
Kuaishou$0.001 / 回JSON
Kuaishou$0.001 / 回JSON
Kuaishou$0.001 / 回JSON
Kuaishou$0.002 / 回JSON

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

質問

FAQ

Kuaishou Video Sub Comments (Web) API はどのように使いますか?

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

Kuaishou Video Sub Comments (Web) API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Kuaishou Video Sub Comments (Web) API はどのパラメータを受け付けますか?

必須: photo_id (string) と root_comment_id (string)。 任意: pcursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Kuaishou Video Sub Comments (Web) API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Kuaishou の開発者アカウントまたは API key は必要ですか?

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