WeChat Official Accounts API
8 endpoints read WeChat Official Accounts: articles, accounts, comments. From $0.0200 a call. No WeChat Official Accounts login and no cookie; a failed call is free.
One call, as it came back
A recorded call, fields already tidied up: ready for an AI or a spreadsheet.The first 2 rows of a response recorded 2026-10-12 19:02 UTC.
Run it in the Playground · $0.0200{
"code": "ok",
"request_id": "882b7d3d-9a50-48d1-ba28-513bec440e40",
"data": {
"items": [
{
"id": "2651350693_1",
"url": "https://mp.weixin.qq.com/s/yEmemDFnwYkjLklz1HGeGz",
"type": "article",
"title": "实测一个月周末露营,结论有点意外",
"text": null,
"published_at": "2026-10-12T13:35:48.000Z",
"author": { "id": "gh_baa95f56a86c" }
},
// … 9 more
]
},
"page": {
"next_cursor": "c1.c3D9oI16A0J5E0SMD5JU_mAesJzXbexIUP2nOHbv",
"cursor_expires_at": "2026-10-12T20:02:58.000Z",
"has_more": true,
"returned": 10
},
"warnings": [],
"meta": {
"capability": "wechat_mp.accounts.articles.list",
"result_status": "complete",
"fetched_at": "2026-10-12T19:02:58.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"lang": "capability",
"author.username": "capability",
"author.name": "capability",
"author.avatar_url": "capability",
"author.verified": "capability",
"author.followers": "capability",
"metrics": "capability",
"images": "capability",
"hashtags": "platform",
"mentions": "platform",
"is_pinned": "capability",
"post_id": "platform",
"parent_id": "platform",
"root_id": "platform"
},
"billing": {
"amount": "0.02",
"currency": "USD",
"balance_after": "9.98"
}
}
}From a response recorded 2026-10-12 19:02 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
What you can get
Each row is an endpoint: what it returns and what one call costs.
What people build with it
Ready-made tasks your AI can run on WeChat Official Accounts data. Each is a few calls under a spending cap.
Competitor account monitoring
“What did competitors post this week, and which post took off?”
Account check-up
“How is this account doing?”
Breaking down a hit
“Why did this post take off?”
Ask about WeChat Official Accounts right inside Claude or Cursor
Add the OneFeedAPI MCP server and the AI finds the WeChat Official Accounts endpoint it needs and calls it; answers link back to the source. You pay for the calls it makes.
https://onefeedapi.com/mcpStart in three steps
The call shown here is WeChat Official Account articles. Every other WeChat Official Accounts endpoint is called the same way and answers in the same envelope.
Get a key
Sign in with an emailed code or Google. Free trial, no card needed.
Call it, or let your AI call it
One GET from your code. Or paste this prompt into your agent with your key in it: it sets itself up, then finds and calls these endpoints by itself.
Read the same shape every time
Items are in data.items (one object in data.item), the next page in page.next_cursor, the charge in meta.billing.amount. A failed call is not charged.
curl -G "https://onefeedapi.com/v1/wechat_mp/accounts/articles/list" \ --data-urlencode "id=gh_13c97ab93ce8" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.wechat_mp.accounts.articles.list(id="gh_13c97ab93ce8") print(result["data"]["items"])
// npm i @onefeedapi/sdk import { OneFeedAPI } from "@onefeedapi/sdk"; const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY const result = await dx.wechat_mp.accounts.articles.list({ id: "gh_13c97ab93ce8" }); console.log(result.data.items);
onefeedapi call wechat_mp.accounts.articles.list id=gh_13c97ab93ce8
{
"mcpServers": {
"onefeedapi": {
"type": "http",
"url": "https://onefeedapi.com/mcp",
"headers": {
"Authorization": "Bearer ${ONEFEED_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call wechat_mp.accounts.articles.list.
Edge cases
What the WeChat Official Accounts endpoints do at their edges, and what to check when a call does not return what you expected.
- Page sizes
- A list returns 3 to 100 items a page, depending on the endpoint. 2 of the 4 lists go on to a next page:
page.next_cursor, passed back ascursor, each page a call of its own. The others return one page only. - Fields it cannot give
- 7 of the 8 endpoints cannot fill every field of the object they return. Each endpoint's page lists which, and every answer repeats them in
meta.unavailable: a missing field is never a silent zero. - A missing object that reads as empty
- WeChat Official Account comment replies: an object that does not exist cannot be told from one with nothing under it, so the answer is an empty result, not a 404.
- Preview structures
- 1 endpoint returns a preview structure whose fields may still change; the others return a standard object, the same on every platform.
- Articles are named by link
- Article detail, comments and replies take the article's link: the long one with __biz, mid, idx and sn, or the short /s/ one. The
idan article comes back with cannot be used to fetch it. - Counts need the long link
wechat_mp.articles.metricstakes the long link only; a short /s/ link is not accepted there.- The original ID, not the WeChat ID
- Account endpoints take the original ID starting with gh_; an article's
author.idis one. The WeChat ID people type to find an account is not taken. - “10万+”
- Above 100,000 reads WeChat shows only “10万+”; the count then comes as 100001 and is a lower bound.
- Featured comments only
- Comments are the ones the account chose to show. Replies come as the first batch only, with no further page.
How this differs from WeChat's official Official Account platform
WeChat's developer documents for Official Accounts let an account's own server, or a third-party platform the account authorises, work on that account: publish, manage the comments on its own articles, read its followers. A third-party platform calls with the account's permission set and uses the account's own quota.
From July 2025, accounts of individuals, unverified company accounts and accounts that cannot be verified lose the publishing interfaces, the list of published articles among them. The comment interfaces work only for verified company accounts, on the account's own articles. Daily quotas include 500 calls for the follower list and 100 for the published list, and the server API directory has no interface to search articles or to read another account.
It is built for running your own account. OneFeedAPI reads any public Official Account's articles by link, an account's article list by its gh_ original ID, an article's reads, likes and featured comments, and WeChat Search results by keyword, with no WeChat account, verification or app of yours.
Read on 2026-10-29 in the platform's own documents: WeChat developer documents: Official Account development guide · WeChat developer documents: publishing · WeChat developer documents: comments · WeChat developer documents: listing comments · WeChat developer documents: server API directory · WeChat developer documents: call limits
Questions about the WeChat Official Accounts API
Short answers. The details are on each endpoint's page.
How is the WeChat Official Accounts API priced?
Per call, no subscription. From $0.0200 to $0.84525 a call; each endpoint's page shows its own price. 1 endpoint is charged by the item returned, with a least and a most a call. You are charged when data comes back; a failed call costs nothing.
Do I need a WeChat Official Accounts account or a cookie?
No. One OneFeedAPI key is all you hold: no WeChat Official Accounts login, no cookie, no device to keep alive. The endpoints return publicly visible data only.
Is the data live?
A call fetches from WeChat Official Accounts at that moment, and meta.fetched_at says when. A result is kept for 24 hours, so a retry with the same Idempotency-Key is not charged again.
What happens when WeChat Official Accounts changes something?
A call that fails is not charged, whatever the reason. An endpoint that is paused answers capability_paused, also free, and GET /v1/catalog/status says what is up right now.
Related
Call WeChat Official Accounts with one key.
Free trial on sign-up: up to 5 calls at $0.0200. No card. No WeChat Official Accounts login, no cookie, no subscription. A failed call is free.