<p class="crumbs"><a href="/zh/apis/">数据接口</a> / <a href="/zh/apis/wechat_channels/">视频号</a></p>

# 视频号视频搜索 API

通过微信搜一搜按关键词搜视频号视频：文案、作者、发布时间、时长、封面，可按最新、最热、发布时间和时长筛选，可往后翻页。

| 项目 | 值 |
| --- | --- |
| 地址 | `GET https://api.feedmcp.com/v1/wechat_channels/videos/search` |
| ID | `wechat_channels.videos.search` |
| 价格 | **$0.02** / 次 |
| 返回 | 一页 内容（帖子）对象列表 |
| 认证 | `Authorization: Bearer $FEEDMCP_API_KEY` |

> `id` 是视频号的 export_id，和[作品详情](/zh/apis/wechat_channels/videos/get/)要的数字 ID 不一样；搜索结果里没有作者 ID。

## 参数

| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `keyword` | string | 是 | 搜索关键词 |
| `sort` | `relevance` / `latest` / `hot` | 否 | relevance 相关、latest 最新、hot 最热，默认 `relevance` |
| `time` | `any` / `day` / `week` / `half_year` | 否 | 发布时间：any 不限、day 一天内、week 一周内、half_year 半年内，默认 `any` |
| `duration` | `all` / `short` / `medium` / `long` | 否 | 时长：all 不限、short 5 分钟内、medium 5–10 分钟、long 20 分钟以上，默认 `all` |
| `cursor` | string | 否 | 翻页游标。第一页不传；下一页传上一页返回的 page.next_cursor。每一页单独计费 |

所有接口还支持 `view=full`：在返回里附上平台的原始数据（`raw`），价格不变。

## 返回字段

`data.items` 是一组「内容（帖子）」对象，所有平台字段相同：

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | string | 平台上的 ID，可以直接传给这个平台的详情接口：TikTok、抖音作品 ID，YouTube 视频 ID，Instagram、Threads 短码，X 帖子 ID，Telegram「频道/编号」，Reddit 短 ID，LinkedIn 帖子的 activity 数字，Pinterest Pin 数字 ID，快手 3x 开头的作品 ID，视频号作品 ID，知乎回答、问题或文章 ID，小红书笔记 ID，BV 号，微博 ID，公众号文章 ID |
| `platform` | string | 平台：tiktok、youtube、instagram、x、threads、telegram、reddit、linkedin、facebook、pinterest、xiaohongshu、douyin、kuaishou、wechat_mp、wechat_channels、weibo、zhihu、bilibili |
| `type` | string | video 视频、note 图文笔记、article 文章、post 帖子（微博、X、Threads、Telegram、Reddit、LinkedIn、Facebook、Pinterest、Instagram 图片帖）、question 知乎问题、answer 知乎回答 |
| `url` | string | 原文链接 |
| `title` | string \| null | 标题（YouTube、Reddit、Pinterest、B 站、小红书、公众号有；知乎回答是所属问题的标题；其他平台为 null） |
| `text` | string \| null | 正文或文案 |
| `created_at` | string \| null | 发布时间，ISO 8601，UTC |
| `author.id` | string \| null | 作者 ID，可以直接传给这个平台的账号接口 |
| `author.name` | string \| null | 作者昵称 |
| `metrics.views` | number \| null | 播放或阅读数（平台不公开时为 null） |
| `metrics.likes` | number \| null | 点赞数（Reddit 是得分，Facebook 是表情回应总数） |
| `metrics.comments` | number \| null | 评论数 |
| `metrics.shares` | number \| null | 分享或转发数（X 是转帖数） |
| `metrics.quotes` | number \| null | 引用数（X、Threads） |
| `metrics.reactions` | number \| null | 表情回应总数（只有 Telegram） |
| `metrics.answers` | number \| null | 回答数（只有知乎问题） |
| `metrics.upvote_ratio` | number \| null | 点赞比例，0 到 1（只有 Reddit） |
| `metrics.repins` | number \| null | 转存数（只有 Pinterest） |
| `metrics.favorites` | number \| null | 收藏数（X 是书签数，Pinterest 是保存数） |
| `cover` | string \| null | 封面图地址 |
| `duration_seconds` | number \| null | 视频时长（秒） |
| `tags` | string[] | 话题标签（Reddit 是帖子的分类标签） |
| `community` | string \| null | 所在版块（只有 Reddit） |
| `link` | string \| null | Pin 指向的网页（只有 Pinterest） |

