# 给 AI 和 agent 用的视频号数据接口：返回省 token、Claude 和 Cursor 直接调（2026）

DataXAPI 有 15 个视频号接口，AI 通过 MCP 读到的返回比平台原始 JSON 少 85% 的 token：一页 10 条视频搜索结果，原始 JSON 8,252 token，AI 读到的只有 1,476 token。一把 Key，不用你的视频号账号。 免费试用，最多 333 次；失败不收费。

更新于 2026-11-06

## 为什么 agent 要看返回有多大？

agent 调一次接口，返回的每个 token 都进上下文、按输入计费。视频号的原始 JSON 是给它自家 App 用的，字段多、层层嵌套。DataXAPI 的 15 个视频号接口，各取一份录制的真实返回，原始 JSON 合计 23.1 万 token，AI 通过 MCP 读到的是 3.5 万 token。上下文省下来，agent 一次对话能读更多页、做更多步，也更快。

所有平台同一套字段名：作者在 `author`，互动数在 `metrics`，时间是 UTC 的 `published_at`，翻页用 `page.next_cursor`。平台不给的字段写在 `meta.unavailable` 里，AI 不会把缺的值当成 0。

## 怎么接？

接法：把这句贴给你的 AI 助手：“读 https://dataxapi.com/agents.md，在这里帮我接好 DataXAPI。我的 API Key 是 dx_…，之后所有 DataXAPI 的调用都用它。”支持远程 MCP 的客户端，也可以直接填地址 `https://api.dataxapi.com/mcp`，请求头带 `Authorization: Bearer <key>`。

## 接好后可以这样问

直接说要什么，agent 自己找接口、看价格再调用；找接口和看参数不收费。

| 你说 | 它调的接口 |
| --- | --- |
| 搜视频号上关于“咖啡拉花”的热门视频 | `wechat_channels.videos.search` |
| 这条视频的点赞和转发（贴分享链接） | `wechat_channels.videos.get` |
| 这个账号最近的作品 | `wechat_channels.users.videos.list` |
| 这条视频的评论 | `wechat_channels.videos.comments.list` |

## 花多少钱？

按次计费，失败不收费。一页 10 条视频搜索结果一次 $0.0200；免费试用，最多 333 次。给 agent 单独一把设了金额上限的 Key，`X-Max-Price` 还能限定一次最多花多少。

## 为什么用 DataXAPI

- 稳定：近 30 天接口可用 99.0%，状态页公开，可以自己核对。
- 快：近 7 天付费调用的中位耗时 2.3 秒（2026-11-06 统计）。
- 省 token：微信视频号的 15 个接口各取一份录制的真实返回，平台原始 JSON 合计 23.1 万 token，AI 通过 DataXAPI 的 MCP 读到的只有 3.5 万 token，少 85%；直接调接口拿到的 JSON 也少 82%（2026-11-06 统计）。所有平台同一种格式：作者在 `author`，互动数在 `metrics`，翻页用 `page.next_cursor`，换平台不用重写解析。
- 先看再用：每个接口的页面上都有一份录制的真实返回，字段一目了然。
- 花钱可控：失败不收费；每把 Key 能设金额上限，`X-Max-Price` 限定一次最多花多少，同一个 `Idempotency-Key` 24 小时内不重复扣费。
- 接 AI 方便：远程 MCP 服务已在 MCP 官方登记处登记（`com.dataxapi/mcp`），Claude、Cursor、ChatGPT 都能直接用。
- 免费试用，最多 333 次，不用绑卡。

## 用到的接口

