# Kuaishou API

This Kuaishou API searches public videos by keyword, returns user posts, reads the hot list, opens a single video and pages through its comments, all as JSON. For user posts, pass an author ID or a profile URL; for a video or its comments, pass the video link or ID.

Query videos by keyword and obtain author identifiers directly from search result items. The short video IDs on hot-list entries go straight into `video` and `comments`.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "kuaishou", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/kuaishou-api](https://everyinfra.com/en/kuaishou-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search Kuaishou videos by `keyword` and get view, like, comment and share counts, duration, cover, author details and a spoken-word transcript when available. Duration is in milliseconds, and user accounts are not part of the results.
- Sync delivery · Price: $8 per 1,000 requests
- Each call returns one page of up to 20 rows. There is no next page. Each page is billed once.
- Parameters:
  - `keyword` (required): Search query for public Kuaishou videos (excludes user accounts).
- Returns fields: id, url, text, duration_ms, view_count, like_count, comment_count, share_count, posted_at, author_id, author_name, author_kwai_id, author_url, author_verified, follower_count, video_count, cover_url, avatar_url, transcript, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/search](https://everyinfra.com/en/kuaishou-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/search.md)

### user_posts — Posts by user
Pull videos from a Kuaishou account by user ID or profile link in `user_id`. Get views, likes, comments, shares, duration, cover and transcript when available. Take the ID from a search result's `author_id` or `author_url`. Full history and deleted videos are not guaranteed.
- Sync delivery · Price: $0.56 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `user_id` (required): Kuaishou user ID or author profile link (supports /profile/{id} and /@{user} formats). Used by user_posts to fetch videos and obtainable directly from video search results via author_id / author_url.
- Returns fields: id, url, text, duration_ms, view_count, like_count, comment_count, share_count, posted_at, author_id, author_name, author_kwai_id, author_url, author_verified, follower_count, video_count, cover_url, avatar_url, transcript, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/user_posts](https://everyinfra.com/en/kuaishou-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/user_posts.md)

### trending — Trending
Take Kuaishou's hot list in one call, up to 50 entries. Each entry has its rank (the pinned entry is first), title, heat value as a whole number, badge such as new or exclusive, cover image and, usually, the short IDs of the videos behind it. Those IDs work directly in `video` and `comments`. One call returns one page of up to 50 entries; there is no next page.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Returns fields: rank, title, hot_value, label, cover_url, video_ids, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/trending](https://everyinfra.com/en/kuaishou-api/trending?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/trending.md)

### video — Video details
Read one Kuaishou video from its link, its 3x short ID or its numeric ID. Get caption, duration in milliseconds, view, like, comment, share and save counts, publish time, cover, and the author's ID, Kuaishou handle, gender and verification. Counts are a snapshot at the time of the call.
- Sync delivery · Price: $0.81 per 1,000 requests
- Parameters:
  - `url` (required): A Kuaishou video link (https://www.kuaishou.com/short-video/<video ID>) or the video ID itself: a short ID starting with 3x, such as the ones in `trending` rows' `video_ids`, or a numeric ID.
- Returns fields: id, url, text, duration_ms, view_count, like_count, comment_count, share_count, collect_count, posted_at, author_id, author_name, author_kwai_id, author_url, author_verified, author_gender, cover_url, avatar_url, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/video](https://everyinfra.com/en/kuaishou-api/video?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/video.md)

### comments — Comments
Read the top-level comments on a Kuaishou video, one page per call. Each comment has text, likes, time, the commenter's name, gender, verification and IP region, and whether the video's author liked it. A page usually holds about 10 comments and can hold up to about 50; pass `next_page_token` back as `page_token` until there is none. Replies under a comment are not included.
- Sync delivery · Price: $1.6 per 1,000 requests
- Each call returns one page of up to 50 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.
- Parameters:
  - `url` (required): The Kuaishou video whose comments you want: its link (https://www.kuaishou.com/short-video/<video ID>), a 3x short ID or a numeric ID. Each call returns one page of top-level comments; page size varies, usually about 10 and up to about 50.
  - `page_token` (optional): Page token for `comments` and `user_search`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page is one call; the last page has no `next_page_token`.
- Returns fields: next_page_token, id, text, like_count, posted_at, author_id, author_name, author_avatar_url, author_gender, author_verified, ip_location, liked_by_author, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/comments](https://everyinfra.com/en/kuaishou-api/comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/comments.md)

### hot_boards — Hot boards
Read one of Kuaishou's topic boards in one call: the hot board, entertainment, society or useful, about 50 entries. Each entry has its rank, title, heat as a whole number and view count; the pinned entry is first and carries a label. For the hot board with cover images and video IDs, use `trending`.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Parameters:
  - `board` (optional): Board: `hot` (default), `entertainment`, `society` or `useful`. Each call returns the whole board, about 50 entries. One of: entertainment, hot, society, useful.
- Returns fields: rank, title, hot_value, view_count, label, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/hot_boards](https://everyinfra.com/en/kuaishou-api/hot_boards?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/hot_boards.md)

### live_rank — Live rank
See which Kuaishou live hosts draw the biggest crowds right now, overall or in a category such as music, dance or gaming, up to 50 per call. Each host has rank, name, numeric user ID, avatar, stream title, live stream ID and popularity as a whole number. The board changes minute by minute.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Parameters:
  - `category` (optional): Live category: `all` (default), `music`, `dance`, `looks`, `chinese_art`, `dating`, `gaming`, `anime`, `story`, `group_live` or `multi_host`. Each call returns up to 50 hosts of that category. One of: all, anime, chinese_art, dance, dating, gaming, group_live, looks, multi_host, music, story.
- Returns fields: rank, name, type, user_id, avatar_url, subtitle, live_stream_id, popularity, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/live_rank](https://everyinfra.com/en/kuaishou-api/live_rank?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/live_rank.md)

### shopping_rank — Shopping rank
Read Kuaishou's shopping board: the top selling hosts, or with `board` set to `products`, the best-selling products, up to 50 per call. Host rows have user ID, avatar and live stream ID; product rows have product ID, seller ID, price in CNY, badges such as coupons, and image. Both carry rank and popularity.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Parameters:
  - `board` (optional): Board: `hosts` (default) for the top selling hosts, or `products` for the best-selling products. Each call returns the whole board, up to 50 rows. One of: hosts, products.
- Returns fields: rank, name, type, user_id, seller_id, product_id, price_cny, promotion, avatar_url, image_url, live_stream_id, popularity, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/shopping_rank](https://everyinfra.com/en/kuaishou-api/shopping_rank?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/shopping_rank.md)

### brand_rank — Brand rank
Read Kuaishou's brand board for one industry, such as beauty, auto or phones, up to 50 brand accounts in one call. Each account has its rank, name, numeric user ID, avatar, live stream ID while it is live, and popularity as a whole number. Popularity is Kuaishou's own score; compare it only within one board.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Parameters:
  - `category` (optional): Industry: `beauty` (default), `apparel`, `auto`, `gaming`, `health`, `electronics`, `phones`, `appliances`, `baby` or `food_drink`. Each call returns up to 50 brand accounts. One of: apparel, appliances, auto, baby, beauty, electronics, food_drink, gaming, health, phones.
- Returns fields: rank, name, type, user_id, avatar_url, live_stream_id, popularity, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/brand_rank](https://everyinfra.com/en/kuaishou-api/brand_rank?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/brand_rank.md)

### hot_person_board — Trending people chart
Read Kuaishou's hot-people board in one call, about 50 accounts. Each account has its rank, name, numeric user ID, avatar, popularity and Kuaishou's own reason for the entry, such as a new video or a jump in searches. One call returns one page of up to 50 accounts; there is no next page.
- Sync delivery · Price: $0.81 per 1,000 requests
- Each call returns one page of up to 50 rows. There is no next page. Each page is billed once.
- Returns fields: rank, name, type, user_id, avatar_url, reason, popularity, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/hot_person_board](https://everyinfra.com/en/kuaishou-api/hot_person_board?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/hot_person_board.md)

### user_live — User live
Check whether a Kuaishou account is live right now from its numeric `user_id`, such as one from `live_rank` or `user_search`. You get `is_live` and the account's video count. It does not return the stream itself or past streams.
- Sync delivery · Price: $0.81 per 1,000 requests
- Parameters:
  - `user_id` (required): Numeric Kuaishou user ID, such as `501353480`, from the `user_id` of a `live_rank` or `user_search` row; a kuaishou.com/profile/<numeric ID> link is accepted too.
- Returns fields: user_id, is_live, video_count, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/user_live](https://everyinfra.com/en/kuaishou-api/user_live?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/user_live.md)

### user_search — Account search
Find Kuaishou accounts by nickname, handle or topic `keyword`, 20 per page. Each account has numeric user ID, nickname, Kuaishou handle when set, bio, gender, verification, follower and video counts and avatar. Pass the `user_id` to `user_live`, and page on with `next_page_token`.
- Sync delivery · Price: $8 per 1,000 requests
- Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.
- Parameters:
  - `keyword` (required): Account search term: a nickname, a Kuaishou handle or a topic such as `food`. Returns matching accounts with follower and video counts.
  - `page_token` (optional): Page token for `comments` and `user_search`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page is one call; the last page has no `next_page_token`.
- Returns fields: next_page_token, user_id, nickname, kwai_id, bio, gender, verified, follower_count, video_count, avatar_url, platform
- Capability page: [https://everyinfra.com/en/kuaishou-api/user_search](https://everyinfra.com/en/kuaishou-api/user_search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/kuaishou-api/user_search.md)

## Kuaishou API questions

### What can I retrieve with the Kuaishou API?

Set `platform` to `kuaishou`. The current catalog lists search, posts by user, trending, video details, comments, and more. These action names identify different Kuaishou objects or views; they are not interchangeable search modes.

### Does Kuaishou have an official API?

Kuaishou Open Platform requires company verification and offers OAuth-based APIs, such as login, profile and video publishing, that act on the users who authorize an app. Its public documentation does not describe an API for searching public videos or reading other users' comments.

Official sources (checked 2026-10-16): [Kuaishou Open Platform: developer onboarding](https://open.kuaishou.com/platformDocs/newGuide/entry.html) · [Kuaishou Open Platform: user information](https://open.kuaishou.com/platformDocs/openAbility/userInformation/publicInformation.html)

### Do I need a Kuaishou developer account or API key?

No. Requests go through EveryInfra with an EveryInfra API key: sign up, create a key in the console and send it as `Authorization: Bearer <API_KEY>`. You do not register a Kuaishou developer app, apply for Kuaishou API access or sign in with a Kuaishou account, and the actions return public Kuaishou data only.

### How much does the Kuaishou API cost per 1,000 requests?

each action's price is listed in the table on this page and in the public catalog. There is no subscription: you top up a USD balance and pay per call, and failed calls and empty results are not charged.

### Which input starts the Kuaishou `search` request?

Search query for public Kuaishou videos (excludes user accounts). Send it as `keyword` inside `params`.

### Which fields can Kuaishou `search` return?

Its declared schema includes `text`, `duration_ms`, `view_count`, and `like_count`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Kuaishou action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=kuaishou
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
