/v1/call/wechat.article_statsWeChat Official Account article stats API
Only on WeChat Articles.
Get the current counts of a WeChat Official Account article by its long link: reads, likes, recommends, shares, saves, comments. A call to the WeChat Official Account article stats API costs 12 credits ($0.024 to $0.04 depending on the pack); failed calls are free. Call it over HTTP or from your AI client over MCP.
Last updated:
What you get from the WeChat Official Account article stats API.
From a recorded answer.
A recorded call returned the object below, field by field. Names and text are removed from the sample; the numbers are as recorded.
| Field | In the recorded answer |
|---|---|
| url | null: WeChat Articles cannot give it |
| format | null: WeChat Articles cannot give it |
| title | null: WeChat Articles cannot give it |
| text | null: WeChat Articles cannot give it |
| published_at | null: WeChat Articles cannot give it |
| author | null |
| metrics.likes | 2,235 |
| metrics.comments | 6 |
| metrics.shares | 9,041 |
| metrics.collects | 97 |
| metrics.views | 100,001 |
| metrics.reposts | null: WeChat Articles cannot give it |
| images | null: WeChat Articles cannot give it |
| hashtags | null: WeChat Articles cannot give it |
| is_pinned | null: WeChat Articles cannot give it |
12 credits a call (≈ $0.024–$0.04): about 250 calls for $10.
WeChat Official Account article stats API: request and response
curl https://socialtoai.app/v1/call/wechat.article_stats \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" }'import osimport uuidimport requestsresponse = requests.post( "https://socialtoai.app/v1/call/wechat.article_stats", headers={ "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}", # A new key for each request; the same one again retries it without paying twice. "Idempotency-Key": str(uuid.uuid4()), }, json={ "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc", },)print(response.json())# Connected over MCP? Ask in plain words.Use the WeChat Official Account article stats interface (wechat.article_stats) with url: https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc.# Your AI calls the call tool with:{ "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"}{ "op": "wechat.article_stats", "platform": "wechat", "status": "ok", "items": [ { "platform": "wechat", "id": "…", "ref": "…", "approx": [ { "field": "metrics.views", "kind": "lower_bound" } ], "extra": {}, "type": "content", "url": null, "format": null, "title": null, "text": null, "published_at": null, "author": null, "metrics": { "likes": 2235, "comments": 6, "shares": 9041, "collects": 97, "views": 100001, "reposts": null }, "images": null, "hashtags": null, "is_pinned": null } ], "unavailable": ["url", "format", "title", "text", "published_at", "author.id", "author.username", "author.name", "author.verified", "author.followers", "metrics.reposts", "images", "hashtags", "is_pinned"], "cost_credits": 12}Names and text were removed from the sample; the numbers are as recorded.
WeChat Official Account article stats API parameters.
1 parameter, all required.
Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | Required | — | The article's long link, with __biz, mid, idx and sn |
WeChat Official Account article stats API response fields.
What WeChat Articles cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| items[].extra | object | What the platform gives of this item beyond the fields below, under the platform's own names (an IP location, a uid, a showcase flag); the interface's extra_fields says what each is. Empty when there is nothing more. Of a comment or a review, never who wrote it. |
| items[].url | stringalways null | A link that opens the item. |
| items[].format | stringalways null | video, image, text or article. |
| items[].title | stringalways null | The title. |
| items[].text | stringalways null | The body text or caption. |
| items[].published_at | stringalways null | When it was published, ISO 8601 in UTC. |
| items[].author.id | stringalways null | The author's account ID. |
| items[].author.username | stringalways null | The author's handle. |
| items[].author.name | stringalways null | The author's display name. |
| items[].author.verified | booleanalways null | Whether the author is verified. |
| items[].author.followers | integeralways null | The author's follower count. |
| items[].metrics.likes | integer | Likes. |
| items[].metrics.comments | integer | Comments. |
| items[].metrics.shares | integer | Shares. |
| items[].metrics.collects | integer | Saves. |
| items[].metrics.views | integer | Views or plays. |
| items[].metrics.reposts | integeralways null | Reposts. |
| items[].images | string[]always null | Image addresses. |
| items[].hashtags | string[]always null | Hashtags, without the #. |
| items[].is_pinned | booleanalways null | Whether the author pinned it. |
nullFields WeChat Articles cannot giveRead null as “WeChat Articles did not give this”, not as zero. These are always null on this call:
urlA link that opens the item.formatvideo, image, text or article.titleThe title.textThe body text or caption.published_atWhen it was published, ISO 8601 in UTC.author.idThe author's account ID.author.usernameThe author's handle.author.nameThe author's display name.author.verifiedWhether the author is verified.author.followersThe author's follower count.metrics.repostsReposts.imagesImage addresses.hashtagsHashtags, without the #.is_pinnedWhether the author pinned it.
Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format
WeChat Official Account article stats API: paging and billing.
5 calls per second per key, 20 after a purchase; going over is not charged. Rate limits
A failed call costs 0 credits and is never retried on its own. Error codes
Interface last tested: 2026-10-17. Each call reads from the platform, and fetched_at in the answer is when it was read. The same request sent again with the same key within 5 minutes is a replay (replayed: true): 0 credits, and the answer as first read.
Once connected over MCP, these questions use the WeChat Official Account article stats API.
Get the current counts of a WeChat Official Account article by its long link: https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc.
12 creditscall {"op":"wechat.article_stats","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"}
Give this to your AI.
Copy it into Claude or ChatGPT.
How to connectUse the SocialToAI MCP server (https://socialtoai.app/mcp) for this: Get the current counts of a WeChat Official Account article by its long link: https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc.Call the call tool with {"op":"wechat.article_stats","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"}. Needed: url.For several, call it once for each: 12 credits each.Before you start, work out how many credits it will take in all and ask me; call it only after I agree.If SocialToAI is not connected yet, tell me how to connect it; never ask me to paste a key into the chat.Answer with a link to every item you used, and tell me how many credits it cost.Paste it into a chat once SocialToAI is connected over MCP. There is no key in it: Claude and ChatGPT sign in, other clients send a key in a header.
These ready-made tools call it when they run.
batch-statsOne row per link with its numbers as they are now. Links that no longer work are marked
Read next.
What its own API allows, who can use it and what it costs, with sources.
let your AI read WeChat Official Account articles
turn WeChat Official Account articles into a private RSS feed, or push them to Feishu and WeCom
Let your AI read WeChat Articles.