SocialToAIStart freeConsole
POST/v1/call/wechat.article_stats

WeChat 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.

100 credits on sign-up, no card needed
12 creditsper call
One objectreturned per call
2026-10-17last tested
1.1 KBsample response, 1 item

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"}
Sign in to run12 creditsOpens in the Playground with these parameters after you sign in. It never runs by itself.
200 OK1.1 KB12 credits
{  "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}
@…
likes 2,218comments 6shares 8,970collects 97views 100,001

Names and text were removed from the sample; the numbers are as recorded.

Sample dataFull response

1 parameter.
All required.

Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.

NameTypeRequiredDefaultDescription
urlstringRequired—The article's long link, with __biz, mid, idx and sn

The fields of each item.
What WeChat Articles cannot give is marked.

FieldTypeMeaning
items[].urlstringalways nullA link that opens the item.
items[].formatstringalways nullvideo, image, text or article.
items[].titlestringalways nullThe title.
items[].textstringalways nullThe body text or caption.
items[].published_atstringalways nullWhen it was published, ISO 8601 in UTC.
items[].author.idstringalways nullThe author's account ID.
items[].author.usernamestringalways nullThe author's handle.
items[].author.namestringalways nullThe author's display name.
items[].author.verifiedbooleanalways nullWhether the author is verified.
items[].author.followersintegeralways nullThe author's follower count.
items[].metrics.likesintegerLikes.
items[].metrics.commentsintegerComments.
items[].metrics.sharesintegerShares.
items[].metrics.collectsintegerSaves.
items[].metrics.viewsintegerViews or plays.
items[].metrics.repostsintegeralways nullReposts.
items[].imagesstring[]always nullImage addresses.
items[].hashtagsstring[]always nullHashtags, without the #.
items[].is_pinnedbooleanalways nullWhether the author pinned it.
nullFields WeChat Articles cannot give

Read 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.

One call returns one object, with no pages, for 12 credits.

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.

  1. 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 {"op":"wechat.article_stats","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"}
    12 credits

These ready-made tools call it when they run.

Questions.
Short answers.

Everything on WeChat Articles
Do I need a WeChat Articles account or WeChat Articles's own API access?
No. You only need a SocialToAI key. The call returns content and account information publicly visible on WeChat Articles; you never sign in to WeChat Articles or apply for anything there.

Your AI is one URL away
from all of social media.

100 credits on sign-up, no card needed