Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Kuaishou Video Details (V1)

Documentación de la API
https://api.sandbase.ai/v1/api/kuaishou/app/one-video

Returns detailed video metadata for a single Kuaishou video post using its photo identifier. Query by video ID to inspect post attributes.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales
100 llamadas gratis / díaLas primeras 100 llamadas de cada día son gratis (compartidas por organización) · Se restablecen a las 00:00 UTC. Después, pago por llamada.

Entorno de pruebas

Entrada
SalidaEjemplo
Respuestaoutputs · 23.4 KB · 505 líneas
[
  {
    "data": {
      "host-name": "public-bjzey-c34-kce-node1360.idchb1az3.hb1.kwaidc.com",
      "photos": [
        {
          "adminTags": [],
          "canShowQuickCommentGuide": true,
          "caption": "哥哥我会魔法一人就能变成两@李秀妍u(O4489551526) #李秀妍u #为自己代言",
          "captionSearchInfo": {
            "actionUrlList": [
              "kwai://search?keyword=%E5%93%A5%E5%93%A5%E6%88%91%E4%BC%9A%E9%AD%94%E6%B3%95&sessionId=MzIwXzBfMTc5MTI5MDQ5OTg1MV9fMjUxNg&source=search_entrance_cap_keyword&extParams=%7B%22refer%5Fphoto%5Fid%22%3A%22152529834216%22%2C%22biz%5Fsource%22%3A%22caption%22%7D&alwaysUploadExtParams=true"
            ],
            "captionSearchType": 2,
            "dataSource": 0,
            "extParams": "{\"entrySourceList\":[\"search_entrance_cap_keyword\"]}\n",
            "offsetList": [
              0
            ],
            "queryIdList": [
              "12884d6cc3162e18e00d3f66e82dc247"
            ],
            "searchWordList": [
              "哥哥我会魔法"
            ],
            "sessionId": "MzIwXzBfMTc5MTI5MDQ5OTg1MV9fMjUxNg"
          },
          "captionToComment": "哥哥我会魔法一人就能变成两@李秀妍u(O4489551526) #李秀妍u #为自己代言",
          "collect_count": 9969,
          "commentGuessSearch": {
            "displayPrefix": "相关搜索:",
            "extParams": "{\"all_source\":\"p2q_semantic_recall_v1,p2q_query_extend\",\"entrySource\":\"search_entrance_comment_trending\",\"rel_score\":\"0.519396\",\"stg_recall_source\":\"p2q_query_extend\"}\n",
            "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
            "searchWord": "李秀妍和榜一大哥的视频",
            "searchWordMD5": "c541e248be165bd097c418eb43aa4a47",
            "searchWordUrl": "kwai://search?keyword=李秀妍和榜一大哥的视频&sessionId=MzIwXzBfMTc5MTI5MDQ5OTg1MV9fMjUxNg&source=search_entrance_comment_trending&extParams={\"refer_photo_id\":\"152529834216\",\"adQuerySource\":\"\",\"biz_source\":\"cmt_gys\",\"statistic_flag\":\"0\",\"recall_source\":\"p2q_query_extend\"}&alwaysUploadExtParams=true",
            "sessionId": "MzIwXzBfMTc5MTI5MDQ5OTg1MV9fMjUxNg"
          },
          "commentInfo": {
            "commentCountSpecialEffect": true,
            "commentEducationGuide": {
              "guideType": 0,
              "triggerCharCount": 0
            },
            "commentIconType": 0,
            "enableAIPresetGuide": false,
            "permissions": 191
          },
          "commentTopBarPriority": [
            {
              "bizType": "PLC",
              "subBizType": "51"
            },
            {
              "bizType": "SEARCH",
              "subBizType": "GUESS_SEARCH"
            },
            {
              "bizType": "PLC",
              "subBizType": "62"
            },
            "… 9 more items in the full response"
          ],
          "comment_count": 3053,
          "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/2024/12/29/22/BMjAyNDEyMjkyMjE1NDJfMzc5NTIxNDQxMV8xNTI1Mjk4MzQyMTZfMV8z_hd_B9ab9d1e386eb7d98e6174d41e8eef614.kvif?tag=1-1791290499-sp-0-vy5vmjycqj-762733b9d48038a5&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_hd.kvif&di=181e1061&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2024/12/29/22/BMjAyNDEyMjkyMjE1NDJfMzc5NTIxNDQxMV8xNTI1Mjk4MzQyMTZfMV8z_hd_B9ab9d1e386eb7d98e6174d41e8eef614.kvif?tag=1-1791290499-sp-1-9bvv9bokcz-cd85cdf024f97590&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_hd.kvif&di=181e1061&bp=10321"
            }
          ],
          "danmakuInfo": {
            "danmakuShowDirection": 2,
            "defaultDanmaku": "发个友善的弹幕吧",
            "hasDanmaku": true,
            "paster": false,
            "photoDanmakuGuide": false
          },
          "disableCommentDislike": false,
          "duration": 30266,
          "editInfo": {},
          "enableCoronaDetailPage": false,
          "enableCoronaViewLater": true,
          "enableFullScreenPlay": false,
          "enableShareToStory": true,
          "exp_tag": "1_i/0_sp0",
          "ext_params": {
            "color": "1B140F",
            "h": 960,
            "interval": 60,
            "mtype": 3,
            "sound": 30210,
            "video": 30266,
            "w": 720
          },
          "feedLogCtx": {
            "logParams": "{}",
            "stExParams": "",
            "stidContainer": "CkMxfDIwMTAxNzc0ODU3ODgxMDczNDV8cGhvdG86NTE5MzQ5NDk0NTkyNzU5MDE0MHx7InBnIjoic3AifXx7InIiOjB9"
          },
          "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/2024/12/29/22/BMjAyNDEyMjkyMjE1NDJfMzc5NTIxNDQxMV8xNTI1Mjk4MzQyMTZfMV8z_ff_Bded6443110728fd23f89e140278c2fcc.kvif?tag=1-1791290499-sp-0-otckc3sgao-a24c254cb427f227&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_ff.kvif&di=181e1061&bp=10321"
            },
            {
              "cdn": "tx2.a.kwimgs.com",
              "url": "http://tx2.a.kwimgs.com/upic/2024/12/29/22/BMjAyNDEyMjkyMjE1NDJfMzc5NTIxNDQxMV8xNTI1Mjk4MzQyMTZfMV8z_ff_Bded6443110728fd23f89e140278c2fcc.kvif?tag=1-1791290499-sp-1-nvneg4s372-907e01ddad9b0341&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_ff.kvif&di=181e1061&bp=10321"
            }
          ],
          "followShoot": {
            "isLipsSyncPhoto": false
          },
          "following": 0,
          "forward_count": 0,
          "forward_stats_params": {
            "et": "1_i/0_sp0"
          },
          "frameStyle": 0,
          "hasVote": false,
          "headurls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_s.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_s.jpg"
            }
          ],
          "inputPromptGuide": "推荐点别的",
          "like_count": 91759,
          "liked": 0,
          "location": {},
          "longVideo": true,
          "main_mv_urls": [
            {
              "cdn": "v1.kwaicdn.com",
              "url": "http://v1.kwaicdn.com/ksc1/o1jePJtTEoYm0doMk599I6r7JIMFBR_C3mHaa57wyP9ZlNLCKq_ZfJH9ZBY0jTVb9zMVNo5YYJCrj02hCTAsQmxfHOIzrinJTgirsG-xDo6fnuIgy8sbHzjFZChj6UoylsUp2lwbpOrIONpHoAcb-q4v6G30WRKh_YD4V-NvRjBwkRdblD4fPrGT3sYCBjkm.mp4?pkey=AAWDCUZxAENhX1HoKat3wbRQozl10PwsvVj80Vizbxb6AOVxvOkctfFoyMlt1nofd-5h8hREna_HAhP7muO6jpjw4MmSOJZSwWHLh7xvR45FD8mGQhmjnS9we6jF_rhLUOQ&tag=1-1791290499-sp-0-epfckmpwe2-528529464a083757&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_b.mp4&tt=b&di=181e1061&bp=10321"
            },
            {
              "cdn": "v22.kwaicdn.com",
              "url": "http://v22.kwaicdn.com/ksc1/o1jePJtTEoYm0doMk599I6r7JIMFBR_C3mHaa57wyP9ZlNLCKq_ZfJH9ZBY0jTVb9zMVNo5YYJCrj02hCTAsQmxfHOIzrinJTgirsG-xDo6fnuIgy8sbHzjFZChj6UoylsUp2lwbpOrIONpHoAcb-q4v6G30WRKh_YD4V-NvRjBwkRdblD4fPrGT3sYCBjkm.mp4?pkey=AAVJdaWisjWwl3t4zLl9YZTEHeiqsCCMwGmOTdev75H8vQPwoz1zCUOrEWvetIqmyzXUWL-P0-5Cgtz3EYtuheRZkuWwjkl12IupHbsXafgIttvjMcA9lGWUomn9dlB6deA&tag=1-1791290499-sp-1-v60lz9xyov-717eba9b963f81f9&type=hot&clientCacheKey=3xgqdzu8cnrpmqq_b.mp4&tt=b&di=181e1061&bp=10321"
            }
          ],
          "musicDisk": {
            "expand": false
          },
          "musicStrategy": {
            "isMusicMuted": false
          },
          "noNeedToRequestPLCApi": true,
          "originalPhotoId": "5193494945927590140",
          "photoReward": {
            "canFreeFavorAuthor": false,
            "descNotClickText": "152 赞赏",
            "favorGuideStrategy": 0,
            "rewardCount": 152
          },
          "photoTextLocationInfo": {
            "heightRatio": 0.04379,
            "leftRatio": 0.28993,
            "topRatio": 0.75542,
            "widthRatio": 0.41666
          },
          "photo_id": 5193494945927590000,
          "photo_status": 0,
          "plcFeatureEntryAbFlag": 3,
          "plcHighPriorityThanBottomEntry": false,
          "plcResponseTime": 1791290499843,
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "ptp": "",
          "recoTags": [],
          "recreationSetting": 1,
          "sameFrame": {
            "allow": true,
            "availableDepth": 7
          },
          "savePlayProgressStrategy": 2,
          "serverExpTag": "feed_photo|5193494945927590140|3795214411|1_i/0_sp0",
          "shareGuide": {
            "minPlayDurationInSeconds": 15,
            "photoShareGuide": false,
            "playTimes": 2,
            "textDisplayDurationInSeconds": 4
          },
          "sharePassingParam": "{\"trendingType\":\"UNKNOWN\",\"mainTitle\":\"\",\"subTitle\":\"\",\"likeCount\":91759,\"commentCount\":0,\"shareCount\":0,\"collectCount\":0,\"authorId\":3795214411}",
          "share_count": 5780,
          "share_info": "userId=3xsmy336jkzj6ii&photoId=3xgqdzu8cnrpmqq",
          "showGrDetailPage": false,
          "showSpecialFollowIcon": 2,
          "slideCommentEntryDisabled": false,
          "soundTrack": {
            "artist": "秀妍日记",
            "audioType": 1,
            "audioUrls": [
              {
                "cdn": "tx2.a.yximgs.com",
                "url": "http://tx2.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.m4a"
              },
              {
                "cdn": "hw.a.yximgs.com",
                "url": "http://hw.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.m4a"
              }
            ],
            "avatarUrls": [
              {
                "cdn": "tx2.a.yximgs.com",
                "url": "http://tx2.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.jpg"
              },
              {
                "cdn": "hw.a.yximgs.com",
                "url": "http://hw.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.jpg"
              }
            ],
            "disableEnhancedEntry": true,
            "duration": 30,
            "finalStatus": 0,
            "genreId": 0,
            "hasCopyright": true,
            "id": "5xt3gqan2yv8t82",
            "imageUrls": [
              {
                "cdn": "tx2.a.yximgs.com",
                "url": "http://tx2.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.jpg"
              },
              {
                "cdn": "hw.a.yximgs.com",
                "url": "http://hw.a.yximgs.com/bs2/ost/MTUyNTI5ODM0MjE2XzM3OTUyMTQ0MTE.jpg"
              }
            ],
            "isOffline": false,
            "loudness": -15,
            "name": "秀妍日记的作品原声",
            "photoId": 5193494945927590000,
            "type": 9,
            "user": {
              "eid": "3xsmy336jkzj6ii",
              "following": false,
              "headurl": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_s.jpg",
              "headurls": [
                {
                  "cdn": "p22.a.yximgs.com",
                  "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_s.jpg"
                },
                {
                  "cdn": "p4.a.yximgs.com",
                  "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_s.jpg"
                }
              ],
              "profilePagePrefetchInfo": {
                "profilePageType": 1
              },
              "user_id": 3795214411,
              "user_name": "秀妍日记",
              "user_sex": "U",
              "visitorBeFollowed": false
            }
          },
          "sourcePhotoPage": "sp",
          "streamManifest": {
            "adaptationSet": [
              {
                "duration": 30300,
                "id": 1,
                "representation": [
                  {
                    "adaptiveType": 7,
                    "agc": true,
                    "avgBitrate": 854,
                    "backupUrl": [
                      "http://v22.kwaicdn.com/ksc1/nGXT7o_Gz-W3uqV0luXz_WavsjnR4ONmUm5e3HQ4yBCBbAbxQY8144yrw-W4ddwOeabOUwtq0SEuALqcyymeG1NeEhwgDLJgpShzLYZNPvl8-48zupaZLHSmFjJav7Ht.mp4?pkey=AAW7Wp6BmfjJ058EU5cc7zQwKeHhk4Sn3yeF-u5Hbqulht72K7PSp68TZ78B9P1MKfVTA_57mEyuo-jBEuanD5uQDc9A7ldVeMpoGzyvy6WMyGiuWdWp8yufXR8xFART58I&tag=1-1791290499-sp-1-oftg0viovj-068f880f7f1b0415&clientCacheKey=3xgqdzu8cnrpmqq_cd330b62&di=181e1061&bp=10321&kwai-not-alloc=35&tt=v7UltraV2&ss=vpm"
                    ],
                    "bitratePattern": [
                      999,

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

Kuaishou Video Details (V1) API

Returns metadata for one Kuaishou video post, including its caption, engagement counts, duration, cover images and video file URLs. It needs the post's photo_id as input.

Use cases

  • Read the like, comment and collect counts of a single Kuaishou video to track how a post performs.
  • Pull the caption and hashtags of a video to see how a creator describes the post.
  • Get the video file URLs and cover image URLs to preview or archive a specific post.
  • Check the video length and frame size before processing the file.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/one-video" \
  -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

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-node373.idchb1az3.hb1.kwaidc.com",
  "photos": [
    {
      "adminTags": [],
      "canShowQuickCommentGuide": true,
      "caption": "哥哥我会魔法一人就能变成两@李秀妍u(O4489551526) #李秀妍u #为自己代言",
      "captionSearchInfo": {
        "actionUrlList": [
          "kwai://search?keyword=%E5%93%A5%E5%93%A5%E6%88%91%E4%BC%9A%E9%AD%94%E6%B3%95&ses…"
        ],
        "captionSearchType": 2,
        "dataSource": 0,
        "extParams": "{\"entrySourceList\":[\"search_entrance_cap_keyword\"]}\n",
        "offsetList": [
          0
        ],
        "queryIdList": [
          "12884d6cc3162e18e00d3f66e82dc247"
        ],
        "searchWordList": [
          "哥哥我会魔法"
        ],
        "sessionId": "MzIwXzBf…"
      },
      "captionToComment": "哥哥我会魔法一人就能变成两@李秀妍u(O4489551526) #李秀妍u #为自己代言",
      "collect_count": 9947,
      "commentGuessSearch": {
        "displayPrefix": "相关搜索:",
        "extParams": "{\"all_source\":\"p2q_semantic_recall_v8\",\"entrySource\":\"search_entrance_comment_tr…",
        "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
        "searchWord": "李秀妍跳舞后背录屏",
        "searchWordMD5": "1f4a5960222268ee00ee0f66d2039d43",
        "searchWordUrl": "kwai://search?keyword=李秀妍跳舞后背录屏&sessionId=MzIwXzBfMTc5MzY5MTM1ODEyNV9fOTUxMg&sou…",
        "sessionId": "MzIwXzBf…"
      },
      "commentInfo": {
        "commentCountSpecialEffect": true,
        "commentEducationGuide": {
          "guideType": 0,
          "triggerCharCount": 0
        },
        "commentIconType": 0,
        "enableAIPresetGuide": false,
        "permissions": 191
      },
      "commentTopBarPriority": [
        {
          "bizType": "PLC",
          "subBizType": "51"
        }
      ],
      "comment_count": 3053,
      "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/2024/12/29/22/BMjAyNDEyMjkyMjE1NDJfMzc5NTIxNDQxMV8x…"
        }
      ]
    }
  ],
  "result": 1
}

Response fields

FieldMeaning
photos[].captionCaption text of the post, including hashtags and @mentions.
photos[].like_countNumber of likes on the post.
photos[].comment_count / collect_count / forward_countCounts of comments, collects (saves) and forwards for the post.
photos[].durationLength of the video. The value 30266 matches ext_params.video, so it is most likely in milliseconds (about 30 seconds).
photos[].ext_params.w / hWidth and height of the video in pixels (720 by 960 in the sample).
photos[].main_mv_urls[].urlVideo file URLs, with the CDN host name in cdn. Each entry is an alternative address for the same video.
photos[].cover_thumbnail_urls[].urlCover image URLs for the video, one per CDN host.
photos[].headurls[].urlAvatar image URLs of the post author.
photos[].captionSearchInfo.searchWordListSearch phrases that Kuaishou extracted from the caption.
photos[].commentGuessSearch.searchWordRelated search phrase shown with the comments.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Kuaishou$0.001 por llamadaJSON
Kuaishou$0.001 por llamadaJSON
Kuaishou$0.001 por llamadaJSON
Kuaishou$0.001 por llamadaJSON
Kuaishou$0.001 por llamadaJSON
Kuaishou$0.001 por llamadaJSON

Guías:Best Kuaishou API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Kuaishou Video Details (V1)?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/kuaishou/app/one-video con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Kuaishou Video Details (V1)?

$0.001 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.

¿Qué parámetros acepta la API de Kuaishou Video Details (V1)?

Requeridos: photo_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Kuaishou Video Details (V1)?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Kuaishou?

No. Kuaishou Video Details (V1) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Kuaishou por separado.