Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Kuaishou Video Comments (App)

Documentazione 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.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali
100 chiamate gratuite / giornoPrime 100 chiamate al giorno gratuite (condivise per organizzazione) · Si azzera alle 00:00 UTC. Dopo, pagamento per chiamata.

Playground

Input
OutputEsempio
Rispostaoutputs · 18.6 KB · 489 righe
[
  {
    "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": [
                {

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON

Guide:Best Kuaishou API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Kuaishou Video Comments (App)?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/kuaishou/app/video-comment con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Kuaishou Video Comments (App)?

$0.001 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.

Quali parametri accetta l'API Kuaishou Video Comments (App)?

Richiesti: photo_id (string). Facoltativi: pcursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Kuaishou Video Comments (App)?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Kuaishou?

No. Kuaishou Video Comments (App) funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Kuaishou.