Kwai

Get Kwai video

Get a Kwai video by URL with its caption, counts, cover, file and transcript.

GET/v1/kwai/videos
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
urlstringrequiredquery

Link to the Kwai video, as in https://www.kwai.com/@KwaiBrasilOficial/video/5210533406984454491.

min 1 chars · max 512 chars

Response fields
36

Endpoint-specific response payload.

datalookupStatus
string

`not_found` for a deleted, private or unknown video.

one of: found, not_found

The video when `lookupStatus` is `found`; otherwise null.

datavideoid
string

Kwai video id.

datavideourl
string

Video page.

datavideocaption
stringnullable

Caption as plain text.

Hashtags in the caption, without the `#`.

datavideohashtags[]
stringoptional
datavideocreatedAt
stringnullable

When the video was posted, ISO 8601 UTC.

datavideodurationSeconds
numbernullable

Length in seconds, when known.

datavideowidth
integernullable

Width in pixels.

datavideoheight
integernullable

Height in pixels.

datavideocoverUrl
stringnullable

Cover image.

datavideovideoUrl
stringnullable

The MP4 file. A signed link that expires after a few hours: download it, do not store it.

Engagement counters as Kwai reports them.

datavideostatsviews
integernullable

Views.

datavideostatslikes
integernullable

Likes.

datavideostatscomments
integernullable

Comments.

datavideostatsshares
integernullable

Shares.

datavideosoundName
stringnullable

The sound's name, or the creator of an original sound.

datavideoisPinned
booleannullable

True when the creator pinned it to the top of the profile.

The creator.

datavideoauthorid
stringnullable

Kwai's numeric user id, the same on every endpoint.

datavideoauthorencryptedId
stringnullable

Kwai's encrypted user id (its `eid`), as in m.kwai.com/user/{encryptedId}, when the page carries it.

datavideoauthorhandle
string

Kwai id, as in kwai.com/@{handle}.

datavideoauthordisplayName
stringnullable

Display name.

datavideoauthoravatarUrl
stringnullable

Profile picture.

datavideoauthorisVerified
booleannullable

True when Kwai verified the account.

datavideoauthorurl
string

Profile page.

datavideotranscript
stringnullable

Text Kwai read from the video, when it has some.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/kwai/videos?url=https://www.kwai.com/@KwaiBrasilOficial/video/5210533406984454491" \
  -H "x-api-key: YOUR_API_KEY"

Responses

A Kwai video.