## 什么时候扣费

成功调用一次 $0.02，空结果也算一次（搜索的空结果也是答案）。参数错误、平台出错、超时都不收费。

每次返回的 `meta.billing` 里写着这次扣了多少、还剩多少余额。

## 调用示例

### cURL

```bash
curl "https://api.feedmcp.com/v1/wechat_channels/videos/search?keyword=%E9%9C%B2%E8%90%A5" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/wechat_channels/videos/search",
    params={"keyword": "露营"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/wechat_channels/videos/search?keyword=%E9%9C%B2%E8%90%A5", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

在装好 FeedMCP 的 AI 里，调用 `call` 工具：

```json
{
  "endpoint": "wechat_channels.videos.search",
  "params": {
    "keyword": "露营"
  },
  "max_price": "0.02"
}
```

## 返回示例

示例数据是虚构的，格式和真实返回一致。

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "id": "export/UzFfBgAAmock1",
        "platform": "wechat_channels",
        "type": "video",
        "url": null,
        "title": null,
        "text": "雪地露营 1",
        "created_at": "2025-11-17T21:06:40.000Z",
        "author": {
          "id": null,
          "name": "户外补给仓"
        },
        "metrics": {
          "likes": null
        },
        "cover": "https://findermp.video.qq.com/a.jpg",
        "duration_seconds": 78
      },
      {
        "id": "export/UzFfBgAAmock2",
        "platform": "wechat_channels",
        "type": "video",
        "url": null,
        "title": null,
        "text": "雪地露营 2",
        "created_at": "2025-11-16T21:06:40.000Z",
        "author": {
          "id": null,
          "name": "户外补给仓"
        },
        "metrics": {
          "likes": null
        },
        "cover": "https://findermp.video.qq.com/a.jpg",
        "duration_seconds": 78
      }
    ]
  },
  "page": {
    "next_cursor": "eyJjdXJzb3IiOjIwfQ",
    "has_more": true
  },
  "warnings": [],
  "meta": {
    "endpoint": "wechat_channels.videos.search",
    "platform": "wechat_channels",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.02",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

出错时的格式见 [错误码](/zh/docs/errors/)：每个错误都写明扣没扣钱（`charged`）和能不能重试（`retry`）。

## 视频号的其他接口

- [视频号账号资料](/zh/apis/wechat_channels/users/get/)：$0.02
- [视频号账号的作品](/zh/apis/wechat_channels/users/videos/list/)：$0.02
- [视频号作品详情](/zh/apis/wechat_channels/videos/get/)：$0.02
- [视频号作品评论](/zh/apis/wechat_channels/videos/comments/list/)：$0.02
- [视频号评论的回复](/zh/apis/wechat_channels/videos/comments/replies/list/)：$0.015
- [视频号直播回放](/zh/apis/wechat_channels/users/live_replays/list/)：$0.05

## 常见问题

### 视频号视频搜索接口多少钱？

成功调用一次 $0.02，空结果也算一次（搜索的空结果也是答案）。参数错误、平台出错、超时都不收费。

### 需要平台账号吗？

不需要，只取公开数据。

### ID 或链接怎么找？

账号用 v2_ 开头、@finder 结尾的视频号 ID；作品用纯数字的作品 ID（账号作品列表里的 id）。

### 怎么取更多条？

返回里有 `page.next_cursor` 时，把它作为 `cursor` 参数传回来取下一页。每一页单独计费。

### 怎么在 AI 里用？

装好 [MCP](/zh/mcp/) 后直接说你要什么，AI 会调用 `wechat_channels.videos.search`。

---

网页版: https://feedmcp.com/zh/apis/wechat_channels/videos/search/
