100 free credits. No credit card required. Get a key

Kwai user videos API

A Kwai account’s videos, newest first, with views, likes, comments, shares and media URLs.

GET /v1/kwai/user/posts1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/kwai/user/posts?handle=cinenarrastar550",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"data": [
{
"photo_id_str": "5211659304494244463",
"photo_id": 5211659304494245000,
"caption": "ABANDONADOS EM UM PLANETA HOSTIL #NarraStars #filme",
"timestamp": 1795538092668,
"time": "2026-11-25 00:34:52",
"view_count": 5,
"like_count": 0,
"comment_count": 0,
"forward_count": 0,
"kwai_id": "cinenarrastar550",
"user_name": "CINE NARRASTAR",
"main_mv_urls": [
{
"url": "https://ak-br-cdn.kwai.net/upic/2026/11/25/00/BMjAyNjExMjUwMDM0MDhfMTUwMDAxNjA5MzA2Mjc4XzE…",
"cdn": "ak-br-cdn.kwai.net"
},
{
"url": "https://aws-br-cdn.kwai.net/upic/2026/11/25/00/BMjAyNjExMjUwMDM0MDhfMTUwMDAxNjA5MzA2Mjc4Xz…",
"cdn": "aws-br-cdn.kwai.net"
}
],
"cover_thumbnail_urls": [
{
"url": "https://p15-kimg.kwai.net/kimg/EKzM1y8qmQEKAnMzEg1waG90by1vdmVyc2VhGoMBdXBpYy8yMDI2LzExLzI…",
"cdn": "p15-kimg.kwai.net"
},
{
"url": "https://p16-kimg.kwai.net/kimg/EKzM1y8qmQEKAnMzEg1waG90by1vdmVyc2VhGoMBdXBpYy8yMDI2LzExLzI…",
"cdn": "p16-kimg.kwai.net"
}
],
"displayTime": "",
"…": "81 more fields"
},
{
"photo_id_str": "5205466856983116008",
"photo_id": 5205466856983116000,
"caption": "DESDE DE QUE NASCI CONSIGO VE ANJOS #NarraStars #filme",
"timestamp": 1795537965794,
"time": "2026-11-25 00:32:45",
"view_count": 1,
"like_count": 0,
"comment_count": 0,
"forward_count": 0,
"kwai_id": "cinenarrastar550",
"user_name": "CINE NARRASTAR",
"main_mv_urls": [
{
"url": "https://ak-br-cdn.kwai.net/upic/2026/11/25/00/BMjAyNjExMjUwMDMyMDVfMTUwMDAxNjA5MzA2Mjc4XzE…",
"cdn": "ak-br-cdn.kwai.net"
},
{
"url": "https://aws-br-cdn.kwai.net/upic/2026/11/25/00/BMjAyNjExMjUwMDMyMDVfMTUwMDAxNjA5MzA2Mjc4Xz…",
"cdn": "aws-br-cdn.kwai.net"
}
],
"cover_thumbnail_urls": [
{
"url": "https://p15-kimg.kwai.net/kimg/EKzM1y8qmQEKAnMzEg1waG90by1vdmVyc2VhGoMBdXBpYy8yMDI2LzExLzI…",
"cdn": "p15-kimg.kwai.net"
},
{
"url": "https://p16-kimg.kwai.net/kimg/EKzM1y8qmQEKAnMzEg1waG90by1vdmVyc2VhGoMBdXBpYy8yMDI2LzExLzI…",
"cdn": "p16-kimg.kwai.net"
}
],
"displayTime": "",
"…": "81 more fields"
},
"… 1 more"
],
"meta": {
"result_count": 3,
"next_token": "1795278078994"
}
}

Parameters

NameTypeDescription
handlequerystringKwai id (the @name), with or without @. Example: cinenarrastar550.
urlquerystringOr the profile URL.
afterquerystringThe previous page’s meta.next_token.
countqueryintegerVideos per page, 1 to 50. Defaults to 20.
Response fields

200 with a KwaiPhotos, in Kwai’s own JSON.

FieldTypeDescription
dataKwaiPhoto[]
metaobject
Status codes
StatusMeaning
200A page of videos.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account or video does not exist.
429Too many requests. Wait for Retry-After seconds.
503Kwai is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How many a page?

Up to 50 with count.

Kwai is a trademark of Kuaishou Technology. We are not affiliated with or endorsed by Kuaishou Technology.