# Kwai Scraper API: Kwai Videos, Search, Creators, Transcripts (`hyperbach/kwai-scraper`) Actor

Kwai scraper API, no login: Kwai videos by keyword, video or share link, creator, hashtag, playlist or the for-you feed. Views, likes, comments, shares, caption, date, play link and renditions, the author with followers, music, and Kwai's own transcript and genres. Misses free.

- **URL**: https://apify.com/hyperbach/kwai-scraper.md
- **Developed by:** [Hyperbach](https://apify.com/hyperbach) (community)
- **Categories:** Videos, Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.63 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Kwai Scraper API: Kwai Videos, Search, Creators, Transcripts

**Kwai videos by keyword, video or share link, creator, hashtag, playlist or the for-you feed, logged out: one row per video with its exact views, likes, comments and shares, the caption, hashtags, date and length, the play link and every rendition, the cover, the author with followers, likes and videos, the music, and Kwai's own transcript and genres.** A free profile row per creator, a free row per input with its verdict and the source's count, filters by date, views and caption. No login, no cookie, no key, proxies handled for you.

**$1.2665 per 1,000 `video` rows on the Free plan, $1.076525 on Starter.** A run start is $0.0012. The default input returns about 53 rows for about $0.065792. Every input gets a free row with its verdict; a creator's profile row, videos a filter leaves out and videos another input already delivered are never charged.

![Kwai's desktop video page in a browser: a carrot-cake recipe video with its spoken words as a subtitle, the author, the caption with hashtags, and the likes, comments and shares on the right rail. Beside it, the row this Actor returns for that video, with the transcript and genres fields highlighted: Kwai's own transcript and genre tags come on every row where Kwai has them.](https://api.apify.com/v2/key-value-stores/dcLLNGq99686o2A4v/records/hero-kwai-scraper.webp)

### How it compares

- **2 times faster and 2 times cheaper than natanielsantos's Kwai Scraper, with more data:** 51 videos in 8.1 s, against 16 s; $0.91 per 1,000 videos, against $2.00; 41 fields per video, against 16.
- **unfenced-group's Kwai Scraper cannot do this job:** it returned 21 of 51 videos.
- **4 times faster and cheaper than scrapewise's Kwai Scraper, with more data:** 51 videos in 8.1 s, against 29 s; $0.91 per 1,000 videos, against $1.80; 41 fields per video, against 23.
- **Faster and 2 times cheaper than zen-studio's Kwai Scraper, with more data:** 51 videos in 8.1 s, against 50 videos in 13 s; $0.91 per 1,000 videos, against $2.17; 41 fields per video, against 24.

Measured on 2026-11-23. Each line compares one job, run by both scrapers at the same time. Prices are per 1,000 videos: Apify Actors at the Scale plan's prices.

### Tested head-to-head on 2026-11-23

The job: The input schema's example: the Kwai keyword futebol at 50 videos (maxItemsPerInput 50) and one video link. Every Actor ran on it the same day from the same harness; every run's cost is at the Scale plan's prices: a rival's charged events at its price for that plan, this Actor's at its list price. Fields counts the filled fields of a typical row. Each rival reads the same Kwai job, the input schema's example: the keyword futebol at 50 videos and one video link. natanielsantos's Kwai scraper (the most used), the unfenced-group Kwai scraper (the cheapest list row), scrapewise's Kwai scraper and zen-studio's Kwai search scraper (one operation a run: the keyword only). Re-measured monthly.

| Actor | Rows | First row | Run time | Cost | Fields | Failures |
|---|---|---|---|---|---|---|
| **this Actor** | 51 | 5.7 s | 8.1 s | $0.046 | 41 | none |
| `natanielsantos/kwai-scraper` | 51 | 4.5 s | 16 s | $0.10 | 16 | none |
| `unfenced-group/kwai-scraper` | 21 | 4.9 s | 5.0 s | cannot | 28 | cannot: returned 21 of 51 videos |
| `scrapewise/kwai-scraper` | 51 | 4.2 s | 29 s | $0.092 | 23 | none |
| `zen-studio/kwai-search-scraper` | 50 | 9.7 s | 13 s | $0.11 | 24 | none |

### Why this Kwai scraper

- **Seven ways in, one row shape.** Keywords (the search kwai.com's own discover page runs), video links in every form (`/@name/video/…`, `/video/…`, the app's `k.kwai.com/p/…` share links, bare 19-digit ids), creators (an @handle, a page link or the creator's `3x…` id), hashtags, playlists and the for-you feed. A video two inputs share is one row, charged once.
- **Kwai's own transcript, genres and the author's counts on the row.** A search reads them in the same call as the videos (on 844 search videos of our tests: a transcript on 464, genres on 366, the author's followers, likes and videos on 844); links, creators, hashtags and playlists get them by one extra call per 6 videos. No model guesses: where Kwai has no transcript the field is null.
- **Honest depth.** A creator is read 100 videos a call to the end of its list and its row says the creator's own count beside it (one creator of our tests lists 4,401 of the 4,566 videos it counts: LIST_END, never a silent cut); a playlist that reads its count says COMPLETE. A Kwai search is a ranked feed that changes with every call and has no count, so a keyword is read again, deduped, until your cap (TRUNCATED) or until two calls and a fresh connection bring nothing new (LIST_END).
- **Exact ids.** Every video id is Kwai's own 19-digit string (`photo_id_str`), never a number rounded past 2^53, the same on a search, a creator, a topic and a link row.
- **No charge for what Kwai does not serve.** Kwai's web serves comments to logged-in accounts only, so this Actor has no comment input and never charges a comment event; the comment count is on every row.
- **Every rendition, links that last.** The play link, a backup link on a second CDN and every rendition with its codec, size in bytes, bitrate and resolution; the cover and the first frame. A play link minted ten months earlier still opened from any connection on our test of 2026-11-23.
- **Fast.** On the head-to-head test of 2026-11-23 (build 0.1.9, the input schema's example: a search for futebol at 50 videos and one video link) this Actor returned 51 videos with every detail in 8.1 seconds on the Apify worker; stage 4's speed runs on build 0.1.8 gave the first video of a search in 5.7 to 7.5 seconds (3 runs) and 429 videos a minute on a search of 50.

### Who it's for

- **Brand, marketing and creator-economy teams in Brazil, Latin America and the other Kwai markets** — what Kwai shows for your keywords and hashtags, which creators lead them with how many followers, and what their videos say (Kwai's own transcript), into a sheet or a dashboard.
- **Agencies vetting Kwai creators** — a creator's profile (followers, following, likes, public and private videos) and its recent videos with views, likes, comments and shares, with the averages and the engagement rate on the creator's row.
- **Researchers and data teams** — typed rows keyed by Kwai's own video id, one row per video across inputs, Kwai's genres and transcripts, a free row per input with its verdict and the source's count, and a run summary to check a pipeline against.

### Quick start

**A keyword, 50 videos**

```json
{
  "keywords": [
    "futebol"
  ],
  "maxItemsPerInput": 50
}
```

**A creator's last 100 videos with the profile**

```json
{
  "profiles": [
    "@topfilmeseseriesnatv"
  ],
  "maxItemsPerInput": 100
}
```

**Video links, a hashtag and the for-you feed, posted in 2025 or later**

```json
{
  "startUrls": [
    "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461",
    "https://k.kwai.com/p/5CvBRWgn"
  ],
  "hashtags": [
    "receita"
  ],
  "includeTrendingFeed": true,
  "postedAfter": "2025-01-01",
  "maxItemsPerInput": 30
}
```

### Switching from `natanielsantos/kwai-scraper` or `socialdatax/socialdatax-kuaishou-data-api`?

Your input works as it is. Each name in the left column is read as this Actor's own field and the run log says so (`read <theirs> as <ours>`); a name marked *not read* is ignored with a note. A value in the other Actor's shape, an object list or its own date form, is read too.

| natanielsantos/kwai-scraper / socialdatax/socialdatax-kuaishou-data-api | this Actor | what to know |
|---|---|---|
| `urls` | `startUrls` | The same: Kwai video or profile links, one a line; here also share links, ids, topics and playlists. |
| `searchTerms` | `keywords` | The same: words to search on Kwai. |
| `maxItems` | `maxItems` | Here the whole run's cap; the leader's per-profile, per-term cap is `maxItemsPerInput` (default 50; 0 = the whole list). |
| `maxCommentsPerVideo` | *not read* | Not read: Kwai's web serves comments to logged-in accounts only; no comment is delivered or charged here. |
| `maxRepliesPerComment` | *not read* | Not read, as maxCommentsPerVideo. |
| `operation` | *not read* | Not needed: each input's own list picks the call (keywords search, startUrls read videos and lists, profiles read creators, hashtags read topics). |
| `keyword` | `keywords` | Read as a Kwai keyword (the leader searches Kuaishou). |
| `photo_id` | `startUrls` | A Kwai video id (19 digits). |
| `url` | `startUrls` | A Kwai link; a kuaishou.com link gets a free row that says this Actor reads Kwai. |
| `user_id` | `profiles` | A Kwai creator's @handle or `3x…` id. |
| `profile_url` | `profiles` | A Kwai creator's page link. |
| `comment_id` | *not read* | Not read: no comments (logged-in only on Kwai's web). |
| `page_token` | *not read* | Not needed: each input is read to its cap or its end in one run. |
| `max_items` | `maxItemsPerInput` | The videos each input gives. |
| `auto_paginate` | *not read* | Not needed: paging is always on, to the cap or the list's end. |

**What differs:**

- natanielsantos/kwai-scraper's `urls` (video and profile links) and `searchTerms` run here as they are (read as `startUrls` and `keywords`).
- Its `maxItems` is per profile or search term; here `maxItems` caps the whole run and `maxItemsPerInput` (default 50) caps each input.
- No comments: Kwai's web serves comments to logged-in accounts only, so `maxCommentsPerVideo` and `maxRepliesPerComment` are not read, and nothing is charged for comments (the comment count is on every row).
- socialdatax/socialdatax-kuaishou-data-api reads Kuaishou (kuaishou.com, China); this Actor reads Kwai (kwai.com), Kuaishou's international app. Its `keyword`, `url`, `photo_id`, `user_id`, `profile_url` and `max_items` are read here as Kwai inputs, and a kuaishou.com link gets a free row that says so.
- The columns are snake_case (`views`, `likes`, `comments`, `shares`, `author_followers`, `created_at` in UTC); the leader's `authorMeta` block is the flat `author_*` columns.

### Output

One row per Kwai video (and a free profile row per creator, and one free row per input):

| field | meaning |
|---|---|
| `record_type` | `video` on a video row (charged); `profile` on a creator's record (free); `target` on an input's free summary row. |
| `status` | `ok`, or why an input or a post gave no video: `no_results` (Kwai's search found nothing, on two fresh connections), `not_found` (a video, creator, topic or playlist Kwai does not serve, on two connections), `unsupported` (a picture post), `invalid_input` (a value that names nothing, or a Kuaishou link), `failed` (Kwai did not answer), `not_read` (the run stopped first), `duplicate` (a value given twice, in the same or another form, or a video another input of the run delivered: read and charged once). |
| `input` | The value you gave that this row answers. |
| `input_type` | keyword, video, creator, hashtag, playlist or trending. |
| `keyword` | The search word of the walk that delivered the video (keyword inputs). |
| `position` | The video's place in its input's walk, from 1. |
| `id` | Kwai's video id (19 digits, as a string); on a profile row the creator's id (`3x…`). |
| `url` | The video's page on kwai.com (`/@name/video/<id>`); on a profile row the creator's page. |
| `content_type` | `video`, or the source's type of a post this Actor does not read (a picture post). |
| `description` | The caption as written, hashtags included. |
| `hashtags` | The caption's hashtags, without `#`. |
| `mentions` | The @handles the caption mentions. |
| `created_at` | When the video was posted (UTC). |
| `duration_s` | The video's length in seconds. |
| `views` | The video's views, exact. |
| `likes` | The video's likes, exact. |
| `comments` | The video's comment count, exact. |
| `shares` | The video's shares, exact. |
| `genres` | Kwai's own genre labels of the video (e.g. Soccer, Sports); empty where Kwai has none. |
| `transcript` | Kwai's own transcript of the video's speech and on-screen text, where Kwai made one (null where it has none). |
| `details_status` | Where the transcript, genres and author counts came from: `served` (Kwai answered them), `not_served` (Kwai's answer had none for this video), `failed` (the call failed), `not_asked` (`includeDetails` off), `cut` (the run's time limit came first). |
| `is_ai_generated` | Kwai's own `is_ai_generated` flag (null where the answer carries none: a creator's own list). |
| `is_ai_content` | Kwai's own `is_ai_content` flag, a second flag that can differ from `is_ai_generated` on the same video (null where the answer carries none: a creator's own list). |
| `is_pinned` | Pinned on the creator's page (creator rows). |
| `duet_of` | The id of the video this one is a duet of (creator rows). |
| `author_name` | The creator's display name. |
| `author_handle` | The creator's @handle. |
| `author_id` | The creator's Kwai id (`3x…`). |
| `author_url` | The creator's page on kwai.com. |
| `author_followers` | The creator's followers. |
| `author_following` | The accounts the creator follows (profile rows and creator rows). |
| `author_total_likes` | The likes the creator's videos received. |
| `author_posts` | The creator's public videos as Kwai counts them. |
| `author_photos_private` | The creator's private videos as Kwai counts them (profile rows and creator rows). |
| `author_bio` | The creator's bio. |
| `author_verified` | Kwai's verified badge. |
| `author_creator_level` | Kwai's creator level (profile rows and creator rows). |
| `author_avatar_url` | The creator's avatar image. |
| `play_url` | The video's play link (MP4). |
| `play_url_backup` | The same video on Kwai's second CDN. |
| `renditions` | Every rendition: quality, width, height, bytes, bitrate (kbps), codec and its link. |
| `width` | The video's width in pixels. |
| `height` | The video's height in pixels. |
| `cover_url` | The cover image. |
| `first_frame_url` | The video's first frame as an image. |
| `music_id` | Kwai's id of the sound (creator rows). |
| `music_title` | The sound's title ("Original audio by …" for the creator's own). |
| `music_author` | The sound's author. |
| `music_url` | The sound's audio file (creator rows). |
| `videos_read` | On a creator's row: the videos this run delivered, which the score below is over. |
| `avg_views` | On a creator's row: the average views of those videos. |
| `avg_likes` | On a creator's row: the average likes of those videos. |
| `engagement_rate` | On a creator's row: (likes + comments + shares) ÷ views over those videos. |
| `posts_per_week` | On a creator's row: those videos per week between the oldest and the newest unpinned video (null when they span less than a day). |
| `verdict` | On an input's row: COMPLETE (read to the source's count), LIST_END (the list's own end, read twice), TRUNCATED (your cap: `maxItemsPerInput` or `maxItems`), DATE_LIMIT (a creator's walk reached your date), PARTIAL (the run stopped: `note` says why). |
| `rows_delivered` | On an input's row: the video rows it delivered. |
| `list_count` | On an input's row: the source's own count of the list (a creator's public videos, a playlist's videos), where it has one. |
| `note` | Why a row has the status or the verdict it has: the source's own words, the counts, the videos left out by your filters. |
| `scraped_at` | When this row was read (UTC). |

Example record:

```json
{
  "record_type": "video",
  "status": "ok",
  "input": "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461",
  "input_type": "video",
  "keyword": null,
  "position": 1,
  "id": "5231925505305880461",
  "url": "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461",
  "content_type": "video",
  "description": "...",
  "hashtags": [],
  "mentions": [],
  "created_at": "2026-11-04T00:54:51Z",
  "duration_s": 132.7,
  "views": 1082,
  "likes": 65,
  "comments": 5,
  "shares": 9,
  "genres": [
    "TV series",
    "Film&TV"
  ],
  "transcript": "SO SOBROU O RESTO DO MARIDOSO SOBROU O RESTO DO MARIDO.",
  "details_status": "served",
  "is_ai_generated": false,
  "is_ai_content": false,
  "is_pinned": null,
  "duet_of": null,
  "author_name": "Topseriesfilmetv",
  "author_handle": "topfilmeseseriesnatv",
  "author_id": "3x9mhse7ekkvfa9",
  "author_url": "https://www.kwai.com/@topfilmeseseriesnatv",
  "author_followers": 398705,
  "author_following": null,
  "author_total_likes": 8651553,
  "author_posts": 4566,
  "author_photos_private": null,
  "author_bio": "aqui você encontra as melhores cenas de novela",
  "author_verified": false,
  "author_creator_level": null,
  "author_avatar_url": "https://aws-br-pic.kwai.net/bs2/overseaHead/20250507231107_BMTUwMDAxNDU1MDE5OTQ1_t.jpg",
  "play_url": "https://aws-br-cdn.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_b_B3abd7ef5ea15cf4306a708bdefb98803.mp4",
  "play_url_backup": "https://ak-br-cdn.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_b_B3abd7ef5ea15cf4306a708bdefb98803.mp4",
  "renditions": [
    {
      "quality": "ohd",
      "width": 720,
      "height": 1280,
      "bytes": 7038314,
      "bitrate_kbps": 424,
      "codec": "hevc",
      "url": "https://aws-br-cdn.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_sl200Ohd1_Ba9f9218fd0ab3a70206838ca5dcadae0.mp4"
    },
    {
      "quality": "ohd",
      "width": 720,
      "height": 1280,
      "bytes": 8744886,
      "bitrate_kbps": 527,
      "codec": "avc",
      "url": "https://aws-br-cdn.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_b_B3abd7ef5ea15cf4306a708bdefb98803.mp4"
    }
  ],
  "width": 720,
  "height": 1280,
  "cover_url": "https://aws-br-pic.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_oscn2_B84663e801a8f102ceacb8f15153bbae0.webp",
  "first_frame_url": "https://aws-br-pic.kwai.net/upic/2026/11/04/08/BMjAyNjExMDQwODUzNTZfMTUwMDAxNDU1MDE5OTQ1XzE1MDExMTYyMTQ3Njg0OF8yXzM=_offn_B5b65b2bc2a4f99c6023e8c66f7828f80.webp",
  "music_id": null,
  "music_title": "Áudio original criado por Topseriesfilmetv",
  "music_author": "Topseriesfilmetv",
  "music_url": null,
  "videos_read": null,
  "avg_views": null,
  "avg_likes": null,
  "engagement_rate": null,
  "posts_per_week": null,
  "verdict": null,
  "rows_delivered": null,
  "list_count": null,
  "note": null,
  "scraped_at": "2026-11-23T19:10:54Z"
}
```

### Pricing

**Pay for the videos a run delivers**, plus one run start. No platform usage is billed to you, and the price falls with your Apify plan.

| event | unit | Free | Starter | Scale | Business |
|---|---|---|---|---|---|
| Video (`video`) | per 1,000 | $1.2665 | $1.076525 | $0.88655 | $0.63325 |
| Run start (`start`) | per run | $0.0012 | $0.0012 | $0.0012 | $0.0012 |

A Kwai video row is **$1.2665 per 1,000** on the Free plan ($0.0012665 a video), $1.076525 on Starter, with every detail inside it (Kwai's transcript and genres, the author's counts, every rendition). Each run that delivers a video pays the **run start, $0.0012 once**.

So the example (a search for futebol at 50 videos and one video link, 51 videos) costs $0.0658 on the Free plan and $0.0561 on Starter; one video link $0.0024665 and $0.0022765; a search of 20 videos $0.02653 and $0.0227305; ten video links $0.013865 and $0.0119653; 1,000 videos of one creator $1.2677 and $1.0777. Free: every input's row (its verdict and the source's count), every creator's profile row, a video Kwai does not serve, a keyword with no result, a picture post, a Kuaishou link, a value that names nothing, a value given twice, a video your filters leave out, a video another input already delivered (charged once), and a run that delivered no video (no run start either). A run that stops early (a timeout, an abort, the charge limit) is charged for the videos it delivered.

Before the first request the log names the prices at your plan and what the run can cost: "at most" over the bounds the run holds (one video a link, `maxItemsPerInput` a list, `maxItems` the run, at most 2,000 videos a keyword and 200 from the for-you feed when `maxItemsPerInput` is 0), plus the run start, and cut at your charge limit; a creator, a hashtag or a playlist with `maxItemsPerInput` 0 and no `maxItems` is read to Kwai's own end and costs about the list's own count (the input's row names it). Enterprise plans have their own rates: the Actor's Pricing tab shows the price for your plan.

### Usage patterns

- **Inputs** — `keywords`: words to search. `startUrls`: any Kwai link or id (a video, a share link, a creator page, a topic, a playlist). `profiles`: creators by @handle, page link or `3x…` id. `hashtags`: topics, with or without `#`. `includeTrendingFeed`: Kwai's for-you feed. Each input is its own walk; one that finds nothing never stops the next.
- **What a row is** — `record_type` = `video`: one Kwai video, charged — `input`, `input_type` (keyword, video, creator, hashtag, playlist, trending), `keyword` and `position` (its place in that walk) name the input that delivered it first. `record_type` = `profile`: a creator's record, free. `record_type` = `target`: the free row of one input — `rows_delivered`, `list_count` (the source's own count, where it has one), the `verdict` (COMPLETE: the list read to the source's count; LIST_END: the list's own end, read twice; TRUNCATED: your cap, `maxItemsPerInput` or `maxItems`; DATE_LIMIT: a creator's walk reached your date; PARTIAL: the run stopped while it was read) and its `note`, or the `status` that gave no video (`no_results`, `not_found`, `unsupported`, `invalid_input`, `failed`, `not_read`, `duplicate`: a value given twice or a video another input delivered, read and charged once).
- **How deep each input goes** — A creator: 100 videos a call, newest first, to the end of the list, the end read again on a fresh connection; the creator's row says how many of its counted public videos the list gave (Kwai lists fewer than it counts for some creators). A hashtag: 25 a call to its end. A playlist: 20 a call, COMPLETE at its own count. A keyword: up to 50 a call; Kwai's search answers a new ranked set every call with no count and no next page, so the keyword is read again, deduped, until your cap or until two calls and one on a fresh connection add nothing (LIST_END); with `maxItemsPerInput` 0 a keyword stops at 2,000. The for-you feed: 20 a call, read again, deduped.
- **Details and filters** — `includeDetails` (on by default, inside the video's price) adds Kwai's own transcript, the genres, the audio and the author's followers, likes and videos: in the search's own answer for a keyword, by one extra call per 6 videos for the other inputs. `postedAfter` / `postedWithinDays` keep the newer videos (a creator's walk stops at its first older video, so nothing older is read), `minViews` keeps the videos with enough views, `onlyCaptionMatches` keeps the search videos whose caption has every word of the keyword. A video left out is free and takes no room in your caps; the input's row counts them.

### Input configuration

| field | type | default | what it does |
|---|---|---|---|
| `keywords` | `array` | `[]` | Words to search on Kwai, one a line (as on kwai.com's search). Each keyword is read until maxItemsPerInput videos or the end of Kwai's results. A Kwai search is a ranked feed that changes with every call and has no count, so a keyword's row says TRUNCATED at the cap or LIST_END when no call brings a new video. |
| `startUrls` | `array` | `[]` | Any Kwai link, one a line: a video (https://www.kwai.com/@name/video/<id> or /video/<id>), a share link (https://k.kwai.com/p/<code>), a video id (19 digits), a creator page (https://www.kwai.com/@name), a topic (https://www.kwai.com/topic/<word>) or a playlist (https://www.kwai.com/@name/playlist/<id>). Kuaishou (kuaishou.com) links are not read: this Actor reads Kwai, the international app. |
| `profiles` | `array` | `[]` | Kwai creators whose videos to read, one a line: an @handle, a page link, or the creator's id (3x…). Each creator gives a free profile row (followers, following, likes, videos, bio) and then its videos newest first, to maxItemsPerInput or the end of the creator's list. |
| `hashtags` | `array` | `[]` | Kwai topics whose videos to read, one a line, with or without the # (futebol, #receita) or as a topic link. |
| `includeTrendingFeed` | `boolean` | `false` | Also read Kwai's for-you (trending) feed, to maxItemsPerInput videos. Kwai serves this feed by the reader's region; this Actor reads it as Kwai shows it to its Brazilian and Latin American audience. |
| `maxItemsPerInput` | `integer` | `50` | The most videos each keyword, creator, hashtag or playlist gives. 0 = the whole list (a keyword stops at 2,000: Kwai's search has no end of its own). |
| `maxItems` | `integer` | `0` | The most charged video rows of the whole run; 0 = no cap beyond your charge limit. |
| `includeDetails` | `boolean` | `true` | Kwai's own transcript (where Kwai made one), the genres, the audio and the author's followers, likes and videos on every row. A search carries them in its own answer; for links, creators, hashtags and playlists they take one extra call per 6 videos. Turn off for speed. |
| `postedAfter` | `string` | `""` | Keep only videos posted on or after this day (UTC), e.g. 2025-06-01. A creator's walk stops at its first older video (newest first), so nothing older is read; on a search, a hashtag or a playlist an older video is left out free. |
| `postedWithinDays` | `integer` | `0` | Keep only videos posted in the last N days; 0 = no limit. With a date above too, the later of the two applies. |
| `minViews` | `integer` | `0` | Keep only videos with at least this many views; 0 = all. A video left out is free and takes no room in a cap. |
| `onlyCaptionMatches` | `boolean` | `false` | On a search, keep only videos whose caption or hashtags hold every word of the keyword (case and accents aside). Kwai's search also matches words the caption lacks. A video left out is free. |
| `feedback` | `string` |  | A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note. |

### Errors

**A run does not fail because of your input.** When an input cannot be used — a date that is not a date, an id in the wrong form, two settings that contradict each other — the run ends **Succeeded**, charges nothing, and says what to change:

- the status message starts with `INPUT REJECTED`;
- the dataset holds one row, `{"error": true, "code": "…", "message": "…"}`, and no results;
- the key-value store record `ERROR` holds the same object.

From code, check `error` on the first row before reading results.

A keyword Kwai finds nothing for is not an error: it gets one free row with `status` = `no_results` (after a second fresh connection agrees), and the run goes on with the other inputs. For a word it cannot match Kwai can also serve videos that never mention it; the keyword's row then says so, and with `onlyCaptionMatches` such videos are left out (free). A run that ends **Failed** is a fault on our side, never your input; it charges nothing, and we are alerted.

### FAQ

**Can I get the comments of a video?**

Not from this Actor: Kwai's web serves comments to logged-in accounts only (0 comments on every logged-out web call of our study), so there is no comment input and no comment charge. Every row has the video's comment count.

**Does it read Kuaishou (快手, kuaishou.com)?**

No: this Actor reads Kwai (kwai.com), Kuaishou's international app, popular in Brazil and Latin America. A kuaishou.com link gets a free row that says so.

**Why do two searches for the same keyword give different videos?**

Kwai's search is a ranked feed that answers a new set of videos on every call (no two connections shared an id in one minute on our tests), with no total count. This Actor reads the keyword again until your cap or until no call adds anything new, and the keyword's row says TRUNCATED or LIST_END; it is the hour's view, never COMPLETE.

**Why did my search return videos without my word?**

For a word it cannot match (a typo, a made-up word, a word in a language its Brazilian pool rarely uses), Kwai's search can answer videos that never mention it: creators whose names look like it, or its unfiltered feed. This Actor reads the first answer against your keyword, reads it again on a fresh connection when no video mentions it, and the keyword's row says so. Turn on `onlyCaptionMatches` to keep only the videos whose caption has every word of your keyword; with it, a keyword whose first answers match nothing ends at once as a free `no_results` row.

**Why did a creator's walk end before its video count?**

Kwai lists fewer videos than it counts for some creators (one of our test creators lists 4,401 of its 4,566). The walk reads the list to its end, reads the end again on a fresh connection, and the creator's row says LIST_END with the count.

**Do the play links expire?**

We found no expiry: a play link minted ten months earlier still opened from any connection on 2026-11-23. The video file itself is not stored by this Actor.

**Do I need Apify Proxy or my own proxy?**

No. The Actor uses its own connections, at no extra cost to you.

### Integration

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('hyperbach/kwai-scraper').call({"keywords": ["futebol"], "maxItemsPerInput": 50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('hyperbach/kwai-scraper').call(run_input={'keywords': ['futebol'], 'maxItemsPerInput': 50})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

#### CLI

```bash
apify call hyperbach/kwai-scraper --input '{"keywords": ["futebol"], "maxItemsPerInput": 50}'
```

#### REST

```bash
curl -X POST "https://api.apify.com/v2/acts/hyperbach~kwai-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' -d '{"keywords": ["futebol"], "maxItemsPerInput": 50}'
```

#### AI agents and MCP

Apify's MCP server offers this Actor as a tool to Claude, Cursor, VS Code and any other MCP client. Connect `https://mcp.apify.com?tools=hyperbach/kwai-scraper` and ask, for example: "Search Kwai for futebol and give me 50 videos with their views, likes, transcripts and the authors' follower counts". The agent fills the input from the table above and reads the rows from the run's dataset. A field under the name another Actor gives it is read as this Actor's own: `urls`, `url`, `videoUrls`, `videoUrl` as `startUrls`; `searchTerms`, `keyword`, `searchQueries`, `searchKeywords` as `keywords`; `profileUrls`, `profile_url`, `user_id`, `usernames` as `profiles`; `topics`, `topicUrls`, `hashtag`, `tags` as `hashtags` (and more). An agent or a person can add `feedback` to any run and say what was needed and not delivered: a missing field, a wrong or empty result, the Actor switched from or to, and why. The run returns the same rows at the same price, and a person reads every note.

#### n8n, Make and Zapier

The Apify node in n8n, the Apify app in Make and the Apify integration in Zapier run this Actor on a schedule or from a trigger and read its dataset. A webhook on the run's end (Integrations on the Actor page) sends the rows on to your own endpoint. Nothing to install on our side.

### Support

**Disagree with a charge?** Write to apify@hyperbach.com with the run ID. We will ask Apify to compensate you, and the charge comes back to your Apify account as platform credit.

**Did it do the job?** A short [review on the Store](https://apify.com/hyperbach/kwai-scraper/reviews), at any rating, helps the next buyer choose.

*This page is generated from the Actor's schemas and a live sample — it cannot describe a field the Actor does not have.*

# Actor input Schema

## `keywords` (type: `array`):

Words to search on Kwai, one a line (as on kwai.com's search). Each keyword is read until maxItemsPerInput videos or the end of Kwai's results. A Kwai search is a ranked feed that changes with every call and has no count, so a keyword's row says TRUNCATED at the cap or LIST_END when no call brings a new video.

## `startUrls` (type: `array`):

Any Kwai link, one a line: a video (https://www.kwai.com/@name/video/<id> or /video/<id>), a share link (https://k.kwai.com/p/<code>), a video id (19 digits), a creator page (https://www.kwai.com/@name), a topic (https://www.kwai.com/topic/<word>) or a playlist (https://www.kwai.com/@name/playlist/<id>). Kuaishou (kuaishou.com) links are not read: this Actor reads Kwai, the international app.

## `profiles` (type: `array`):

Kwai creators whose videos to read, one a line: an @handle, a page link, or the creator's id (3x…). Each creator gives a free profile row (followers, following, likes, videos, bio) and then its videos newest first, to maxItemsPerInput or the end of the creator's list.

## `hashtags` (type: `array`):

Kwai topics whose videos to read, one a line, with or without the # (futebol, #receita) or as a topic link.

## `includeTrendingFeed` (type: `boolean`):

Also read Kwai's for-you (trending) feed, to maxItemsPerInput videos. Kwai serves this feed by the reader's region; this Actor reads it as Kwai shows it to its Brazilian and Latin American audience.

## `maxItemsPerInput` (type: `integer`):

The most videos each keyword, creator, hashtag or playlist gives. 0 = the whole list (a keyword stops at 2,000: Kwai's search has no end of its own).

## `maxItems` (type: `integer`):

The most charged video rows of the whole run; 0 = no cap beyond your charge limit.

## `includeDetails` (type: `boolean`):

Kwai's own transcript (where Kwai made one), the genres, the audio and the author's followers, likes and videos on every row. A search carries them in its own answer; for links, creators, hashtags and playlists they take one extra call per 6 videos. Turn off for speed.

## `postedAfter` (type: `string`):

Keep only videos posted on or after this day (UTC), e.g. 2025-06-01. A creator's walk stops at its first older video (newest first), so nothing older is read; on a search, a hashtag or a playlist an older video is left out free.

## `postedWithinDays` (type: `integer`):

Keep only videos posted in the last N days; 0 = no limit. With a date above too, the later of the two applies.

## `minViews` (type: `integer`):

Keep only videos with at least this many views; 0 = all. A video left out is free and takes no room in a cap.

## `onlyCaptionMatches` (type: `boolean`):

On a search, keep only videos whose caption or hashtags hold every word of the keyword (case and accents aside). Kwai's search also matches words the caption lacks. A video left out is free.

## `feedback` (type: `string`):

A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note.

## Actor input object example

```json
{
  "keywords": [
    "futebol"
  ],
  "startUrls": [
    "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461"
  ],
  "profiles": [],
  "hashtags": [],
  "includeTrendingFeed": false,
  "maxItemsPerInput": 50,
  "maxItems": 0,
  "includeDetails": true,
  "postedAfter": "",
  "postedWithinDays": 0,
  "minViews": 0,
  "onlyCaptionMatches": false
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped records in the default dataset. One row per Kwai video (and a free profile row per creator, and one free row per input):

## `runSummary` (type: `string`):

How the run went: videos charged, free rows, rows by status, each input (status, verdict, videos delivered, the source's count), the videos the filters left out, the repeats dropped, and the source counters (requests by call kind, exits, slow and refused exits, hedges, bytes, the slowest answer per call kind) and the memory watch.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "futebol"
    ],
    "startUrls": [
        "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hyperbach/kwai-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["futebol"],
    "startUrls": ["https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461"],
}

# Run the Actor and wait for it to finish
run = client.actor("hyperbach/kwai-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "futebol"
  ],
  "startUrls": [
    "https://www.kwai.com/@topfilmeseseriesnatv/video/5231925505305880461"
  ]
}' |
apify call hyperbach/kwai-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hyperbach/kwai-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1a94CnpPNgL3RPIuO/builds/WvxuLubp0xJCTaBZv/openapi.json
