# WeChat Channels collection videos

Given a collection topic_id (from fetch_user_collections), return the video list inside that collection. Needs topic id. Served by TikHub.

Purpose:
- Given a collection `topic_id` (from `fetch_user_collections`), return the video list inside that collection.
- Each video carries a `media` object (`url` / `url_token` / `decode_key`) ready for download and decryption.
- Supports pagination for more videos.
- ⏱️ 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 `id` / `topic_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:
- topic_id: Collection ID (numeric, from `topic_id` of `fetch_user_collections`). E.g. `14616794565351966924` (People's Daily "早安中国" collection).
- topic: Optional, collection name, improves hit rate. E.g. `早安中国`.
- username: Optional, creator finder username (`v2_…@finder` format), improves hit rate.
- last_buffer: Optional pagination cursor (base64), **leave empty for the first page**; when `down_continue` is truthy, pass the previous page's `last_buffer`.
- topic_type: Optional, collection type, default 16 (align with the collection's `topic_type` from `fetch_user_collections`).
- raw: Optional, default True. True=raw response; False=simplified parsed structure (recommended 

- Tool ID: `tikhub/wechat-channels-v2-fetch-collection-videos`
- Name in the catalog: Wechat_channels, Get WeChat Channels Collection Videos
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [WeChat posts](/tools/wechat/posts.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": {
    "topic_id": {
      "type": "string",
      "maxLength": 32,
      "pattern": "^[0-9]+$",
      "title": "Topic Id",
      "description": "合集 ID（纯数字，来自 fetch_user_collections 的 topic_id）/Collection ID (numeric, from topic_id of fetch_user_collections)"
    },
    "topic": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Topic",
      "description": "合集名（可选，提高命中）/Collection name (optional, improves hit rate)",
      "default": ""
    },
    "username": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256,
          "pattern": "^(v2_[0-9a-fA-F]+@finder)?$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Username",
      "description": "创作者 finder username（可选，提高命中）/Creator finder username (optional, improves hit rate)",
      "default": ""
    },
    "last_buffer": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9+/=_-]*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Buffer",
      "description": "翻页游标（base64），首页留空/Pagination cursor (base64), leave empty for first page",
      "default": ""
    },
    "topic_type": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 0,
      "title": "Topic Type",
      "description": "合集类型，默认 16（与 fetch_user_collections 返回的 topic_type 对齐）/Collection type, default 16 (align with topic_type from fetch_user_collections)",
      "default": 16
    },
    "raw": {
      "type": "boolean",
      "title": "Raw",
      "description": "True=原始响应；False=精简解析结构（推荐做媒体下载）/True=raw response; False=simplified parsed structure (recommended for media download)",
      "default": true
    }
  },
  "required": [
    "topic_id"
  ],
  "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-collection-videos",
  "input": {
    "topic_id": "14616794565351966924",
    "topic": "早安中国",
    "username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder",
    "last_buffer": "",
    "topic_type": 16,
    "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_collection_videos_api_v1_wechat_channels_v2_fetch_collection_videos_post)

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

---

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