POST
/v1/call/wechat_channels.collections预览微信视频号账号的合集接口
视频号独有的接口。
微信视频号账号的合集 API(数据接口)按视频号账号编号取这个账号公开的全部合集:名称、简介、封面、视频数、最近更新时间。合集编号可以传给取合集里视频的接口。每次调用 12 积分(约 $0.024–$0.04),失败不扣。用 HTTP 调用,或让 AI 客户端通过 MCP 调用。最近实测:2026-10-17。
12 积分每次调用
最多 100 条只返回第一页
2026-10-17最近实测
903 B示例返回的体积(1 条)
最近更新:
预览:这个接口还没有标为稳定,参数和返回字段之后可能调整。计费和其他调用一样,调用失败不扣积分。
请求与返回
curl https://api.socialtoai.com/v1/call/wechat_channels.collections \ -H "Authorization: Bearer $SOCIALTOAI_KEY" \ -H "Content-Type: application/json" \ -d '{ "id": "v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder" }'import osimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/call/wechat_channels.collections", headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"}, json={ "id": "v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder", },)print(response.json())# 已经通过 MCP 接好了?直接用大白话问。用“微信视频号账号的合集”接口(wechat_channels.collections),参数是 id: v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder。# 你的 AI 会调用 call 工具,参数是:{ "id": "v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"}200 OK903 B12 积分
{ "op": "wechat_channels.collections", "platform": "wechat_channels", "status": "ok", "items": [ { "platform": "wechat_channels", "id": "…", "ref": "…", "approx": [], "type": "entry", "entry_type": "channels_collection", "title": "…", "url": null, "rank": null, "heat": null, "fields": { "description": null, "cover_url": "https://example.com/…", "updated_at": "2026-10-12T03:59:02.000Z", "videos": 42 } } ], "unavailable": [], "page": { "has_more": false }, "cost_credits": 12}- entry_type
- channels_collection
- description
null- cover_url
- https://example.com/…
- updated_at
- 2026-10-12T03:59:02.000Z
- videos
- 42
示例里的名称和正文已去掉,数字是录制时的真实值。
示例数据录制的 2 条里的 1 条
1 个参数。
全部必填。
用 POST 发一个 JSON 请求体。Key 放在 Authorization 请求头里,不要放进网址。
| 名称 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| id | string | 必填 | — | 视频号账号编号,v2_ 开头、@finder 结尾;作品的 author.id 就是它 |
只返回第一页:最多 100 条,没有 cursor 参数,也不能往后翻。
这些值从哪里拿。
id视频号账号编号,v2_ 开头、@finder 结尾;作品的 author.id 就是它(例如 v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder)
平台上没有别的接口返回它,按上面的说明从网页或链接里取。
items 里每一条的字段。
视频号给不了的标出来了。
| 字段 | 类型 | 含义 |
|---|---|---|
| items[].title | string | 条目的标题或名称。 |
| items[].url | string | 能打开它的链接;平台的列表不带链接时为 null。 |
| items[].rank | integer | 榜上的名次,从 1 起。 |
| items[].heat | integer | 平台给的热度值。 |
| items[].fields.description | string | 合集的简介;没有时为 null。 |
| items[].fields.cover_url | string | 合集封面图地址。 |
| items[].fields.updated_at | string | 合集最近一次更新的时间。 |
| items[].fields.videos | integer | 合集里的视频数。 |
null视频号给不了的字段这个调用的字段视频号都给得出;单条内容缺某个值时,那个字段是 null。
每一条另有 platform、id、ref、approx、type;items 外面的部分每个调用都一样。 返回格式
会发生什么。
一次调用只返回第一页,最多 100 条,没有 cursor,12 积分。
正常执行但没有结果,算一次成功的调用:status 为 "empty",items 为空,扣 12 积分。
每把 Key 每秒 1 次,购买后 5 次;超出不扣费。 频率限制
失败的调用 0 积分,不会自动重试。 错误码
接好 MCP 后,这样问就会用到它。
按视频号账号编号取这个账号公开的全部合集:v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder
12 积分call {"op":"wechat_channels.collections","id":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"}
常见问题。
简短回答。
视频号的全部接口需要视频号账号,或者申请视频号官方的 API 吗?
不需要,只要一把 SocialToAI 的 Key。返回的是视频号上公开可见的内容和账号信息,你不用登录视频号,也不用在那边申请任何东西。
能翻到下一页吗?
不能。视频号的这个接口只给第一页(最多 100 条),返回里没有 cursor,page.has_more 始终是 false。
“预览”是什么意思?
预览:这个接口还没有标为稳定,参数和返回字段之后可能调整。计费和其他调用一样,调用失败不扣积分。