/v1/call/wechat.article_statsWeChat Official Account article stats API
Only on WeChat Articles.
The WeChat Official Account article stats API returns the current counts of a WeChat Official Account article by its long link: reads, likes, recommends, shares, saves, comments. One call 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 tested 2026-10-17.
Last updated:
Request and response
curl https://api.socialtoai.com/v1/call/wechat.article_stats \ -H "Authorization: Bearer $SOCIALTOAI_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" }'import osimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/call/wechat.article_stats", headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"}, 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" } ], "type": "content", "url": null, "format": null, "title": null, "text": null, "published_at": null, "author": null, "metrics": { "likes": 2218, "comments": 6, "shares": 8970, "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.
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 |
The fields of each item.
What WeChat Articles cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| 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
What to expect.
1 call per second per key, 5 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
Once connected over MCP, these questions use it.
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"}