Kuaishou Video Sub Comments (Web)
https://api.sandbase.ai/v1/api/kuaishou/web/one-video-sub-commentReturns 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개
Playground
[
{
"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
| Name | Type | Required | Description |
|---|---|---|---|
photo_id | string | Yes | |
root_comment_id | string | Yes | |
pcursor | string | No |
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
| Field | Meaning |
|---|---|
subComments[] | List of reply comments under the root comment. |
subComments[].comment_id | ID of the reply itself. |
subComments[].content | Text of the reply. It can contain @mentions. |
subComments[].author_name / subComments[].author_id | Display name and numeric ID of the user who wrote the reply. |
subComments[].authorArea | Region shown for the reply author, for example 黑龙江. |
subComments[].likedCount | Number of likes on the reply. |
subComments[].time / subComments[].timestamp | Post time of the reply. time is a formatted string and timestamp is a number in milliseconds. |
subComments[].replyToUserName / subComments[].reply_to | Name and numeric ID of the user the reply is addressed to. |
subComments[].headurl | Avatar image URL of the reply author. |
pcursor | Cursor value returned with the page. Pass it as pcursor in the next request to get more replies. |
Notes
photo_idandroot_comment_idare both required. The root comment ID is thecomment_idof a top-level comment, which you can get from Kuaishou Video Comments (Web).- For the next page, send the returned
pcursorvalue as thepcursorrequest parameter. - In replies,
photo_idappears as a long number, while the requestphoto_idis a short string like3xgarycnydawq3g. - 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.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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"
}'2. 인증
서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
3. 파라미터
root_comment_idstring필수
pcursorstring
4. 응답
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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
| 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 |
질문
FAQ
Kuaishou Video Sub Comments (Web) API를 어떻게 사용하나요?
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/kuaishou/web/one-video-sub-comment에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
Kuaishou Video Sub Comments (Web) API 비용은 얼마인가요?
호출당 $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 키가 필요한가요?
아니요. Kuaishou Video Sub Comments (Web)은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Kuaishou API 액세스를 별도로 신청할 필요는 없습니다.
