# 号内搜索

视频号内搜索视频。

ID: native-http:social.wechat_channels.video.search · Region: cn · Status: unknown

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

缓存资料；当前可用状态待核实。

视频号内搜索视频。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.wechat_channels.video.search

## POST /v1/native/social/wechat-channels/videos/search

native · unknown · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

视频号内搜索视频。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "cursor": {
          "anyOf": [
            {
              "maxLength": 4096,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "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)"
        },
        "keyword": {
          "description": "在该号内搜索的关键词（1-100 字）/Keyword to search within this channel (1-100 chars)",
          "maxLength": 100,
          "minLength": 1,
          "type": "string"
        },
        "raw": {
          "default": false,
          "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
          "type": "boolean"
        },
        "username": {
          "description": "创作者 finder username（v2_…@finder 格式）/Creator finder username (v2_…@finder format)",
          "maxLength": 256,
          "minLength": 10,
          "pattern": "^v2_[0-9a-fA-F]+@finder$",
          "type": "string"
        }
      },
      "required": [
        "username",
        "keyword"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "keyword": "example",
    "username": "v2_ab12@finder"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "cursor": {
                  "anyOf": [
                    {
                      "maxLength": 4096,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "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)"
                },
                "keyword": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "raw": {
                  "default": false,
                  "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
                  "type": "boolean"
                },
                "username": {
                  "maxLength": 256,
                  "minLength": 10,
                  "pattern": "^v2_[0-9a-fA-F]+@finder$",
                  "type": "string"
                }
              },
              "required": [
                "username",
                "keyword"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "continueFlag": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "continue_flag": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "count": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "data": {
              "items": {
                "additionalProperties": true,
                "description": "Optional path documented by the source; presence depends on response mode and record type.",
                "properties": {
                  "items": {
                    "items": {
                      "description": "Optional path documented by the source; presence depends on response mode and record type."
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "subBoxes": {
                    "items": {
                      "additionalProperties": true,
                      "properties": {
                        "items": {
                          "items": {
                            "description": "Optional path documented by the source; presence depends on response mode and record type."
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "items": {
              "items": {
                "additionalProperties": true,
                "description": "Optional path documented by the source; presence depends on response mode and record type.",
                "properties": {
                  "desc": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "doc_id": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "keyword": {
              "description": "Optional path documented by the source; presence depends on response mode and record type.",
              "type": [
                "string",
                "null"
              ]
            },
            "next_cursor": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "offset": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "query": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "username": {
              "description": "Optional path documented by the source; presence depends on response mode and record type.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "items": [
        {
          "doc_id": "doc-1",
          "title": "搜索结果"
        }
      ],
      "keyword": "关键词",
      "username": "v2_abcdef@finder"
    }
  },
  "meta": {
    "api_name": "social.wechat_channels.video.search",
    "credits_charged": 3,
    "latency_ms": 12,
    "next_input": null,
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.items (array|null): 暂无字段说明
- data.data.keyword (string|null): 搜索关键词（如有）。
- data.data.username (string|null): 账号用户名（如有）。
- data.data.count (scalar): 结果数量（如有）。
- data.data.continue_flag (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.next_cursor (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.query (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.offset (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.data (array|null): 暂无字段说明
- data.data.continueFlag (scalar): Optional path documented by the source; presence depends on response mode and record type.
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.items[].doc_id (string|null): 文档ID（如有）。
- data.data.items[].title (string|null): 标题（如有）。
- data.data.items[].type (scalar): 类型（如有）。
- data.data.items[].desc (scalar): 描述（如有）。
- data.data.data[].subBoxes (array|null): 暂无字段说明
- data.data.data[].subBoxes[].items (array|null): 暂无字段说明
- data.data.data[].items (array|null): 暂无字段说明
- meta.next_input.cursor (string|null): 翻页游标：首页留空；翻页时原样回传上一页响应的 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)
- meta.next_input.keyword (string): 暂无字段说明
- meta.next_input.raw (boolean): True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure
- meta.next_input.username (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

