Kwai
GET /v1/kwai/user-posts

Kwai User Posts API

Kwai profile posts — caption ("" when none), engagement, mp4 + transcript (~1 credit/post).

~20 credits (1/result) per request
TL;DR
Kwai profile posts — caption ("" when none), engagement, mp4 + transcript (~1 credit/post). The Kwai User Posts API (Kwai) is a single authenticated GET request to /v1/kwai/user-posts that responds with clean JSON and costs ~20 credits (1/result). Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Kwai User Posts API?

Pass a Kwai profile URL or @handle and get that creator's public posts as clean JSON. Each post: id/url, text (the post caption only — empty string when none; never Kwai's SEO title / "Áudio original criado por …" boilerplate), hashtags[] (always present — [] when the caption has no tags), publishedAt, durationSeconds, thumbnailUrl, videoUrl with videoType ("mp4" or "hls"), mediaUrlsExpireAt parsed from the signed CDN tag=, engagement{views,likes,comments,shares}, and transcript when Kwai's JSON-LD auto-captions are present (duplicate merged tracks are deduped). Author{id,username,displayName,avatar,url} is returned once at the top — not repeated on every row. Envelope uses url (the requested profile) — same key as /kwai/post and /kwai/profile. HARD PAGE LIMIT: Kwai's public web only SSR-embeds a first-page window of posts (typically a handful — observed ~6 on large accounts), not the full postCount from /kwai/profile. hasMore/nextCursor page within that window; hasMore=false means the window is exhausted, not that the account has no more posts upstream. ~1 credit per post returned (min 2; default limit 20 → ~20 credits). Transcript is included when Kwai publishes it — not a separate Whisper bill. Shares _normalize_post with /kwai/post.

What you get

  • Posts with engagement + signed mp4 videoUrl
  • hashtags[] always present ([] when none)
  • hasMore/nextCursor within SSR first-page window
  • Author{} once; envelope url

Platform limits

