# 视频号 API 数据接口

视频号 API（数据接口）可以搜视频，读视频详情、评论、账号资料和账号发布的视频，不用登录视频号账号，也不用提供 Cookie。每次调用 12 积分（约 $0.024–$0.04），失败不扣。视频号不提供浏览量，这个字段返回 null。可以直接发 HTTP 请求，也可以通过 MCP 接到 AI 客户端里用。最近实测：2026-10-17。

- 页面：https://socialtoai.com/zh/platforms/wechat-channels/
- 最近更新：2026-10-17
- 最近实测：2026-10-17

## 可用的动作

| 动作 | 返回什么 | 由什么参数选中 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- | --- |
| `search` | 按关键词找视频：正文、作者、点赞数和发布时间。 | — | `wechat_channels.search` | 12 | https://socialtoai.com/zh/wechat-channels-search-api.md |
| `detail` | 用编号取一条视频：正文、作者、点赞数、评论数和发布时间。 | — | `wechat_channels.detail` | 12 | https://socialtoai.com/zh/wechat-channels-detail-api.md |
| `comments` | 一条视频下的评论：正文、点赞数和时间。 | — | `wechat_channels.comments` | 12 | https://socialtoai.com/zh/wechat-channels-comments-api.md |
| `user_profile` | 一个账号：名称、简介和作品数。 | — | `wechat_channels.user_profile` | 12 | https://socialtoai.com/zh/wechat-channels-user-profile-api.md |
| `user_posts` | 一个账号最近发布的视频。 | — | `wechat_channels.user_posts` | 12 | https://socialtoai.com/zh/wechat-channels-user-posts-api.md |

视频号不提供：热榜。

## 调用示例

```bash
curl https://api.socialtoai.com/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "wechat_channels",
    "query": "露营装备推荐"
  }'
```

## 视频号独有的接口

每个接口用自己的 op，通过 `POST /v1/call/{op}` 调用；完整的参数和返回字段在它自己的页面。

### 内容与账号

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 账号的合集 (预览) | 按视频号账号编号取这个账号公开的全部合集。 | `wechat_channels.collections` | 12 | https://socialtoai.com/zh/wechat-channels-collections-api.md |
| 合集里的视频 | 按合集编号取一页视频号合集里的视频，按合集自己的顺序（从最早的开始），每页 20 条。 | `wechat_channels.collection_videos` | 12 | https://socialtoai.com/zh/wechat-channels-collection-videos-api.md |

预览：这个接口还没有标为稳定，参数和返回字段之后可能调整。计费和其他调用一样，调用失败不扣积分。

## 视频号给不了的字段

这些字段在对应的调用里始终是 null，并列在返回的 `unavailable` 里。

| 字段 | 哪些动作 |
| --- | --- |
| `url` | search, detail, comments, user_profile, user_posts |
| `title` | search, detail, user_posts |
| `author.id` | search |
| `author.username` | search, detail, user_posts |
| `author.verified` | search, detail, user_posts |
| `author.followers` | search, detail, user_posts |
| `metrics.comments` | search |
| `metrics.shares` | search |
| `metrics.views` | search, detail, user_posts |
| `metrics.reposts` | search, detail, user_posts |
| `images` | search, detail, user_posts |
| `hashtags` | search, detail, user_posts |
| `is_pinned` | search, detail, user_posts |
| `reply_count` | comments |
| `username` | user_profile |
| `verified` | user_profile |
| `followers` | user_profile |
| `following` | user_profile |

## 在 AI 里直接问

- 这周视频号上，家用咖啡和抹茶哪个更火？ → search, search: 24 积分

- 读一下这条视频号视频的评论，告诉我大家在抱怨什么。 → detail, comments × 3: 48 积分

- 这个视频号账号有多大？最近发了什么？ → user_profile, user_posts: 24 积分

## 能读视频号的现成工具

- [品牌口碑](https://socialtoai.com/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子
- [评论分析](https://socialtoai.com/zh/tools/comment-insights.md)：评论里的话题和各自占比，还有提问、想买和投诉
- [账号监测](https://socialtoai.com/zh/tools/account-watch.md)：每个账号最近发了什么，哪条明显好于平时
- [达人档案](https://socialtoai.com/zh/tools/creator-card.md)：这个人在其他平台的账号、各自的数据，以及是同一人的把握
- [批量链接数据](https://socialtoai.com/zh/tools/batch-stats.md)：每条链接一行，给出现在的数字；失效的链接会标出来

## 官方 API

微信的开发者文档里没有读取视频号公开内容的接口：小程序可以跳转或内嵌播放视频号视频，但只能读取同主体或关联主体视频号的直播信息。

来源：[视频号官方开发者文档](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/channels-live.html)，核对于 2026-10-17。