- [微信搜一搜视频号视频搜索](https://dataxapi.com/zh/apis/wechat_channels/videos/search/) ($0.0200 / 一次): 按搜索词在微信搜一搜里取一页视频号视频，可按相关、最新或最热排、按发布时间筛：文案、发布账号的名称和头像、发布时间、点赞和收藏数、时长、封面。搜一搜不给账号编号，作品编号是 export/ 开头的加密编号：传给 wechat_channels.videos.get 的 export_id 可换出数字编号、视频文件地址和解密密钥，会过期，要尽快用。
- [微信视频号作品详情](https://dataxapi.com/zh/apis/wechat_channels/videos/get/) ($0.0200 / 一次): 按作品编号、搜索结果的 export/ 编号或分享链接取一条视频号作品：文案、作者、发布时间、点赞、评论、转发、收藏数，以及视频文件地址和解密密钥。
- [微信视频号用户作品](https://dataxapi.com/zh/apis/wechat_channels/users/videos/list/) ($0.0200 / 一次): 按视频号账号编号取一页它发布的视频，从新到旧：文案、发布时间、点赞、评论、转发、收藏数。
- [微信视频号作品评论](https://dataxapi.com/zh/apis/wechat_channels/videos/comments/list/) ($0.0200 / 一次): 按作品编号取一页视频号作品的一级评论：正文、评论者、点赞数、发布时间、IP 属地。

## 怎么做

- [视频号有 API 吗？用 Python 取账号作品和评论（2026）](https://dataxapi.com/zh/guides/wechat-channels-api-python/)

## 微信视频号的更多内容

- [微信视频号 API](https://dataxapi.com/zh/apis/wechat_channels/)
- [公众号文章能用 API 读取吗？](https://dataxapi.com/zh/answers/is-there-an-api-for-wechat-official-account-articles/)
- [视频号数据怎么获取？](https://dataxapi.com/zh/answers/how-to-get-wechat-channels-data/)
- [公众号文章链接里的 __biz 是什么？](https://dataxapi.com/zh/answers/wechat-official-account-biz/)
- [公众号文章链接里的 mid、idx、sn 是什么意思？](https://dataxapi.com/zh/answers/wechat-article-link-mid-idx-sn/)
- [公众号原始 ID（gh_ 开头）是什么？](https://dataxapi.com/zh/answers/wechat-official-account-original-id/)
- [视频号的 …@finder 账号编号和 export 编号是什么？](https://dataxapi.com/zh/answers/wechat-channels-finder-id/)
- [微信数据接口有哪些？公众号、视频号、搜一搜能取什么（2026）](https://dataxapi.com/zh/answers/wechat-data-apis/)
- [公众号数据 API 有哪些？历史文章、全文、阅读数、评论都能取吗（2026）](https://dataxapi.com/zh/answers/wechat-official-account-data-apis/)
- [公众号接口报 ret=200013 freq control 怎么办（2026 年 7 月之后）](https://dataxapi.com/zh/answers/wechat-ret-200013-freq-control/)
- [wechat-article-exporter 停了，还能用什么批量导出公众号文章（2026）](https://dataxapi.com/zh/answers/wechat-article-exporter-alternative/)
- [公众号历史文章怎么批量导出（2026）](https://dataxapi.com/zh/answers/export-wechat-history-articles/)
- [DataXAPI 和阿里的 DataX 是一回事吗（2026）](https://dataxapi.com/zh/answers/dataxapi-is-not-datax/)
- [怎么让 AI 读公众号（ChatGPT、Claude、Codex，2026）](https://dataxapi.com/zh/answers/let-your-ai-read-wechat/)
- [不开年费，怎么让 AI 每周盯同行的公众号、小红书和抖音（2026）](https://dataxapi.com/zh/answers/track-competitors-with-ai-pay-per-lookup/)
- [公众号怎么转 RSS（公众号 RSS，2026）](https://dataxapi.com/zh/answers/wechat-official-account-rss/)
- [wewe-rss 失效了怎么办（2026）](https://dataxapi.com/zh/answers/wewe-rss-not-working/)
- [监控几十个公众号，有更新推到飞书，怎么做（2026）](https://dataxapi.com/zh/answers/monitor-wechat-accounts-feishu/)
- [视频号账号全部作品怎么导出（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-account-videos/)
- [TrendRadar 怎么加公众号、小红书数据（2026）](https://dataxapi.com/zh/answers/trendradar-wechat-xiaohongshu/)
- [we-mp-rss 容器里发现挖矿程序，公众号 RSS 现在怎么办（2026）](https://dataxapi.com/zh/answers/we-mp-rss-mining-alternative/)
- [公众号历史读完后，每天只取新文章怎么做：去重和算账（2026）](https://dataxapi.com/zh/answers/wechat-backfill-then-new-articles/)
- [不写代码，怎么让 AI 帮你取公众号、小红书、抖音数据（可复制的话，2026）](https://dataxapi.com/zh/answers/get-social-data-with-ai-no-code/)
- [公众号 fakeid 是什么（2026）](https://dataxapi.com/zh/answers/wechat-fakeid/)
- [n8n 怎么自动采集公众号文章（2026）](https://dataxapi.com/zh/answers/wechat-official-account-n8n/)
- [飞书多维表格怎么同步公众号文章数据（2026）](https://dataxapi.com/zh/answers/wechat-official-account-feishu-base/)
- [扣子怎么接公众号数据（2026）](https://dataxapi.com/zh/answers/wechat-official-account-coze/)
- [如何查看某个行业的公众号爆款文章（2026）](https://dataxapi.com/zh/answers/wechat-official-account-hit-articles-by-industry/)
- [公众号文章怎么自动导入 ima 知识库（2026）](https://dataxapi.com/zh/answers/wechat-articles-to-ima-knowledge-base/)
- [公众号文章怎么自动存进 Obsidian（2026）](https://dataxapi.com/zh/answers/wechat-articles-to-obsidian/)
- [视频号数据怎么导出（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-data/)
- [微信视频号评论可以导出吗（2026）](https://dataxapi.com/zh/answers/export-wechat-channels-comments/)
- [微信指数怎么查趋势，能批量取吗（2026）](https://dataxapi.com/zh/answers/wechat-index-keyword-trends/)
- [Dify 怎么接公众号数据（MCP，2026）](https://dataxapi.com/zh/answers/wechat-official-account-dify/)
- [怎么用 Skill 和飞书 CLI 让 AI 把公众号文章写进多维表格（2026）](https://dataxapi.com/zh/answers/skill-feishu-cli-write-base/)
- [公众号、视频号 MCP：在 Claude、Cursor 里查微信数据（2026）](https://dataxapi.com/zh/answers/wechat-mcp/)
- [微信搜一搜联想词（下拉词）怎么批量取？（2026）](https://dataxapi.com/zh/answers/wechat-search-suggestions-api/)
- [给 AI 和 agent 用的公众号数据接口：返回省 token、Claude 和 Cursor 直接调（2026）](https://dataxapi.com/zh/answers/wechat-official-account-api-for-ai-agents/)
- [如何获取公众号历史文章列表](https://dataxapi.com/zh/guides/wechat-official-account-articles/)
- [如何获取公众号文章阅读数和点赞数](https://dataxapi.com/zh/guides/wechat-article-reads-and-likes/)
- [如何获取视频号视频评论](https://dataxapi.com/zh/guides/wechat-channels-video-comments/)
- [如何获取视频号账号的全部作品](https://dataxapi.com/zh/guides/wechat-channels-user-videos/)
- [如何用接口查微信搜一搜的结果](https://dataxapi.com/zh/guides/wechat-search-posts/)
- [公众号文章有 API 吗？用 Python 批量取历史文章和阅读数（2026）](https://dataxapi.com/zh/guides/wechat-official-account-api-python/)
- [公众号数据接口怎么选（2026）](https://dataxapi.com/zh/compare/wechat-official-account-data-apis/)
- [红狐 RedFox 替代：实时取数的社媒数据接口](https://dataxapi.com/zh/compare/redfox-alternative/)

---

目录修订号 9d3b7fa5a896745d。 [网页版](https://dataxapi.com/zh/answers/wechat-channels-api-for-ai-agents/)
