---
title: "获取直播搜索 V2/Fetch live search V2"
method: POST
path: "/api/v1/douyin/search/fetch_live_search_v2"
tags: ["Douyin-Search-API"]
---

# 获取直播搜索 V2/Fetch live search V2

`POST /api/v1/douyin/search/fetch_live_search_v2`

## Request

- Base URL: `https://api.tikhub.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tikhub.io/api/v1/douyin/search/fetch_live_search_v2`
- Auth: HTTP bearer

# [中文]
### 用途:
- 按抖音号或抖音昵称搜索直播间（V2 版本），支持游标翻页。
- 适合定位某个主播的直播间，而不是按内容关键词泛搜直播。

### 备注:
- `keyword` 匹配的是主播的抖音号或昵称，传入内容类关键词（如 "游戏"）通常匹配不到结果。
- 本接口不支持排序、发布时间、时长等筛选条件。
- 每页固定 10 条，不支持指定数量。
- 首次请求 `cursor` 传 0，翻页时传上一页响应里返回的 `cursor`。

### 参数:
- keyword: 抖音号 或 抖音昵称（必填），如 "小耳朵"
- cursor: 翻页游标（首次请求传 0）

### 请求体示例：
```json
payload = {
    "keyword": "小耳朵",
    "cursor": 0
}
```

### 返回（部分常用字段，实际返回字段更多，一切以实际响应为准）:
- 匹配的直播间列表，每项包含主播昵称、抖音号、头像、直播间ID及开播状态等
- 翻页信息（下一页的 `cursor`、是否还有更多数据）

# [English]
### Purpose:
- Search live rooms by Douyin ID or nickname (V2), with cursor pagination.
- Best suited for locating a specific streamer's live room rather than searching live
  content by topic keyword.

### Notes:
- `keyword` matches the streamer's Douyin ID or nickname; a content keyword (e.g., "games")
  usually returns no result.
- This endpoint has no sorting, publish time or duration filters.
- Page size is fixed at 10 and cannot be changed.
- Set `cursor` to 0 for the first request, then pass the `cursor` from the previous response.

### Parameters:
- keyword: Douyin ID or nickname (required), e.g., "小耳朵"
- cursor: Pagination cursor (0 for the first request)

### Request Body Example:
```json
payload = {
    "keyword": "小耳朵",
    "cursor": 0
}
```

### Response (common fields, actual response may contain more fields):
- Matched live room list; each item contains the streamer's nickname, Douyin ID, avatar,
  room ID and live status
- Pagination info (next `cursor`, whether more results are available)

## Request body

- LiveSearchV2Request
  - `keyword` string: 抖音号 或 抖音昵称 / Douyin ID or nickname
  - `cursor` integer: 翻页游标，首次请求传 0，之后传上一页响应里的 cursor / Pagination cursor, 0 for the first request, then the cursor from the last response

## Response `200`

Successful Response

- ResponseModel
  - `code` integer: HTTP status code | HTTP状态码
  - `request_id` string, nullable: Unique request identifier | 唯一请求标识符
  - `message` string: Response message (EN-US) | 响应消息 (English)
  - `message_zh` string: Response message (ZH-CN) | 响应消息 (中文)
  - `support` string: Support message | 支持消息
  - `time` string: The time the response was generated | 生成响应的时间
  - `time_stamp` integer: The timestamp the response was generated | 生成响应的时间戳
  - `time_zone` string: The timezone of the response time | 响应时间的时区
  - `docs` string, nullable: Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
  - `cache_message` string, nullable: Cache message (EN-US) | 缓存消息 (English)
  - `cache_message_zh` string, nullable: Cache message (ZH-CN) | 缓存消息 (中文)
  - `cache_url` string, nullable: The URL to access the cached result | 访问缓存结果的 URL
  - `router` string: The endpoint that generated this response | 生成此响应的端点
  - `params` unknown
  - `data` unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `96a122a5f220`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-01** `50f9ec6e1cd3`: 1 info
  - endpoint added
- **2026-04-14** `ee5b7c9c88f5`: 1 breaking
  - api path removed without deprecation
- **2025-05-16** `14d38e4b883a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/changes/api/v1/douyin/search/fetch_live_search_v2/post.md)

---

[API](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi.md) - [All operations](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/llms.txt) - [OpenAPI document](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/revisions/86a3483c705a?raw)
