Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Kuaishou Video Comments (App)

API 文档
https://api.sandbase.ai/v1/api/kuaishou/app/video-comment

Returns comment records for a specified Kuaishou video, including author metadata and like counts. Supports pagination using a cursor.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
输出示例
响应outputs · 18.6 KB · 489 行
[
  {
    "data": {
      "commentCount": 3053,
      "host-name": "public-bjx-c34-kce-node4946.idchb1az1.hb1.kwaidc.com",
      "pcursor": "V2#3d0dec14-e5d8-4e1a-beb0-b81f923c5f85#dph#30#939750742575_31",
      "result": 1,
      "rootComments": [
        {
          "attachments": [
            {
              "content": {
                "photoInfo": {
                  "photoId": "149640945284",
                  "photoSource": "COLLECTION_TAB",
                  "photoType": 1,
                  "serverExpTag": "",
                  "userName": "及时止损"
                },
                "smallUrl": [
                  {
                    "cdn": "p66-plat.wsukwai.com",
                    "url": "https://p66-plat.wsukwai.com/upic/2024/11/26/20/BMjAyNDExMjYyMDM5MTVfNTA0OTk1NjdfMTQ5NjQwOTQ1Mjg0XzJfMw==_low_Bb64a835dcce935bec2acabd89c6d68ed.webp"
                  },
                  {
                    "cdn": "p23-plat.wsukwai.com",
                    "url": "https://p23-plat.wsukwai.com/upic/2024/11/26/20/BMjAyNDExMjYyMDM5MTVfNTA0OTk1NjdfMTQ5NjQwOTQ1Mjg0XzJfMw==_low_Bb64a835dcce935bec2acabd89c6d68ed.webp"
                  }
                ]
              },
              "id": "149640945284",
              "layout": {
                "height": 0,
                "thumbHeight": 640,
                "thumbWidth": 360,
                "width": 0
              },
              "previewURL": "kwai://work/149640945284?disableSidebar=true&pageType=1&utm_source=feedCommentDetail",
              "type": "PHOTO"
            }
          ],
          "authorArea": "山东",
          "authorVerified": false,
          "author_id": 23458411,
          "author_liked": false,
          "author_name": "宝宝心里变态",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 938889241499,
          "content": "",
          "displaySubCommentCount": true,
          "headurl": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/03/BMjAyNDExMjQwMzIyMzdfMjM0NTg0MTFfMl9oZDg2NF80MjE=_s.jpg",
          "headurls": [
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/03/BMjAyNDExMjQwMzIyMzdfMjM0NTg0MTFfMl9oZDg2NF80MjE=_s.jpg"
            },
            {
              "cdn": "p23.a.yximgs.com",
              "url": "http://p23.a.yximgs.com/uhead/AB/2024/11/24/03/BMjAyNDExMjQwMzIyMzdfMjM0NTg0MTFfMl9oZDg2NF80MjE=_s.jpg"
            }
          ],
          "hot": true,
          "isKwaiShopItemComment": false,
          "likedCount": 143,
          "photo_id": 5193494945927590000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "recallType": 1,
          "reply_to": 0,
          "subCommentCount": 12,
          "time": "2025-01-03 17:50:49",
          "timestamp": 1735897848821,
          "type": 0,
          "user_id": 3795214411,
          "user_sex": "M"
        },
        {
          "authorArea": "辽宁",
          "authorVerified": false,
          "author_id": 2877840470,
          "author_liked": false,
          "author_name": "剑斩十三州.",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 938911268848,
          "content": "我直接就是一把大糯米,加一把黑狗血[不听]",
          "displaySubCommentCount": true,
          "headurl": "http://p4.a.yximgs.com/uhead/AB/2026/08/30/23/BMjAyNjA4MzAyMzM3MjdfMjg3Nzg0MDQ3MF8xX2hkNzUwXzY2MA==_s.jpg",
          "headurls": [
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2026/08/30/23/BMjAyNjA4MzAyMzM3MjdfMjg3Nzg0MDQ3MF8xX2hkNzUwXzY2MA==_s.jpg"
            },
            {
              "cdn": "p2.a.yximgs.com",
              "url": "http://p2.a.yximgs.com/uhead/AB/2026/08/30/23/BMjAyNjA4MzAyMzM3MjdfMjg3Nzg0MDQ3MF8xX2hkNzUwXzY2MA==_s.jpg"
            }
          ],
          "hot": true,
          "isKwaiShopItemComment": false,
          "likedCount": 219,
          "photo_id": 5193494945927590000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "recallType": 1,
          "reply_to": 0,
          "subCommentCount": 84,
          "time": "2025-01-03 18:34:46",
          "timestamp": 1735900486248,
          "type": 0,
          "user_id": 3795214411,
          "user_sex": "M"
        },
        {
          "authorArea": "辽宁",
          "authorVerified": false,
          "author_id": 1153469308,
          "author_liked": false,
          "author_name": "中年健忘者",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": [],
          "comment_id": 964868751848,
          "content": "这个应该去缅甸。",
          "displaySubCommentCount": true,
          "headurl": "http://p23.a.yximgs.com/uhead/AB/2024/02/08/12/BMjAyNDAyMDgxMjUyMzRfMTE1MzQ2OTMwOF8yX2hkNTQ1XzIwNw==_s.jpg",
          "headurls": [
            {
              "cdn": "p23.a.yximgs.com",
              "url": "http://p23.a.yximgs.com/uhead/AB/2024/02/08/12/BMjAyNDAyMDgxMjUyMzRfMTE1MzQ2OTMwOF8yX2hkNTQ1XzIwNw==_s.jpg"
            },
            {
              "cdn": "p23.a.yximgs.com",
              "url": "http://p23.a.yximgs.com/uhead/AB/2024/02/08/12/BMjAyNDAyMDgxMjUyMzRfMTE1MzQ2OTMwOF8yX2hkNTQ1XzIwNw==_s.jpg"
            }
          ],
          "hot": true,
          "isKwaiShopItemComment": false,
          "likedCount": 7,
          "photo_id": 5193494945927590000,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "recallType": 1,
          "reply_to": 0,
          "subCommentCount": 2,
          "time": "2025-02-28 07:41:16",
          "timestamp": 1740699676081,
          "type": 0,
          "user_id": 3795214411,
          "user_sex": "M"
        },
        "… 27 more items in the full response"
      ],
      "subCommentsMap": {
        "938889241499": {
          "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTQ2NDM1NjE1NTY3fQ==",
          "subComments": [
            {
              "authorArea": "山西",
              "authorVerified": false,
              "author_id": 2037328243,
              "author_liked": false,
              "author_name": "略略略略略略",
              "cashTags": {},
              "commentAuthorTags": [],
              "commentBottomTags": [],
              "comment_id": 944460848958,
              "content": "6",
              "headurl": "http://p4.a.yximgs.com/uhead/AB/2024/09/16/15/BMjAyNDA5MTYxNTAzNDlfMjAzNzMyODI0M18yX2hkNDM4XzQxMw==_s.jpg",
              "headurls": [
                {
                  "cdn": "p4.a.yximgs.com",
                  "url": "http://p4.a.yximgs.com/uhead/AB/2024/09/16/15/BMjAyNDA5MTYxNTAzNDlfMjAzNzMyODI0M18yX2hkNDM4XzQxMw==_s.jpg"
                },
                {
                  "cdn": "p2.a.yximgs.com",
                  "url": "http://p2.a.yximgs.com/uhead/AB/2024/09/16/15/BMjAyNDA5MTYxNTAzNDlfMjAzNzMyODI0M18yX2hkNDM4XzQxMw==_s.jpg"
                }
              ],
              "isKwaiShopItemComment": false,
              "likedCount": 2,
              "photo_id": 5193494945927590000,
              "profilePagePrefetchInfo": {
                "profilePageType": 1
              },
              "replyToUserName": "宝宝心里变态",
              "reply_to": 23458411,
              "time": "2025-01-16 18:04:11",
              "timestamp": 1737021850643,
              "type": 0,
              "user_id": 3795214411,
              "user_sex": "M"
            }
          ]
        },
        "938911268848": {
          "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTM4OTQxNjMzMDQ5fQ==",
          "subComments": [
            {
              "authorArea": "贵州",
              "authorVerified": false,
              "author_id": 2023087307,
              "author_liked": false,
              "author_name": "欲念风^",
              "cashTags": {},
              "commentAuthorTags": [],
              "commentBottomTags": [],
              "comment_id": 938933209309,
              "content": "迷惑小孩",
              "headurl": "http://p23.a.yximgs.com/uhead/AB/2025/06/06/07/BMjAyNTA2MDYwNzU2MzFfMjAyMzA4NzMwN18yX2hkOF8xOTE=_s.jpg",
              "headurls": [
                {
                  "cdn": "p23.a.yximgs.com",
                  "url": "http://p23.a.yximgs.com/uhead/AB/2025/06/06/07/BMjAyNTA2MDYwNzU2MzFfMjAyMzA4NzMwN18yX2hkOF8xOTE=_s.jpg"
                },
                {
                  "cdn": "p23.a.yximgs.com",
                  "url": "http://p23.a.yximgs.com/uhead/AB/2025/06/06/07/BMjAyNTA2MDYwNzU2MzFfMjAyMzA4NzMwN18yX2hkOF8xOTE=_s.jpg"
                }
              ],
              "isKwaiShopItemComment": false,
              "likedCount": 18,
              "photo_id": 5193494945927590000,
              "profilePagePrefetchInfo": {
                "profilePageType": 1
              },
              "replyToUserName": "剑斩十三州.",
              "reply_to": 2877840470,
              "time": "2025-01-03 19:14:00",
              "timestamp": 1735902840341,
              "type": 0,
              "user_id": 3795214411,
              "user_sex": "M"
            }
          ]
        },
        "939054445981": {
          "pcursor": "no_more",
          "subComments": [
            {
              "authorArea": "浙江",
              "authorVerified": false,
              "author_id": 1089010476,
              "author_liked": false,
              "author_name": "黑无常!",
              "cashTags": {},
              "commentAuthorTags": [],
              "commentBottomTags": [],
              "comment_id": 964994596709,
              "content": "祝你俩幸福安康!对她好点!希望她值得![祈祷][祈祷][祈祷]",
              "headurl": "http://p4.a.yximgs.com/uhead/AB/2018/09/12/15/BMjAxODA5MTIxNTUyNTlfMTA4OTAxMDQ3Nl8yX2hkNjQ3Xzc5Mw==_s.jpg",
              "headurls": [
                {
                  "cdn": "p4.a.yximgs.com",
                  "url": "http://p4.a.yximgs.com/uhead/AB/2018/09/12/15/BMjAxODA5MTIxNTUyNTlfMTA4OTAxMDQ3Nl8yX2hkNjQ3Xzc5Mw==_s.jpg"
                },
                {
                  "cdn": "p2.a.yximgs.com",
                  "url": "http://p2.a.yximgs.com/uhead/AB/2018/09/12/15/BMjAxODA5MTIxNTUyNTlfMTA4OTAxMDQ3Nl8yX2hkNjQ3Xzc5Mw==_s.jpg"
                }
              ],
              "isKwaiShopItemComment": false,
              "likedCount": 0,
              "photo_id": 5193494945927590000,
              "profilePagePrefetchInfo": {
                "profilePageType": 2
              },
              "replyToUserName": "肘击",
              "reply_to": 4520069582,
              "time": "2025-02-28 17:02:26",
              "timestamp": 1740733346427,
              "type": 0,
              "user_id": 3795214411,
              "user_sex": "M"
            }
          ]
        },
        "939071729265": {
          "pcursor": "no_more",
          "subComments": [
            {
              "authorArea": "重庆",
              "authorVerified": false,
              "author_id": 268579944,
              "author_liked": false,
              "author_name": "重炮",
              "cashTags": {},
              "commentAuthorTags": [],
              "commentBottomTags": [],
              "comment_id": 939096487396,
              "content": "情理之中",
              "headurl": "http://p4.a.yximgs.com/uhead/AB/2024/08/03/19/BMjAyNDA4MDMxOTI4MjBfMjY4NTc5OTQ0XzJfaGQ0MDVfOTcy_s.jpg",
              "headurls": [
                {

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Kuaishou Video Comments (App) API

Returns top-level comments for a Kuaishou video, plus a preview of replies under each comment. It needs the video's photo_id. Each comment includes author details, a like count and a timestamp.

Use cases

  • Collect the most-liked comments on a Kuaishou video to study audience reaction.
  • Group commenters by authorArea to see which regions engage with a video.
  • Track new comments on a video by comparing timestamp values across pages.
  • Find comments with many replies and fetch the full reply thread for them.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/video-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_id": "5193494945927590140"}'

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

Parameters

NameTypeRequiredDescription
photo_idstringYes
pcursorstringNo

Example response

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

{
  "commentCount": 3053,
  "host-name": "public-bjx-c34-kce-node3496.idchb1az1.hb1.kwaidc.com",
  "pcursor": "V2#0b7e6e34-41ee-4c9f-b34d-c96048e72443#dph#30#938768612848_32",
  "result": 1,
  "rootComments": [
    {
      "attachments": [
        {
          "content": {
            "photoInfo": {
              "photoId": "149640945284",
              "photoSource": "COLLECTION_TAB",
              "photoType": 1,
              "serverExpTag": "",
              "userName": "及时止损"
            },
            "smallUrl": [
              {
                "cdn": "p66-plat.wsukwai.com",
                "url": "https://p66-plat.wsukwai.com/upic/2024/11/26/20/BMjAyNDExMjYyMDM5MTVfNTA0OTk1Njd…"
              }
            ]
          },
          "id": "149640945284",
          "layout": {
            "height": 0,
            "thumbHeight": 640,
            "thumbWidth": 360,
            "width": 0
          },
          "previewURL": "kwai://work/149640945284?disableSidebar=true&pageType=1&utm_source=feedCommentDe…",
          "type": "PHOTO"
        }
      ],
      "authorArea": "山东",
      "authorVerified": false,
      "author_id": 23458411,
      "author_liked": false,
      "author_name": "宝宝心里变态",
      "cashTags": {},
      "commentAuthorTags": [],
      "commentBottomTags": [],
      "comment_id": 938889241499,
      "content": "",
      "displaySubCommentCount": true
    }
  ],
  "subCommentsMap": {
    "938846333271": {
      "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTM4ODQ2NDI1MDk3fQ==",
      "subComments": [
        {
          "authorArea": "广西",
          "authorVerified": false,
          "author_id": 514350277,
          "author_liked": false,
          "author_name": "ℳ̶̶̶̶♡̶҉释怀ℳᥫ",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "938889241499": {
      "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTQ2NDM1NjE1NTY3fQ==",
      "subComments": [
        {
          "authorArea": "山西",
          "authorVerified": false,
          "author_id": 2037328243,
          "author_liked": false,
          "author_name": "略略略略略略",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "938911268848": {
      "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTM4OTQxNjMzMDQ5fQ==",
      "subComments": [
        {
          "authorArea": "贵州",
          "authorVerified": false,
          "author_id": 2023087307,
          "author_liked": false,
          "author_name": "欲念风^",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "939054445981": {
      "pcursor": "no_more",
      "subComments": [
        {
          "authorArea": "浙江",
          "authorVerified": false,
          "author_id": 1089010476,
          "author_liked": false,
          "author_name": "黑无常!",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "939071729265": {
      "pcursor": "no_more",
      "subComments": [
        {
          "authorArea": "重庆",
          "authorVerified": false,
          "author_id": 268579944,
          "author_liked": false,
          "author_name": "重炮",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "940946335966": {
      "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTQxODcwNDIyNzA4fQ==",
      "subComments": [
        {
          "authorArea": "山东",
          "authorVerified": false,
          "author_id": 2673361092,
          "author_liked": false,
          "author_name": "至高神",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "947100605905": {
      "pcursor": "no_more",
      "subComments": [
        {
          "authorArea": "广西",
          "authorVerified": false,
          "author_id": 759752785,
          "author_liked": false,
          "author_name": "持续攻速暴击",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "947331566664": {
      "pcursor": "no_more",
      "subComments": [
        {
          "authorArea": "浙江",
          "authorVerified": false,
          "author_id": 4576919076,
          "author_liked": false,
          "author_name": "快手用户1737179161502",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    },
    "964868751848": {
      "pcursor": "V1-1006-1-eyJwaG90b0lkIjoxNTI1Mjk4MzQyMTYsImNvbW1lbnRJZCI6OTc1MDQyODc5Njc2fQ==",
      "subComments": [
        {
          "authorArea": "安徽",
          "authorVerified": false,
          "author_id": 4433943584,
          "author_liked": false,
          "author_name": "看淡一切。",
          "cashTags": {},
          "commentAuthorTags": [],
          "commentBottomTags": []
        }
      ]
    }
  },
  "transparentPayload": "{\"kwaiShopItemCmtInjectCnt\":0,\"kwaiShopItemCmtInjectCursor\":0}"
}

Response fields

FieldMeaning
commentCountTotal number of comments on the video.
pcursorCursor for the next page of top-level comments. Send it back as the pcursor request parameter.
rootComments[].comment_idID of the top-level comment. It also appears as a key in subCommentsMap.
rootComments[].contentText of the comment. It can be an empty string when the comment only has an attachment.
rootComments[].likedCount / rootComments[].subCommentCountNumber of likes on the comment and number of replies to it.
rootComments[].author_id / rootComments[].author_name / rootComments[].authorAreaID, display name and region of the user who wrote the comment.
rootComments[].time / rootComments[].timestampComment time as a text date and as a numeric timestamp. The numeric value looks like milliseconds since the Unix epoch.
rootComments[].hotWhether the comment is flagged as hot.
rootComments[].attachments[].typeType of media attached to the comment, such as PHOTO. The linked work is under content.photoInfo.
subCommentsMap.<comment_id>.subComments[]Preview of replies for that top-level comment. Each entry has the same author fields as a root comment.
subCommentsMap.<comment_id>.pcursorCursor for more replies to that comment. The value no_more means there are no further replies.

Notes

  • photo_id is the numeric ID of the video, for example 5193494945927590140. Pass it as a string.
  • For the next page of comments, send the returned pcursor together with the same photo_id.
  • To read all replies under a comment, use Kuaishou Video Sub Comments (App) with the reply cursor.
  • To look up the video itself, use Kuaishou Video Details (V1).

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价格响应
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON

指南:Best Kuaishou API in 2026: Pricing Compared

问题

常见问题

如何使用 Kuaishou Video Comments (App) API?

向 https://api.sandbase.ai/v1/api/kuaishou/app/video-comment 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Kuaishou Video Comments (App) API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Kuaishou Video Comments (App) API 接受哪些参数?

必填:photo_id (string)。 可选:pcursor (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Kuaishou Video Comments (App) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Kuaishou 开发者账户或 API key 吗?

不需要。Kuaishou Video Comments (App) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Kuaishou API 访问权限。