Kuaishou Video Sub Comments (App)
https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-commentsReturns sub comments and replies under a root comment for a Kuaishou video. Supports pagination using a cursor and page size configuration.
- ราคา
- $0.001USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 2 จำเป็น · 2 ไม่บังคับ
Playground
[
{
"data": {
"debug_id": "95daa4f4",
"debug_info": "gAAAAABquiYtzzsaI6Yi-A1Txc5_XIWUUjZScLGu-cMaDEl9WT-aeD2mmvgQwCy7SgNVCT_B-2lkQNmb5upuS2jmP-kywdV3DElMAuNV4Q6kGT1StEV9YiJBypA5kVkQuRBfJehDphJYbhR0rF5BVj3W3TKovXV_IDFlqQngb2sRFdRvqtfLSlLfo6iF0lnXv0XGkMM2_OF58OnNrBzzmXg8upsQcbrriMxoNTWYUnWQhGVUmFjLhOMGeUAtJY-5Caf-AhZBI155lRUXFXAa8J6KvC98dQUW-A==",
"host-name": "public-bjmt-c56-kce-node367.idchb1az4.hb1.kwaidc.com",
"pcursor": "no_more",
"result": 1,
"subComments": []
}
}
]ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
API README
Kuaishou Video Sub Comments (App) API
Retrieve nested replies under a specific root comment on Kuaishou. Pass photo_id and root_comment_id to retrieve comment thread details.
Use cases
- Display threaded reply discussions beneath main video comments.
- Monitor community responses and conversations for a specific comment.
- Extract conversation threads for audience interaction analysis.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"photo_id": "5218546261880462502", "root_comment_id": "14000000123456789"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
photo_id | string | Yes | — |
root_comment_id | string | Yes | — |
count | integer | No | Page size, default 8, range 1-20 |
pcursor | string | No | Cursor, empty for first page |
Notes
- Set
countbetween 1 and 20 to control page size (defaults to 8). - Provide
pcursorfor subsequent pages or leave it empty for the first page.
Pricing
Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"photo_id": "1",
"root_comment_id": "1"
}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
root_comment_idstringจำเป็น
countinteger
Page size, default 8, range 1-20
pcursorstring
Cursor, empty for first page
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"debug_id": "95daa4f4",
"debug_info": "gAAAAABquiYtzzsaI6Yi-A1Txc5_XIWUUjZScLGu-cMaDEl9WT-aeD2mmvgQwCy7SgNVCT_B-2lkQNmb5upuS2jmP-kywdV3DElMAuNV4Q6kGT1StEV9YiJBypA5kVkQuRBfJehDphJYbhR0rF5BVj3W3TKovXV_IDFlqQngb2sRFdRvqtfLSlLfo6iF0lnXv0XGkMM2_OF58OnNrBzzmXg8upsQcbrriMxoNTWYUnWQhGVUmFjLhOMGeUAtJY-5Caf-AhZBI155lRUXFXAa8J6KvC98dQUW-A==",
"host-name": "public-bjmt-c56-kce-node367.idchb1az4.hb1.kwaidc.com",
"pcursor": "no_more",
"result": 1,
"subComments": []
}
}
]สำรวจเพิ่มเติม
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 |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ Kuaishou Video Sub Comments (App) API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
Kuaishou Video Sub Comments (App) API ราคาเท่าไร?
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
Kuaishou Video Sub Comments (App) API รับพารามิเตอร์อะไรบ้าง?
ที่ต้องระบุ: photo_id (string) และ root_comment_id (string). ตัวเลือก: count (integer) และ pcursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
Kuaishou Video Sub Comments (App) API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Kuaishou ไหม?
ไม่จำเป็น Kuaishou Video Sub Comments (App) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Kuaishou API แยกต่างหาก