Honest ceilings from the upstream platform surface — not Captapi bugs. Unexpected truncation here is usually the platform, not us.

  • hasMore=false is end of Kwai's SSR first-page window, not the account archive. Use /kwai/profile postCount for universe size — there is no public deep-archive pagination API.

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/kwai/user-posts?url=https%3A%2F%2Fwww.kwai.com%2F%40topfilmeseseriesnatv" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "profileUrl": "https://www.kwai.com/@topfilmeseseriesnatv",
    "author": {
      "id": "3x9mhse7ekkvfa9",
      "username": "topfilmeseseriesnatv",
      "displayName": "Topseriesfilmetv",
      "avatar": "https://aws-br-pic.kwai.net/bs2/overseaHead/20250507231107_BMTUwMDAxNDU1MDE5OTQ1_s.jpg",
      "url": "https://www.kwai.com/@topfilmeseseriesnatv"
    },
    "totalReturned": 5,
    "nextCursor": null,
    "hasMore": false,
    "posts": [
      {
        "platform": "kwai",
        "id": "5240932700689736196",
        "url": "https://www.kwai.com/@topfilmeseseriesnatv/video/5240932700689736196",
        "transcript": "BANDIDO ESTAVA ESPERANDO ELE NA SAIDA DO BANCO.",
        "publishedAt": "2026-01-24T00:50:13Z",
        "durationSeconds": 156,
        "thumbnailUrl": "https://aws-br-pic.kwai.net/upic/2026/01/24/08/BMjAyNjAxMjQwODQ4MTNfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMDI4NTA4NDg3NF8yXzM=_oscn2_Befd2f922b58f2b5f72e4cb3c375d043d.webp",
        "videoUrl": "https://aws-br-cdn.kwai.net/upic/2026/01/24/08/BMjAyNjAxMjQwODQ4MTNfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMDI4NTA4NDg3NF8yXzM=_b_Bf1ce0ec42b4fe4482cd50678b3abd2d4.mp4?tag=1-1784753172-s-0-afgxvdpz8w-4a78f339bd4accdf",
        "engagement": {
          "views": 138841,
          "likes": 9232,
          "comments": 91,
          "shares": 169
        },
        "videoType": "mp4",
        "mediaUrlsExpireAt": "2026-07-22T20:46:12.000Z"
      },
      {
        "platform": "kwai",
        "id": "5197304080333126332",
        "url": "https://www.kwai.com/@topfilmeseseriesnatv/video/5197304080333126332",
        "publishedAt": "2026-07-21T01:41:02Z",
        "durationSeconds": 125,
        "thumbnailUrl": "https://p16-kimg.kwai.net/kimg/EKzM1y8qmQEKAnMzEg1waG90by1vdmVyc2VhGoMBdXBpYy8yMDI2LzA3LzIxLzAxL0JNakF5TmpBM01qRXdNVFF3TVRCZk1UVXdNREF4TkRVMU1ERTVPVFExWHpFMU1ERXhNVEUwTlRFMU9UUTBNRjh5WHpNPV9vdXVfQjVkMzdmMDZiZTFmMmU5NjQ0MGNkNjhhMjc3ZTg1MjRlLndlYnA.webp",
        "videoUrl": "https://aws-br-cdn.kwai.net/upic/2026/07/21/01/BMjAyNjA3MjEwMTQwMTBfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTE0NTE1OTQ0MF8yXzM=_b_B9e078740aaad1692190abe5e2e2e61c6.mp4?tag=1-1784753179-s-0-46g59inljw-0d434501e8fb5c1c",
        "engagement": {
          "views": 8998,
          "likes": 441,
          "comments": 7,
          "shares": 16
        },
        "videoType": "mp4",
        "mediaUrlsExpireAt": "2026-07-22T20:46:19.000Z"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • profileUrlCanonical Kwai profile URL for the request (https://www.kwai.com/@handle).
  • totalReturnedNumber of items returned in this response.
  • nextCursorOpaque pagination token within the posts from one profile fetch. Pass as cursor. Null when exhausted.
  • hasMoreWhether more results are available beyond this page. When true, pass nextCursor to fetch the next page.

Author

The author object contains:

  • idStable platform ID for the item.
  • usernameAccount username / handle.
  • displayNameDisplay name of the account. Canonical across profile endpoints (prefer over name).
  • avatarAvatar / profile picture URL. Canonical across profile endpoints.
  • urlCanonical URL of the item.

Posts

Each item in posts contains:

  • platformAlways "kwai" on this endpoint.
  • idStable platform ID for the item.
  • urlCanonical URL of the item.
  • transcriptAuto-caption text from Kwai JSON-LD when present (deduped if two tracks were concatenated). Omitted when Kwai does not expose captions — not null.
  • publishedAtPublish date (ISO 8601) when the platform exposes an absolute timestamp.
  • durationSecondsLength in seconds for this item (full media length, or a segment span when the endpoint documents a start/end).
  • thumbnailUrlPost cover image URL.
  • videoUrlSigned progressive playback URL (usually mp4). Check videoType; re-fetch before mediaUrlsExpireAt.
  • engagementEngagement metrics for the item.
  • videoTypePlayback type: "mp4" (progressive) or "hls" (.m3u8).
  • mediaUrlsExpireAtISO expiry for signed videoUrl / CDN links, parsed from Kwai's tag= query param.

Parameters

NameTypeRequiredDescription
urlstringYesKwai profile URL or @handle, e.g. https://www.kwai.com/@topfilmeseseriesnatv. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
limitnumberNoMax posts to return (1–200). Default 20. ~1 credit per post returned (min 2).
cursorstringNoOpaque pagination cursor from the previous nextCursor. Pages within posts from one profile fetch.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs ~20 credits (1/result) — billed per result, so the exact amount scales with how many items you request. Pass cache=true for a free 24h cache hit; default is always fresh (metrics refresh within ~1 hour).

Using an AI agent? This endpoint is the MCP tool kwai_user_posts via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/kwai/user-posts and parse the JSON response.

Use cases

Content Pipelines

Ingest a creator's recent Kwai posts with engagement and signed mp4 URLs.

Transcripts included

Use transcript when Kwai JSON-LD exposes auto-captions — included in the per-post credit, not a separate Whisper call.

Monitoring

Detect new uploads via post id + publishedAt across opaque cursor pages.

Archiving

Snapshot metadata plus CDN media — re-fetch videoUrl before mediaUrlsExpireAt.

Frequently asked questions

What does the Kwai User Posts API do?+

The Kwai User Posts API lets you list items in bulk with metadata from a public Kwai post using one GET request to /v1/kwai/user-posts. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Kwai User Posts API cost?+

At the default limit this endpoint costs 20 credits (1 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a Kwai API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the Kwai User Posts API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More Kwai APIs

Ready to use the Kwai User Posts API?

Sign up, grab your key, and make your first call in 60 seconds.