Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Kuaishou Batch Video Details

Dokumentasi API
https://api.sandbase.ai/v1/api/kuaishou/app/videos-batch

Retrieves video details for multiple Kuaishou posts in a single request. Specify comma-separated photo IDs to look up information for up to 40 videos at once.

Harga
$0.04USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
Photo ID list, multiple IDs separated by commas, max 40 per request
OutputContoh
Responsoutputs · 14.1 KB · 322 baris
[
  {
    "data": {
      "host-name": "public-bjzey-c26-kce-node457.idchb1az3.hb1.kwaidc.com",
      "photos": [
        {
          "adminTags": [],
          "canShowQuickCommentGuide": true,
          "caption": "零跑A10正式发布 2026年冲击年销100万辆  #2025广州国际车展  #2025广州车展  #上汽车之家看有用的车展指南",
          "captionToComment": "零跑A10正式发布 2026年冲击年销100万辆 #2025广州国际车展 #2025广州车展 #上汽车之家看有用的车展指南",
          "collect_count": 4,
          "commentGuessSearch": {
            "displayPrefix": "相关搜索:",
            "extParams": "{\"all_source\":\"p2q_semantic_recall_v8\",\"entrySource\":\"search_entrance_comment_trending\",\"rel_score\":\"0.560754\",\"stg_recall_source\":\"p2q_semantic_recall_v8\"}\n",
            "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
            "searchWord": "零跑a10落地价2026款",
            "searchWordMD5": "d6844a963d2b1206696cb4219576a8bc",
            "searchWordUrl": "kwai://search?keyword=零跑a10落地价2026款&sessionId=MzIwXzBfMTc5MDY5MDg0MTM2MF9fMzc3OQ&source=search_entrance_comment_trending&extParams={\"refer_photo_id\":\"180505953127\",\"adQuerySource\":\"\",\"biz_source\":\"cmt_gys\",\"statistic_flag\":\"0\",\"recall_source\":\"p2q_semantic_recall_v8\"}&alwaysUploadExtParams=true",
            "sessionId": "MzIwXzBfMTc5MDY5MDg0MTM2MF9fMzc3OQ"
          },
          "commentInfo": {
            "commentCountSpecialEffect": true,
            "commentEducationGuide": {
              "guideType": 0,
              "triggerCharCount": 0
            },
            "commentIconType": 0,
            "enableAIPresetGuide": false,
            "permissions": 191
          },
          "commentTopBarPriority": [
            {
              "bizType": "PLC",
              "subBizType": "51"
            },
            {
              "bizType": "SEARCH",
              "subBizType": "GUESS_SEARCH"
            },
            "… 10 more items in the full response"
          ],
          "comment_count": 11,
          "coronaVipInfo": {
            "enableFilmAd": false,
            "filmAdInfo": {
              "pageId": 100014436,
              "posId": 9777,
              "subPageId": 100017199
            },
            "inspireAdInfo": {
              "pageId": 100011251,
              "posId": 20578,
              "subPageId": 100024209
            },
            "vipPhoto": false
          },
          "cover_thumbnail_urls": [
            {
              "cdn": "ws2.a.kwimgs.com",
              "url": "http://ws2.a.kwimgs.com/upic/2025/11/22/14/BMjAyNTExMjIxNDE2NTdfOTAzNTExNzcyXzE4MDUwNTk1MzEyN18wXzM=_hd_Bc7f00e658c4629df804ee0c946833b47.kvif?tag=1-1790690841-sp-0-jaj9p9idtq-eb5f2a98774329b0&clientCacheKey=3xg3v829cunist2_hd.kvif&di=4314082a&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2025/11/22/14/BMjAyNTExMjIxNDE2NTdfOTAzNTExNzcyXzE4MDUwNTk1MzEyN18wXzM=_hd_Bc7f00e658c4629df804ee0c946833b47.kvif?tag=1-1790690841-sp-1-oooatnjucn-536b869a726894b2&clientCacheKey=3xg3v829cunist2_hd.kvif&di=4314082a&bp=10321"
            }
          ],
          "danmakuInfo": {
            "danmakuShowDirection": 2,
            "defaultDanmaku": "发个友善的弹幕吧",
            "hasDanmaku": true,
            "paster": false,
            "photoDanmakuGuide": false
          },
          "disableCommentDislike": false,
          "duration": 56233,
          "editInfo": {},
          "enableCoronaDetailPage": false,
          "enableCoronaViewLater": true,
          "enableFullScreenPlay": false,
          "exp_tag": "1_u/0_sp0",
          "ext_params": {
            "color": "EFEFEF",
            "h": 1280,
            "interval": 30,
            "mtype": 3,
            "sound": 56237,
            "video": 56233,
            "w": 720
          },
          "feedLogCtx": {
            "logParams": "{}",
            "stExParams": "",
            "stidContainer": "CkMxfDIwMTAxMzM5MzIzNzMxODc4NDF8cGhvdG86NTIyMjQ4Njg5ODMyNTk4NzU4M3x7InBnIjoic3AifXx7InIiOjB9"
          },
          "feedSwitches": {
            "disable61ActivityAnimation": true,
            "disableCommentLikeAnimation": false,
            "enablePictureCommentForPhoto": true,
            "enablePlayerPanel": true
          },
          "ff_cover_thumbnail_urls": [
            {
              "cdn": "ws2.a.kwimgs.com",
              "url": "http://ws2.a.kwimgs.com/upic/2025/11/22/14/BMjAyNTExMjIxNDE2NTdfOTAzNTExNzcyXzE4MDUwNTk1MzEyN18wXzM=_ff_Bec3088144e15051e2ea5ae6484251895.kvif?tag=1-1790690841-sp-0-jkbw94ucqv-c061374f015ed77d&clientCacheKey=3xg3v829cunist2_ff.kvif&di=4314082a&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2025/11/22/14/BMjAyNTExMjIxNDE2NTdfOTAzNTExNzcyXzE4MDUwNTk1MzEyN18wXzM=_ff_Bec3088144e15051e2ea5ae6484251895.kvif?tag=1-1790690841-sp-1-wl9zbauugm-844f5033cad40ee0&clientCacheKey=3xg3v829cunist2_ff.kvif&di=4314082a&bp=10321"
            }
          ],
          "followShoot": {
            "isLipsSyncPhoto": false
          },
          "following": 0,
          "forward_count": 0,
          "forward_stats_params": {
            "et": "1_u/0_sp0"
          },
          "frameStyle": 0,
          "hasVote": false,
          "headurls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2026/04/22/14/BMjAyNjA0MjIxNDUzNThfOTAzNTExNzcyXzJfaGQ3M180ODY=_s.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2026/04/22/14/BMjAyNjA0MjIxNDUzNThfOTAzNTExNzcyXzJfaGQ3M180ODY=_s.jpg"
            }
          ],
          "inputPromptGuide": "广告太多了",
          "kwaiId": "Autohome",
          "like_count": 24,
          "liked": 0,
          "location": {},
          "longVideo": true,
          "main_mv_urls": [
            {
              "cdn": "v1.kwaicdn.com",
              "url": "http://v1.kwaicdn.com/ksc1/K2EokdVfXFQKjSSnFWY2HvROS5LXncTe1NOFNV9SsKSgZAdeTsBe-KTgG4EfCFQIJklkk1Qyh8M3TKkzKZH6J1lnimYWnGaYht1WbmgWzGpZ0eRiAZPe1izVsjqC7hdAbL9tjDmm638EF_5m3ygVn9UH3rt1bJ5C7ZdHY_oCjZth-F8OubfLykBRzE5v2W5P.mp4?pkey=AAWggdoxj4--VCvqofXQvxmMK4jueQS7DcpL9SX4nD2IPNAJuYCK0mgK1Y3Pt8k1p4PJ3bE…"
            },
            {
              "cdn": "v22.kwaicdn.com",
              "url": "http://v22.kwaicdn.com/ksc1/K2EokdVfXFQKjSSnFWY2HvROS5LXncTe1NOFNV9SsKSgZAdeTsBe-KTgG4EfCFQIJklkk1Qyh8M3TKkzKZH6J1lnimYWnGaYht1WbmgWzGpZ0eRiAZPe1izVsjqC7hdAbL9tjDmm638EF_5m3ygVn9UH3rt1bJ5C7ZdHY_oCjZth-F8OubfLykBRzE5v2W5P.mp4?pkey=AAXkCnwYPMLgvVsZ0rUE9HrtoN4uxloW-ZKf1GSt1_PduKvgADNTkE9AcmVnP4NtmVqOlm…"
            }
          ],
          "musicDisk": {
            "expand": false
          },
          "musicStrategy": {
            "isMusicMuted": false
          },
          "noNeedToRequestPLCApi": true,
          "…": "43 more fields in the full response"
        },
        {
          "adminTags": [],
          "canShowQuickCommentGuide": true,
          "caption": "都灵车展主席、TADA都灵汽车设计奖主席 Andrea Levy #2025广州国际车展 #逛展第二弹!直击小米SU7 直击小米SU7 Ultra!国际设计权威亲自揭秘,他究竟如何评价这台国产性能猛兽?快戳视频>> #上汽车之家看有用的车展指南",
          "captionToComment": "都灵车展主席、TADA都灵汽车设计奖主席 Andrea Levy #2025广州国际车展 #逛展第二弹!直击小米SU7 直击小米SU7 Ultra!国际设计权威亲自揭秘,他究竟如何评价这台国产性能猛兽?快戳视频>> #上汽车之家看有用的车展指南",
          "collect_count": 29,
          "commentGuessSearch": {
            "displayPrefix": "相关搜索:",
            "extParams": "{\"all_source\":\"p2q_semantic_recall_v4\",\"entrySource\":\"search_entrance_comment_trending\",\"rel_score\":\"0.355144\",\"stg_recall_source\":\"p2q_semantic_recall_v4\"}\n",
            "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
            "searchWord": "阿维塔12",
            "searchWordMD5": "8bb39a653a671ef023bdcdae17c8598f",
            "searchWordUrl": "kwai://search?keyword=阿维塔12&sessionId=MzIwXzBfMTc5MDY5MDg0MTM2MF9fMzc3OQ&source=search_entrance_comment_trending&extParams={\"refer_photo_id\":\"180755531315\",\"adQuerySource\":\"\",\"biz_source\":\"cmt_gys\",\"statistic_flag\":\"0\",\"recall_source\":\"p2q_semantic_recall_v4\"}&alwaysUploadExtParams=true",
            "sessionId": "MzIwXzBfMTc5MDY5MDg0MTM2MF9fMzc3OQ"
          },
          "commentInfo": {
            "commentCountSpecialEffect": true,
            "commentEducationGuide": {
              "guideType": 0,
              "triggerCharCount": 0
            },
            "commentIconType": 0,
            "enableAIPresetGuide": false,
            "permissions": 191
          },
          "commentTopBarPriority": [
            {
              "bizType": "PLC",
              "subBizType": "51"
            },
            {
              "bizType": "SEARCH",
              "subBizType": "GUESS_SEARCH"
            },
            "… 10 more items in the full response"
          ],
          "comment_count": 85,
          "coronaCaption": {
            "captionSource": 1,
            "detailCaption": {
              "caption": "都灵车展主席、TADA都灵汽车设计奖主席 Andrea Levy  !直击小米SU7直击小米SU7 Ultra!国际设计权威亲自揭秘,他究竟如何评价这台国产性能猛兽?快戳视频>>",
              "captionSource": 1,
              "tagClickable": false
            },
            "tabCaption": "都灵车展主席、TADA都灵汽车设计奖主席 Andrea Levy  !直击小米SU7直击小米SU7 Ultra!国际设计权威亲自揭秘,他究竟如何评价这台国产性能猛兽?快戳视频>>",
            "tagCaption": {
              "caption": "#2025广州国际车展 #逛展第二弹 #上汽车之家看有用的车展指南",
              "tagClickable": true
            }
          },
          "coronaVipInfo": {
            "enableFilmAd": false,
            "filmAdInfo": {
              "pageId": 100014436,
              "posId": 9777,
              "subPageId": 100017199
            },
            "inspireAdInfo": {
              "pageId": 100011251,
              "posId": 20578,
              "subPageId": 100024209
            },
            "vipPhoto": false
          },
          "cover_thumbnail_urls": [
            {
              "cdn": "ws2.a.kwimgs.com",
              "url": "http://ws2.a.kwimgs.com/upic/2025/11/25/11/BMjAyNTExMjUxMTQ0MzhfOTAzNTExNzcyXzE4MDc1NTUzMTMxNV8wXzM=_hd_Bcdd046d7b35a53ef8032e4878518ed68.kvif?tag=1-1790690841-sp-0-kchp8vbiun-f8161a387e7ed9ec&clientCacheKey=3xzpqam3n8ikx5y_hd.kvif&di=4314082a&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2025/11/25/11/BMjAyNTExMjUxMTQ0MzhfOTAzNTExNzcyXzE4MDc1NTUzMTMxNV8wXzM=_hd_Bcdd046d7b35a53ef8032e4878518ed68.kvif?tag=1-1790690841-sp-1-9wr8zq4whf-d17bf3683c5cf61d&clientCacheKey=3xzpqam3n8ikx5y_hd.kvif&di=4314082a&bp=10321"
            }
          ],
          "danmakuInfo": {
            "danmakuShowDirection": 2,
            "defaultDanmaku": "发个弹幕见证此刻",
            "hasDanmaku": true,
            "paster": false,
            "photoDanmakuGuide": false,
            "supportIntelligentSwitch": true
          },
          "disableCommentDislike": false,
          "duration": 156380,
          "editInfo": {},
          "enableCoronaDetailPage": false,
          "enableCoronaViewLater": true,
          "enableFullScreenPlay": true,
          "enableShareToStory": true,
          "exp_tag": "1_u/0_sp0",
          "ext_params": {
            "color": "262426",
            "h": 720,
            "interval": 50,
            "mtype": 3,
            "sound": 156385,
            "video": 156380,
            "w": 1280
          },
          "feedLogCtx": {
            "logParams": "{}",
            "stExParams": "",
            "stidContainer": "CkMxfDIwMTAxMzM5MzIzNzMxODc4NDF8cGhvdG86NTIyODk2MDgyMzMzMjIwNzI5Nnx7InBnIjoic3AifXx7InIiOjB9"
          },
          "feedSwitches": {
            "disable61ActivityAnimation": true,
            "disableCommentLikeAnimation": false,
            "enablePictureCommentForPhoto": true,
            "enablePlayerPanel": true
          },
          "ff_cover_thumbnail_urls": [
            {
              "cdn": "ws2.a.kwimgs.com",
              "url": "http://ws2.a.kwimgs.com/upic/2025/11/25/11/BMjAyNTExMjUxMTQ0MzhfOTAzNTExNzcyXzE4MDc1NTUzMTMxNV8wXzM=_ff_B8b4724165f238fe2c355a9750f65825f.kvif?tag=1-1790690841-sp-0-lk8ge6iqei-e87f1c2931430bb2&clientCacheKey=3xzpqam3n8ikx5y_ff.kvif&di=4314082a&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2025/11/25/11/BMjAyNTExMjUxMTQ0MzhfOTAzNTExNzcyXzE4MDc1NTUzMTMxNV8wXzM=_ff_B8b4724165f238fe2c355a9750f65825f.kvif?tag=1-1790690841-sp-1-5uuutmu6tc-c511c2bb2d0b22a8&clientCacheKey=3xzpqam3n8ikx5y_ff.kvif&di=4314082a&bp=10321"
            }
          ],
          "followShoot": {
            "isLipsSyncPhoto": false
          },
          "following": 0,
          "forward_count": 0,
          "forward_stats_params": {
            "et": "1_u/0_sp0"
          },
          "frameStyle": 0,
          "hasVote": false,
          "headurls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2026/04/22/14/BMjAyNjA0MjIxNDUzNThfOTAzNTExNzcyXzJfaGQ3M180ODY=_s.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2026/04/22/14/BMjAyNjA0MjIxNDUzNThfOTAzNTExNzcyXzJfaGQ3M180ODY=_s.jpg"
            }
          ],
          "inputPromptGuide": "推荐点别的",
          "kwaiId": "Autohome",
          "like_count": 551,
          "liked": 0,
          "location": {},

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

Kuaishou Batch Video Details API

Returns details for several Kuaishou videos in one call. The only input is photo_ids, a comma-separated string of up to 40 photo IDs. The response has a photos list with one entry per video.

Use cases

  • Pull like, comment and collect counts for a set of videos from one account to compare their engagement.
  • Download cover image and video stream URLs for a batch of posts you already track.
  • Read captions and hashtags of event videos to group them by topic.
  • Check video length and frame size for many posts before processing them.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/videos-batch" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_ids": "5228960823332207296,5196309727975443273,5222486898325987583"}'

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

