# Search WeChat Channels videos within a channel

In-channel search: search a creator's published videos by keyword within that channel only. Needs username and keyword. Served by TikHub.

Purpose:
- In-channel search: search a creator's published videos by keyword **within that channel only**.
- **Single page per call.** When `continue_flag=1` and `next_cursor` is non-empty, pass `next_cursor` back verbatim as the `cursor` parameter to get the next page.
- `next_cursor` is an **opaque string** — do not parse or concatenate it. Upstream seals it (older versions leaked search-session state in plaintext).
- ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.
- ⚠️ Large-integer ID precision: IDs such as `doc_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.
Parameters:
- username: Creator finder username (`v2_…@finder` format). E.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily).
- keyword: Keyword to search within the channel (1-100 chars after trimming). E.g. `新闻`.
- raw: Optional, default True. True=raw search response; False=simplified parsed structure.
Return:
- In-channel search hit list

Response structure & JSON Path:
`raw=false` (simplified, snake_case):
- `$.data.username` / `$.data.keyword` — input echo
- `$.data.count` — hits on th

- Tool ID: `tikhub/wechat-channels-v2-fetch-search-channel-videos`
- Name in the catalog: Wechat_channels, Search Videos Within a WeChat Channel
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [WeChat search](/tools/wechat/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": {
    "username": {
      "type": "string",
      "maxLength": 256,
      "minLength": 10,
      "pattern": "^v2_[0-9a-fA-F]+@finder$",
      "title": "Username",
      "description": "创作者 finder username（v2_…@finder 格式）/Creator finder username (v2_…@finder format)"
    },
    "keyword": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Keyword",
      "description": "在该号内搜索的关键词（1-100 字）/Keyword to search within this channel (1-100 chars)"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4096
        },
        {
          "type": "null"
        }
      ],
      "title": "Cursor",
      "description": "翻页游标：首页留空；翻页时原样回传上一页响应的 next_cursor（不透明字符串，勿解析或拼接）/Pagination cursor: leave empty for the first page; pass back the previous response's next_cursor verbatim (opaque string, do not parse or concatenate)"
    },
    "raw": {
      "type": "boolean",
      "title": "Raw",
      "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
      "default": true
    }
  },
  "required": [
    "username",
    "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/wechat-channels-v2-fetch-search-channel-videos",
  "input": {
    "username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder",
    "keyword": "新闻",
    "raw": true
  }
}
```

## 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/#/WeChat-Channels-V2-API/fetch_search_channel_videos_api_v1_wechat_channels_v2_fetch_search_channel_videos_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/wechat-channels-v2-fetch-search-channel-videos) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/wechat-channels-v2-fetch-search-channel-videos) · [Agent index](/llms.txt)
