WeChat Official Account Monitoring: Pull Past Articles, Full Text and Read Counts by API
Find an account by name to get its ghid, then pull the article list, full text, reads, likes and shares. Four steps, about $0.035 per article.
To track what a WeChat Official Account publishes and how widely it is read, run four steps per round: wechat_oa/account_search finds the account by name, wechat_oa/account_articles lists its articles, wechat_oa/article_detail reads the full text, and wechat_oa/article_metrics returns reads, likes, Wow votes and shares. At catalog price they are $0.016, $0.008, $0.005556 and $0.005556, about $0.035 for one article. You only search for the account the first time.
The calls below ran live on November 29, 2026, against the account of Chinese National Geography magazine. The keyword is the account's Chinese name, sent exactly as written.
| Step | Endpoint | Catalog price |
|---|---|---|
| 1 | wechat_oa/account_search | $0.016 |
| 2 | wechat_oa/account_articles | $0.008 |
| 3 | wechat_oa/article_detail | $0.005556 |
| 4 | wechat_oa/article_metrics | $0.005556 |
Step 1: Find the account by name
curl -X POST https://api.everyinfra.com/api/v1/social \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"wechat_oa","action":"account_search","params":{"keyword":"中国国家地理"}}'Request body:
{
"platform": "wechat_oa",
"action": "account_search",
"params": {
"keyword": "中国国家地理"
}
}Take the ghid (the original ID starting with gh_) from the result whose name exactly matches your keyword, and store it for later runs.
{
"ghid": "gh_a9c02330d5aa",
"name": "中国国家地理",
"alias": "dili360",
"biz": "MjM5NTA0OTU4MA=="
}Step 2: List the articles
account accepts a WeChat ID, a ghid or the account's full name. If the full name does not match exactly one account, the call returns 422 before any charge, so get the ghid in step 1 first.
{
"platform": "wechat_oa",
"action": "account_articles",
"params": {
"account": "gh_a9c02330d5aa"
}
}Pass the newest article's url to steps 3 and 4.
{
"id": 2653188740,
"title": "中国最美石林,远不止最美",
"url": "https://mp.weixin.qq.com/s?__biz=MjM5NTA0OTU4MA==&mid=265318…",
"posted_at": "2026-11-29T01:00:00+00:00",
"position": 1,
"is_original": true,
"account_name": "中国国家地理"
}Step 3: Read the article text
Use the article's own link, which is the one step 2 returns. Temporary links copied from search results, with signature and timestamp parameters, may not be readable; when they are not, the call returns 422 before any charge.
{
"platform": "wechat_oa",
"action": "article_detail",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MjM5NTA0OTU4MA==&mid=2653188740&idx=1&sn=a1440ade27b418b956613bbd58cc802c&chksm=bcb8e9fceaade10a9c6277a574cacc85cc536e646cf6506f3be96e5bbef21f324cff2234f309&scene=126&sessionid=1795956302#rd"
}
}Step 4 reuses the same url.
{
"title": "中国最美石林,远不止最美",
"posted_at": "2026-11-29T01:00:00+00:00",
"author": "CNG",
"digest": "石林在哪里",
"content_text": "世间的森林由草木生发\n而石林\n是流水在岩层上“种”出来的石头森林\n从北境到闽东南\n在中国大地上,不同岩性\n不同气候里雕…",
"is_original": true
}Step 4: Get reads and engagement
{
"platform": "wechat_oa",
"action": "article_metrics",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MjM5NTA0OTU4MA==&mid=2653188740&idx=1&sn=a1440ade27b418b956613bbd58cc802c&chksm=bcb8e9fceaade10a9c6277a574cacc85cc536e646cf6506f3be96e5bbef21f324cff2234f309&scene=126&sessionid=1795956302#rd"
}
}These are the article's numbers at the moment of the fetch. The workflow ends here.
{
"read_count": 27250,
"like_count": 562,
"watching_count": 218,
"share_count": 924,
"collect_count": 317,
"comment_count": 13
}What to do with the data
- Deduplicate articles by
idand fetch details only for new ones each day. Store the text andposted_atfor full-text search, and useis_originalto separate original posts from reposts. - Read counts keep growing. Fetch
article_metricsfor the same article at intervals after publishing and store each result as a snapshot with its fetch time; compare articles at the same point after publishing. - When you watch several accounts, look up each
ghidonce and store it. Daily runs then start at step 2 and skip the $0.016 of step 1.
Related pages
FAQ
How much does it cost to monitor one WeChat Official Account every day?
One article list per day is $0.008, and each new article costs $0.005556 for the text and $0.005556 for read counts. At one new article a day, that is about $0.019 a day, about $0.57 a month.
Am I charged if the account is not found or an article cannot be read?
No. A name that does not match exactly one account, or a link that cannot be read, returns 422 before any charge. Failed requests and bad keys are not charged either.
Do I need my own Official Account or a WeChat login?
Neither. You call with one API key and read public articles. There is no WeChat login, and no cookie, scraper or proxy to maintain.
Can I use this from Claude or Cursor?
Yes. The remote MCP address is https://api.everyinfra.com/mcp, with an Authorization: Bearer header and your API key. The agent calls these four capabilities through everyinfra_call_api, for example to pull read counts before drafting a weekly report.
Which WeChat article link format should I use?
Use the article's own link on mp.weixin.qq.com: the /s/<id> short link you copy after opening the article, or the long link with __biz, mid, idx and sn. The url returned by step 2 is this kind.
Reference UC-09