GroundsocialDocs

API · Kwai

GET /kwai/post

One Kwai video: caption, counts, media, author.

RequestGET /v1/kwai/post
Operation idkwai.post.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One Kwai video: caption, counts, media, author.

Query parameters

NameTypeRequiredDescription
urlstringyesThe video URL. Example: https://www.kwai.com/@cinenarrastar550/video/5220385027856062524.

Responses

StatusMeaningSchema
200The video.KwaiPhoto
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account or video does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Kwai is temporarily unavailable. Retryable; nothing was charged.Error

KwaiPhoto fields

FieldTypeDescription
photo_id_strstring
photo_idnumber | string
captionstring | null
timestampnumberUnix milliseconds.
timestring
view_countnumber
like_countnumber
comment_countnumber
forward_countnumber
durationnumber
kwai_idstring
user_namestring
main_mv_urlsobject[]
cover_thumbnail_urlsobject[]
urlstring

Errors use one shape everywhere; see Errors for every code and what to do.