# Kuaishou Search API (kuaishou.search)

- Canonical page: https://everyinfra.com/en/kuaishou-api/search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "kuaishou", "action": "search", "params": {...}}
- Price: $0.008 per call ($8 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=kuaishou&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Search query for public Kuaishou videos (excludes user accounts). |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| duration_ms | Duration in **milliseconds**. |
| view_count | Views of the topic (hot_boards). |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | Comments. null means not disclosed, not 0. |
| share_count | Shares. null means not disclosed, not 0. |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| author_id | Author's unique ID on the platform. |
| author_name | Author's display name. |
| author_kwai_id | The author's Kuaishou handle (a user-chosen ID). |
| author_url | Link to the author's profile on the platform. |
| author_verified | Whether the author is verified; on comments, the commenter. |
| follower_count | Followers. null means not disclosed, not 0. |
| video_count | platform-native meaning |
| cover_url | Cover image; on trending, the picture for the hot-list entry. |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| transcript | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "kuaishou",
  "action": "search",
  "params": {
    "keyword": "露营装备"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "kuaishou",
        "action": "search",
        "params": {
            "keyword": "露营装备",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "kuaishou",
  "action": "search",
  "results": [
    {
      "id": "3xcer7y3mu6mmya",
      "url": "https://www.kuaishou.com/short-video/3xcer7y3mu6mmya",
      "text": "建议收藏！懒人露营装备，一整套厨房系统，拎包就走",
      "duration_ms": 3466,
      "view_count": 12263,
      "like_count": 46,
      "posted_at": "2026-04-05T09:39:39+00:00",
      "author_id": "•••",
      "author_name": "素•••店",
      "author_url": "https://www.kuaishou.com/•••",
      "cover_url": "http://zj66.a.kwimgs.com/upic/2026/04/05/17/BMjAyNjA0MDUxNzM5MjBfMjAyMTYxNDQwN18xOTIyNzQ0MDAwOTNfMF8z_hd_Bb9a0bacf1f0db35c06a8cab656c89035.kvif?tag=1-1794063991-sff-0-odu5fhplva-ea778ddf4e5da3b6&clientCacheKey=3xcer7y3mu6mmya_hd.kvif&di=7139ac5a&bp=10681",
      "avatar_url": "http://p1.a.yximgs.com/•••",
      "platform": "kuaishou"
    },
    {
      "id": "3xqxxjw5ejgifq9",
      "url": "https://www.kuaishou.com/short-video/3xqxxjw5ejgifq9",
      "text": "全套露营装备一包带走啦",
      "duration_ms": 268966,
      "view_count": 444130,
      "like_count": 3921,
      "posted_at": "2025-11-26T15:09:38+00:00",
      "author_id": "•••",
      "author_name": "露•••长",
      "author_url": "https://www.kuaishou.com/•••",
      "cover_url": "http://zj66.a.kwimgs.com/upic/2025/11/26/23/BMjAyNTExMjYyMzA4NTFfMzYwODMwODM2MV8xODA4NzY1NzcyMzhfMV8z_hd_B75324d0de6b33147e01ff804a2ed91b2.kvif?tag=1-1794063991-sff-0-kg6l32gson-e41c3d3409f79afc&clientCacheKey=3xqxxjw5ejgifq9_hd.kvif&di=7139ac5a&bp=10681",
      "avatar_url": "http://p4.a.yximgs.com/•••",
      "platform": "kuaishou"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=kuaishou
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