Parameters

NameTypeRequiredDescription
photo_idsstringYesPhoto ID list, multiple IDs separated by commas, max 40 per request

Example response

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

{
  "host-name": "public-bjzey-c34-kce-node1456.idchb1az3.hb1.kwaidc.com",
  "photos": [
    {
      "adminTags": [],
      "canShowQuickCommentGuide": true,
      "caption": "零跑A10正式发布 2026年冲击年销100万辆  #2025广州国际车展  #2025广州车展  #上汽车之家看有用的车展指南",
      "captionToComment": "零跑A10正式发布 2026年冲击年销100万辆 #2025广州国际车展 #2025广州车展 #上汽车之家看有用的车展指南",
      "collect_count": 4,
      "commentGuessSearch": {
        "displayPrefix": "相关搜索:",
        "extParams": "{\"all_source\":\"p2q_semantic_recall_v1\",\"entrySource\":\"search_entrance_comment_tr…",
        "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
        "searchWord": "零跑全域自研",
        "searchWordMD5": "ba63484b615923962aaced09bbad743a",
        "searchWordUrl": "kwai://search?keyword=零跑全域自研&sessionId=MzIwXzBfMTc5MzY5MTM4MDI5OV9fNDQyNA&source…",
        "sessionId": "MzIwXzBf…"
      },
      "commentInfo": {
        "commentCountSpecialEffect": true,
        "commentEducationGuide": {
          "guideType": 0,
          "triggerCharCount": 0
        },
        "commentIconType": 0,
        "enableAIPresetGuide": false,
        "permissions": 191
      },
      "commentTopBarPriority": [
        {
          "bizType": "PLC",
          "subBizType": "51"
        }
      ],
      "comment_count": 11,
      "coronaVipInfo": {
        "enableFilmAd": false,
        "filmAdInfo": {
          "pageId": 100014436,
          "posId": 9777,
          "subPageId": 100017199
        },
        "inspireAdInfo": {
          "pageId": 100011251,
          "posId": 20578,
          "subPageId": 100024209
        },
        "vipPhoto": false
      },
      "cover_thumbnail_urls": [
        {
          "cdn": "ws2.a.kwimgs.com",
          "url": "http://ws2.a.kwimgs.com/upic/2025/11/22/14/BMjAyNTExMjIxNDE2NTdfOTAzNTExNzcyXzE4…"
        }
      ],
      "danmakuInfo": {
        "danmakuShowDirection": 2,
        "defaultDanmaku": "发个友善的弹幕吧",
        "hasDanmaku": true,
        "paster": false,
        "photoDanmakuGuide": false
      }
    }
  ],
  "result": 1
}

