# Kwai Videos Scraper (`piotrv1001/kwai-videos-scraper`) Actor

Scrape Kwai videos from creator profiles, video links or keywords: caption, hashtags, views, likes, comments, shares, MP4 and cover URLs, music, plus author followers and total likes. Full profile archives, no login, no duplicates.

- **URL**: https://apify.com/piotrv1001/kwai-videos-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Social media, Videos, AI
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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.

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 Videos Scraper

**Kwai Videos Scraper** extracts short videos from **[Kwai](https://www.kwai.com/)**, the short-video app that is huge in Brazil and Latin America. It needs no login and no API key. Give it creator profiles, single video links or search keywords. You get clean JSON with the **caption, hashtags, view, like, comment and share counts, the MP4 link, cover image, music and author stats (followers, total likes, video count)**.

A profile can be scraped down to its **whole public archive**, newest first, with every video listed once. Run it on the **[Apify platform](https://apify.com/)** to get scheduling, an API, webhooks and exports to Google Sheets, Excel or CSV.

### ✨ Features

- 📚 **Full creator archives.** Walk a profile from its newest video back to its first one. Thousands of videos per creator, no page cap.
- 📈 **Engagement in every row.** Exact views, likes, comments and shares, plus the posting time and duration.
- 👤 **Author stats included.** Each video carries the creator's followers, following, total likes, public video count, bio and avatar. No second scraper needed.
- 🎞️ **Media links.** The direct MP4 URL, cover image, resolution and the soundtrack (name, artist and audio URL).
- 🔗 **Any link format.** Handles (`@nossareceitaabr`), profile URLs, video URLs and `k.kwai.com/p/...` share links all work.
- 🔍 **Keyword search.** Get Kwai's top videos for any keyword.

### 💡 Use cases

- **Influencer research.** Compare creators by followers, posting frequency and the average views per video.
- **Content and trend analysis.** Track which hashtags, sounds and formats get the most views in Brazil and LatAm.
- **Brand monitoring.** Watch what is posted about your brand or product keywords.
- **Datasets for AI.** Collect captions, hashtags and MP4 links for video or text models.

### 🛠️ How to use

1. **Add profiles**, for example `nossareceitaabr` or `https://www.kwai.com/@eumalaika`. You can also add **video URLs** or **search keywords**.
2. **Set the limits.** *Max videos per profile or keyword* is 50 by default (0 = the whole archive). *Max videos in total* is 200 by default (0 = no limit).
3. **Run** the Actor, then export the dataset as JSON, CSV or Excel, or read it through the API.

With empty input the Actor returns the 50 newest videos of a popular recipe channel.

### 📥 Input

| Field                 | Type    | Description                                                                                                |
| --------------------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| `profiles`            | array   | Handles (`nossareceitaabr`, `@nossareceitaabr`) or profile URLs (`https://www.kwai.com/@nossareceitaabr`). |
| `videoUrls`           | array   | Video URLs (`https://www.kwai.com/@user/video/524...`) or share links (`https://k.kwai.com/p/5CvBRWgn`).   |
| `keywords`            | array   | Search keywords, e.g. `receita`, `futebol`.                                                                |
| `maxVideosPerProfile` | integer | Videos per profile (newest first) or keyword. Default `50`, `0` = all.                                     |
| `maxItems`            | integer | Videos in total across all inputs. Default `200`, `0` = no limit.                                          |
| `proxyConfiguration`  | object  | Proxy settings. The default works.                                                                         |

Example:

```json
{
    "profiles": ["nossareceitaabr", "https://www.kwai.com/@eumalaika"],
    "videoUrls": ["https://k.kwai.com/p/5CvBRWgn"],
    "keywords": ["receita"],
    "maxVideosPerProfile": 100,
    "maxItems": 0
}
```

### 📤 Output

Each video is one dataset item:

```json
{
    "id": "5244873354206467494",
    "url": "https://www.kwai.com/@jadebelchior905/video/5244873354206467494",
    "caption": "#perna #glúteo #personaltrainer #Academiabelchior",
    "hashtags": ["perna", "glúteo", "personaltrainer", "Academiabelchior"],
    "createdAt": "2026-03-02T11:01:32.101Z",
    "durationSec": 5.9,
    "viewCount": 808,
    "likeCount": 37,
    "commentCount": 1,
    "shareCount": 2,
    "width": 720,
    "height": 1280,
    "coverUrl": "https://aws-br-pic.kwai.net/upic/2026/03/02/19/BMjAy..._oscn2_Be19f6cef7e88f5b758932a880c18467e.webp",
    "videoUrl": "https://aws-br-cdn.kwai.net/upic/2026/03/02/19/BMjAy..._b_B884cefb15200f9306f130145ed53cd02.mp4?tag=...",
    "musicId": "13038948497",
    "musicName": null,
    "musicArtist": "Jade Belchior",
    "musicUrl": "https://aws-br-pic.kwai.net/bs2/ost/MTUwMTEwNDgzMDMzMDkxXzE1MDAwMTcyNzE4NTcwNw.m4a",
    "authorId": "150001727185707",
    "authorHandle": "jadebelchior905",
    "authorName": "Jade Belchior",
    "authorAvatarUrl": "https://aws-br-pic.kwai.net/bs2/overseaHead/20260119210015_BMTUwMDAxNzI3MTg1NzA3_s.jpg",
    "authorBio": "A beleza começa no momento em que você decide ser você mesma.",
    "authorVerified": false,
    "authorFollowers": 7040,
    "authorFollowing": 35,
    "authorVideoCount": 278,
    "authorTotalLikes": 43571,
    "source": "profile:jadebelchior905",
    "scrapedAt": "2026-10-06T05:28:14.156Z"
}
```

`source` tells you where the row came from: `profile:<handle>`, `keyword:<keyword>` or `url`. Fields Kwai doesn't provide are `null`. The soundtrack is filled for profile and keyword rows, not for single video URLs.

### 💰 How much does it cost to scrape Kwai?

The Actor uses pay-per-event pricing, so you pay only for videos you get:

| Event       | Price                     | When it's charged     |
| ----------- | ------------------------- | --------------------- |
| Actor start | **$0.00005**              | Once per run          |
| Video       | **$0.001** ($1 per 1,000) | For every saved video |

For example, 1,000 videos cost about **$1.00**. Removed, private or duplicate videos are not charged. Set a maximum cost per run in Apify, and the Actor stops when it reaches that cost.

### ⚙️ Tips

- **Whole archive:** set *Max videos per profile or keyword* and *Max videos in total* to `0`. A 5,000-video profile takes a few minutes.
- **Daily monitoring:** schedule a run with a small per-profile limit (e.g. 10) to collect each creator's newest videos and their current counts.
- **Save the MP4s soon.** Kwai's video links are signed and expire after about a day. Download them right after the run if you need the files.
- **Pinned videos** a creator put at the top of their profile come first, before the newest ones.

### ❓ FAQ

**Do I need a Kwai account?**
No. The Actor reads only public data, without logging in.

**How many search results do I get per keyword?**
Kwai's own search shows its top ~20 videos per keyword, and the selection can change from run to run. For complete data, scrape the creators' profiles.

**Why does a profile return a bit fewer videos than its counter says?**
Kwai's video counter also includes videos that are hidden or no longer available. The Actor returns every video the profile page can show.

**Can I get comments?**
Not at the moment: Kwai doesn't show comments to visitors who aren't logged in. The `commentCount` is in every row.

**Is it legal to scrape Kwai?**
The Actor collects only publicly visible information. You are responsible for using it lawfully (e.g. GDPR or LGPD) and for respecting Kwai's terms.

### 🛟 Support

Missing a field or an input type? Open an issue in the **Issues** tab. Feedback and feature requests are welcome.

# Actor input Schema

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

Kwai creators whose videos you want: a handle (nossareceitaabr or @nossareceitaabr) or a profile URL (https://www.kwai.com/@nossareceitaabr). Videos come newest first.

## `videoUrls` (type: `array`):

Single videos, e.g. https://www.kwai.com/@jadebelchior905/video/5244873354206467494 or a share link like https://k.kwai.com/p/5CvBRWgn. Removed or private videos are skipped and not charged.

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

Search Kwai for videos matching each keyword, e.g. "receita" or "futebol". Kwai's search returns its top ~20 videos per keyword, and the selection can change between runs.

## `maxVideosPerProfile` (type: `integer`):

How many videos to take from each profile (newest first) or keyword. 0 = the whole public archive.

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

Stop after this many videos across all inputs. 0 = no limit.

## `proxyConfiguration` (type: `object`):

The default Apify Proxy works for Kwai; change it only if you need to.

## Actor input object example

```json
{
  "profiles": [
    "nossareceitaabr"
  ],
  "maxVideosPerProfile": 50,
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "profiles": [
        "nossareceitaabr"
    ],
    "maxVideosPerProfile": 50,
    "maxItems": 200,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/kwai-videos-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 = {
    "profiles": ["nossareceitaabr"],
    "maxVideosPerProfile": 50,
    "maxItems": 200,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/kwai-videos-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 '{
  "profiles": [
    "nossareceitaabr"
  ],
  "maxVideosPerProfile": 50,
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call piotrv1001/kwai-videos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/kwai-videos-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/e7eALhprxAahu9GfJ/builds/2HP9AK3875qusZfjA/openapi.json
