GroundsocialDocs

API · Kwai

GET /kwai/user/posts

A Kwai account’s videos, newest first, paginated.

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

A Kwai account’s videos, newest first, paginated.

Query parameters

NameTypeRequiredDescription
handlestringnoKwai id (the @name), with or without @. Example: cinenarrastar550.
urlstringnoOr the profile URL.
afterstringnoThe previous page’s meta.next_token.
countintegernoVideos per page, 1 to 50. Defaults to 20.

Responses

StatusMeaningSchema
200A page of videos.KwaiPhotos
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

KwaiPhotos fields

FieldTypeDescription
dataKwaiPhoto[]
metaobject

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