# 公众号历史读完后，每天只取新文章怎么做：去重和算账（2026）

每个号每天通常调 1 次就够：文章列表按时间从新到旧，读第一页，碰到已经存过的文章就停。每次 $0.0200，10 个号一天 $0.20；想要全文的新文章，每篇再加 $0.0200。 DataXAPI 有 8 个微信公众号接口，一次 $0.0200 起，失败不收费；免费试用，最多 333 次。

更新于 2026-11-04

## 先读完历史

按截至 2026-11-05 的真实调用，统计一个号翻了 20 页以上的 27 次：一半在 38 页以内停下，列表约 $0.76，最长 449 页，$8.96。平均每页约 20 篇。

翻页用的游标 1 小时内有效。一个号要一次读完；停得太久，就从第一页重新开始这个号。

## 之后每天

| 步骤 | 怎么做 |
| --- | --- |
| 存下已有的 | 存每篇文章的 `id`。它由长链接里的 __biz、mid、idx 拼成，每次都一样 |
| 从头读 | 取第一页。整页都是新文章，才接着翻下一页 |
| 碰到旧的就停 | 列表从新到旧，后面的你都已经有了 |
| 只取要用的 | 全文用文章的 `url` 取，$0.0200；阅读和点赞，$0.0200 |

## 算一笔账

举个整数的例子：10 个号，每天共 10 篇新文章，每篇都取全文，就是 10 次列表加 10 次全文，一天 $0.40。换成你的数字算就行，每次调用都写明扣了多少。

## 为什么用 DataXAPI

- 稳定：近 30 天接口可用 99.9%，状态页公开，可以自己核对。
- 快：近 7 天付费调用的中位耗时 3.5 秒（2026-11-06 统计）。
- 省 token：微信公众号的 8 个接口各取一份录制的真实返回，平台原始 JSON 合计 2.1 万 token，AI 通过 DataXAPI 的 MCP 读到的只有 4,494 token，少 79%；直接调接口拿到的 JSON 也少 70%（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_mp/accounts/articles/list/) ($0.0200 / 一次): 按公众号原始编号取一页它发布的文章，从新到旧：标题、摘要、链接、发布时间。
- [微信公众号文章详情](https://dataxapi.com/zh/apis/wechat_mp/articles/get/) ($0.0200 / 一次): 按文章链接取一篇公众号文章：标题、正文、发布时间、公众号的名称和编号。
- [微信公众号文章互动数据](https://dataxapi.com/zh/apis/wechat_mp/articles/metrics/) ($0.0200 / 一次): 按文章长链接取这篇公众号文章此刻的数字：阅读、点赞、推荐、分享、收藏、评论。

## 怎么做

- [如何获取公众号历史文章列表](https://dataxapi.com/zh/guides/wechat-official-account-articles/)

## 微信公众号的更多内容

- [微信公众号 API](https://dataxapi.com/zh/apis/wechat_mp/)
- [公众号文章能用 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/)
- [不写代码，怎么让 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/)
- [给 AI 和 agent 用的视频号数据接口：返回省 token、Claude 和 Cursor 直接调（2026）](https://dataxapi.com/zh/answers/wechat-channels-api-for-ai-agents/)
- [如何获取公众号文章阅读数和点赞数](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/)
- [视频号有 API 吗？用 Python 取账号作品和评论（2026）](https://dataxapi.com/zh/guides/wechat-channels-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-backfill-then-new-articles/)
