---
title: "Kwai Post API"
method: GET
path: "/v1/kwai/post"
tags: ["Kwai"]
---

# Kwai Post API

`GET /v1/kwai/post`

## Request

- Base URL: `https://api.captapi.com`
- URL: `https://api.captapi.com/v1/kwai/post`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Single Kwai video — caption ("" when none), hashtags[], author, mp4 (2 credits).

Pass a Kwai video URL and get one post as clean JSON: same core card as a user-posts row (text = caption only, empty string when the post has none — never SEO title boilerplate; hashtags[] always present — [] when none; author{}, engagement, videoUrl/videoType, mediaUrlsExpireAt, transcript when Kwai exposes auto-captions). Flat 2 credits — priced in line with one list item, not the old 17-credit rate. Shares _normalize_post with /kwai/user-posts.

Docs: https://captapi.com/apis/kwai-post

## Query parameters

- `url` string, required
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `platform` string: Always "kwai" on this endpoint.
    - `id` string: Stable platform ID for the item.
    - `url` string: Canonical URL of the item.
    - `transcript` string: Auto-caption text from Kwai JSON-LD when present (deduped). Omitted when Kwai does not expose captions.
    - `publishedAt` string: Publish date (ISO 8601) when the platform exposes an absolute timestamp.
    - `durationSeconds` integer: Length in seconds for this item (full media length, or a segment span when the endpoint documents a start/end).
    - `thumbnailUrl` string: Thumbnail image URL.
    - `videoUrl` string: Signed progressive playback URL (usually mp4). Check videoType; re-fetch before mediaUrlsExpireAt.
    - `author` object
      - `id` string: Id of this author item.
      - `username` string: Account username / handle.
      - `displayName` string: Display name of the account. Canonical across profile endpoints (prefer over name).
      - `avatar` string: Avatar / profile picture URL. Canonical across profile endpoints.
      - `url` string: Canonical URL of the item.
    - `engagement` object
      - `views` integer: View count when the platform exposes one.
      - `likes` integer: Like count (number).
      - `comments` integer: Comment count.
      - `shares` integer: Share count. On analytics endpoints: null when the platform has no public share metric (stable schema). On single-platform endpoints the key is omitted instead.
    - `videoType` string: Playback type: "mp4" (progressive) or "hls" (.m3u8).
    - `mediaUrlsExpireAt` string: ISO expiry for signed videoUrl, parsed from Kwai's tag= query param.

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
