# TikTok general search

Needs keyword. Served by TikHub.

Purpose:
- Get general search list
Parameters:
- keyword: Search keyword
- offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
- search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.
    - For example: search_id = "20240828035554C02011379EBB6A00E00B"
    - JSON Path-1 : $.data.extra.logid
    - JSON Path-2 : $.data.log_pb.impr_id
- cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required)
Return:
- General search list
Note:
- The direct video CDN links returned by this interface require the returned `tt_chain_token` to be accessed, otherwise HTTP 403 will be returned.
- When accessing a direct video CDN link, carry `Cookie: tt_chain_token={tt_chain_token}` in the request header, where `{tt_chain_token}` is the value returned by this interface.
- **If a direct video CDN link still returns HTTP 403**:
  1. Use the video link starting with `https://www.tiktok.com/aweme/v1/play/` from the response instead (found in the `UrlList` fields under `video`)
  2. Send that link **without any Cookie** - carrying `tt_chain_token` will cause HTTP 403
- If you need watermark-free video links that require no Cookie at all, use `/fetch_post_detail` or the interfaces under the TikTok APP V3 directory.

- Tool ID: `tikhub/tiktok-web-fetch-general-search`
- Name in the catalog: Tiktok, Get general search list
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [TikTok search](/tools/tiktok/search.md)
- Price: $0.001 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.001
}
```

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.001; 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",
      "description": "搜索关键词/Search keyword",
      "title": "Keyword"
    },
    "offset": {
      "type": "integer",
      "description": "翻页游标/Page cursor",
      "default": 0,
      "title": "Offset"
    },
    "search_id": {
      "type": "string",
      "description": "搜索id，翻页时需要提供/Search id, need to provide when paging",
      "default": "",
      "title": "Search Id"
    }
  },
  "required": [
    "keyword"
  ],
  "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/tiktok-web-fetch-general-search",
  "input": {
    "keyword": "TikTok",
    "offset": 0,
    "search_id": ""
  }
}
```

## 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/#/TikTok-Web-API/fetch_general_search_api_v1_tiktok_web_fetch_general_search_get)

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

---

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