# Douyin general search

Fetch Douyin general search results (V3), returning mixed cards: videos, users, related words, etc. Compared with V1/V2 it has no sorting or filtering options. Takes keyword, offset, page and more, all optional. Served by TikHub.

Purpose:
- Fetch Douyin general search results (V3), returning mixed cards: videos, users, related words, etc.
- Compared with V1/V2 it has no sorting or filtering options, but pagination is simpler and the
  response structure is unified (`config` + `items` + `pagination`).

Notes:
- For the first request set `offset` to 0, `page` to 1, and `search_id` / `backtrace` to empty strings.
- For pagination, pass back `offset`, `search_id` and `backtrace` from `data.pagination` of the
  previous response, and increment `page` by 1.
- `data.pagination.has_more` = 0 means the last page has been reached.
- Page size is fixed at 10 and cannot be changed. `page` is capped at 200;
  exceeding it returns a parameter error.

Parameters:
- keyword: Search keyword, e.g., "cat"
- offset: Offset cursor (0 for the first request)
- page: Page number, 1-200 (1 for the first request)
- search_id: Search ID (empty for the first request)
- backtrace: Backtrace identifier (empty for the first request)

Request Body Example:
```json
payload = {
    "keyword": "cat",
    "offset": 0,
    "page": 1,
    "search_id": "",
    "backtrace": ""
}
```

Response (common fields, actual response may contain more fields):
- `config`: Search configuration returned by the upstream (passed through)
- `items[]`: Result cards (already unwrapped by card type)
  - Video card:
    - `aweme_id`: Video ID
    - `desc`: Video description
    - `create_time`: Publish timestamp
    - `author`: Author info (`uid`, `sec_uid`, `nickname`, `avatar_thumb.url_list`, etc.)
    - `video`: Playback info (`play_addr.url_list`, `cover

- Tool ID: `tikhub/douyin-search-fetch-general-search-v3`
- Name in the catalog: Douyin, Fetch general search V3
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Douyin search](/tools/douyin/search.md)
- Price: $0.01 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.01
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.01; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "title": "Keyword",
      "description": "搜索关键词 / Search keyword",
      "default": "猫咪"
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "description": "翻页游标，从上一次响应的 data.pagination.offset 获取，首次请求传 0 / Offset cursor for pagination, obtained from data.pagination.offset of the last response, 0 for the first request",
      "default": 0
    },
    "page": {
      "type": "integer",
      "title": "Page",
      "description": "页码，取值 1~200，首次请求传 1，之后每次加 1 / Page number, 1-200, start with 1 and increment by 1 each time",
      "default": 1
    },
    "search_id": {
      "type": "string",
      "title": "Search Id",
      "description": "搜索ID，从上一次响应的 data.pagination.search_id 获取，首次请求传空字符串 / Search ID, obtained from data.pagination.search_id of the last response, empty for the first request",
      "default": ""
    },
    "backtrace": {
      "type": "string",
      "title": "Backtrace",
      "description": "翻页回溯标识，从上一次响应的 data.pagination.backtrace 获取，首次请求传空字符串 / Backtrace, obtained from data.pagination.backtrace of the last response, empty for the first request",
      "default": ""
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/douyin-search-fetch-general-search-v3",
  "input": {
    "keyword": "猫咪",
    "offset": 0,
    "page": 1,
    "search_id": "",
    "backtrace": ""
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Douyin-Search-API/fetch_general_search_v3_api_v1_douyin_search_fetch_general_search_v3_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/douyin-search-fetch-general-search-v3) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/douyin-search-fetch-general-search-v3) · [Agent index](/llms.txt)
