Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Kuaishou Single Video Details

API 文档
https://api.sandbase.ai/v1/api/kuaishou/web/one-video

Returns detailed metadata for a single Kuaishou video post using shared link content. Note that photo-only posts are not supported.

价格
$0.002美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Kuaishou Single Video Details API

Returns metadata for one Kuaishou video post. It needs a shared link to the post in share_text. The response is a list with one object that holds counts, author info, cover and video URLs, and stream variants.

Use cases

  • Pull the view, like, comment and share counts of a video that someone shared as a link.
  • Collect the author name, Kuaishou ID and user ID behind a shared video.
  • Get the cover image and MP4 URLs of a video to archive or preview it.
  • Read the resolution and duration of a video to check its format before processing it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/one-video" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"share_text": "https://www.kuaishou.com/f/X-f2k5KJpiXN1SY"}'

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

Parameters

NameTypeRequiredDescription
share_textstringYes

Example response

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

[
  {
    "adminTags": [],
    "caption": "外 星 鸭 脖",
    "commentCount": 3248,
    "commentShowType": 2,
    "coverUrls": [
      {
        "cdn": "p2.a.yximgs.com",
        "url": "https://p2.a.yximgs.com/upic/2024/11/08/17/BMjAyNDExMDgxNzQwMzlfMjI4OTA1ODAyXzE0…"
      }
    ],
    "duration": 58750,
    "exp_tag": "1_a/2006452015065702178_s0",
    "ext_params": {
      "color": "7D7A7D",
      "h": 1280,
      "interval": 60,
      "mtype": 3,
      "sound": 58751,
      "video": 58750,
      "w": 720
    },
    "forcePublic": "H4sIAAAAAAAA%2F%2BNQEmCQ2Lbi8PnlLEaSXOzFGYlFqZ4pQnyGFoYmBhaGFuaWRoaGJgBl99ASJgAA…",
    "forwardCount": 0,
    "headUrl": "https://p4-pro.a.yximgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1…",
    "headUrls": [
      {
        "cdn": "p4-pro.a.yximgs.com",
        "url": "https://p4-pro.a.yximgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1…"
      }
    ]
  }
]

Response fields

FieldMeaning
[].photoIdID of the post. Pass it to the comment APIs to read the post's comments.
[].captionText caption of the video.
viewCount / likeCount / commentCount / shareCount / forwardCountEngagement counts for the video. Read them as the totals at the time of the call.
[].timestampPublish time of the post as a 13-digit number. It looks like Unix time in milliseconds.
[].durationLength of the video. The value 58750 matches ext_params.video, so it is most likely milliseconds.
[].width / [].heightFrame size of the video in pixels (720 by 1280 in the sample).
[].mainMvUrls[].urlDirect MP4 links to the video, listed once per CDN host in cdn.
[].coverUrls[].urlCover image links for the video, one per CDN host.
[].userId / [].userEid / [].userName / [].kwaiIdIdentity of the author: numeric user ID, encoded user ID, display name and Kuaishou ID. kwaiId appears on the root object and inside soundTrack.user.
[].manifest.adaptationSet[].representation[]Stream variants of the video. Each has avgBitrate, backupUrl links, and a comment string that names the codec and quality.
[].soundTrack.name / [].soundTrack.audioUrls[].urlName of the audio track and links to its .m4a file.

Notes

  • Set share_text to a Kuaishou share link such as https://www.kuaishou.com/f/X-f2k5KJpiXN1SY.
  • Photo-only posts are not supported. Check photoType, which is VIDEO for a video post.
  • To read comments on the video, call Kuaishou Video Comments (Web) with the post ID.
  • For another version of this lookup, see Kuaishou Single Video Details (V2).

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
Kuaishou$0.002 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.002 每次调用JSON

指南:Best Kuaishou API in 2026: Pricing Compared

问题

常见问题

如何使用 Kuaishou Single Video Details API?

向 https://api.sandbase.ai/v1/api/kuaishou/web/one-video 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Kuaishou Single Video Details API 的价格是多少?

每次调用 $0.002,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Kuaishou Single Video Details API 接受哪些参数?

必填:share_text (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Kuaishou Single Video Details API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Kuaishou 开发者账户或 API key 吗?

不需要。Kuaishou Single Video Details 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Kuaishou API 访问权限。