Response fields

FieldMeaning
photos[]One entry per requested video. Each entry holds the fields below.
photos[].captionPost text, including hashtags written as #tag.
photos[].like_count / photos[].comment_count / photos[].collect_count / photos[].forward_countCounts of likes, comments, collects and forwards for the video.
photos[].durationVideo length. The value 56233 for a clip matches ext_params.video, which suggests milliseconds.
photos[].ext_params.w / photos[].ext_params.hVideo width and height in pixels. A portrait clip shows w 720 and h 1280.
photos[].main_mv_urls[].urlVideo stream URL. Each item pairs a cdn host with a url, so the same video is offered on more than one host.
photos[].cover_thumbnail_urls[].urlCover image URL for the video, one per cdn host.
photos[].headurls[].urlAvatar image URL of the author, one per cdn host.
photos[].kwaiIdPublic Kuaishou ID of the author, for example Autohome.
photos[].commentGuessSearch.searchWordSuggested related search phrase shown with the comments.

Notes

Pricing

$0.04 per successful call. Failed calls are not charged.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Kuaishou$0.04 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON

Panduan:Best Kuaishou API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Kuaishou Batch Video Details?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/kuaishou/app/videos-batch dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Kuaishou Batch Video Details?

$0.04 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Kuaishou Batch Video Details?

Wajib: photo_ids (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Kuaishou Batch Video Details?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Kuaishou?

Tidak. Kuaishou Batch Video Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Kuaishou secara terpisah.