---
title: "WeChat Article Stats API: Reads, Likes, Shares · SocialToAI"
canonical: https://socialtoai.app/wechat-article-stats-api/
updated: 2026-10-17
---

# WeChat Official Account article stats API

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.

- Page: https://socialtoai.app/wechat-article-stats-api/
- Last updated: 2026-10-17

| Request | Price key | Credits |
| --- | --- | --- |
| `POST /v1/call/wechat.article_stats` | `wechat.article_stats` | 12 |

## What you get from the WeChat Official Account article stats API

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.

[Easier with a ready-made tool: Bulk link data. One row per link with its numbers as they are now. Links that no longer work are marked.](https://socialtoai.app/tools/batch-stats.md)

## WeChat Official Account article stats API: request and response

```bash
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"
  }'
```

```python
import os
import uuid
import requests

response = 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())
```

## WeChat Official Account article stats API parameters

| 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

| Field | Type | Meaning | Given |
| --- | --- | --- | --- |
| `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. | yes |
| `items[].url` | string | A link that opens the item. | always null: WeChat Articles does not give it |
| `items[].format` | string | video, image, text or article. | always null: WeChat Articles does not give it |
| `items[].title` | string | The title. | always null: WeChat Articles does not give it |
| `items[].text` | string | The body text or caption. | always null: WeChat Articles does not give it |
| `items[].published_at` | string | When it was published, ISO 8601 in UTC. | always null: WeChat Articles does not give it |
| `items[].author.id` | string | The author's account ID. | always null: WeChat Articles does not give it |
| `items[].author.username` | string | The author's handle. | always null: WeChat Articles does not give it |
| `items[].author.name` | string | The author's display name. | always null: WeChat Articles does not give it |
| `items[].author.verified` | boolean | Whether the author is verified. | always null: WeChat Articles does not give it |
| `items[].author.followers` | integer | The author's follower count. | always null: WeChat Articles does not give it |
| `items[].metrics.likes` | integer | Likes. | yes |
| `items[].metrics.comments` | integer | Comments. | yes |
| `items[].metrics.shares` | integer | Shares. | yes |
| `items[].metrics.collects` | integer | Saves. | yes |
| `items[].metrics.views` | integer | Views or plays. | yes |
| `items[].metrics.reposts` | integer | Reposts. | always null: WeChat Articles does not give it |
| `items[].images` | string[] | Image addresses. | always null: WeChat Articles does not give it |
| `items[].hashtags` | string[] | Hashtags, without the #. | always null: WeChat Articles does not give it |
| `items[].is_pinned` | boolean | Whether the author pinned it. | always null: WeChat Articles does not give it |

Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. [Response format](https://socialtoai.app/docs/api/response.md)

## Sample response

Sample data: names, links and text are replaced by placeholders; the numbers are as recorded.

```json
{
  "request_id": "req_00000000-0000-4000-8000-000000000001",
  "schema_version": "v1",
  "fetched_at": "2026-10-29T09:44:39.000Z",
  "action": "call",
  "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"],
  "warnings": [],
  "applied_params": {
    "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
  },
  "cost_credits": 12,
  "billing": {
    "cost_credits": 12,
    "balance_credits": 88,
    "today_spend_credits": 12,
    "daily_limit_credits": null,
    "daily_remaining_credits": null,
    "display": "This call: 12 credits (≈ $0.04). Balance: 88 credits (≈ $0.29)."
  },
  "replayed": false
}
```

## WeChat Official Account article stats API: paging and billing

- One call returns one object, with no pages, for 12 credits.
- 5 calls per second per key, 20 after a purchase; going over is not charged. [Rate limits](https://socialtoai.app/docs/credits-and-billing.md#rate-limits)
- A failed call costs 0 credits and is never retried on its own. [Error codes](https://socialtoai.app/docs/api/errors.md)
- 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. → `call {"op":"wechat.article_stats","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"}`, 12 credits

## Give this to your AI

```
Use 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.
```

## These ready-made tools call it when they run

- [Bulk link data](https://socialtoai.app/tools/batch-stats.md): One row per link with its numbers as they are now. Links that no longer work are marked

## More on WeChat Articles

| Interface | What it does | Price key | Credits |
| --- | --- | --- | --- |
| [WeChat Official Account owner API](https://socialtoai.app/wechat-account-owner-api.md) | Get who a WeChat Official Account is registered to, by its original ID. | `wechat.account_owner` | 60 |
| [WeChat Articles User Posts API](https://socialtoai.app/wechat-user-posts-api.md) | The recent articles of one account. | `wechat.user_posts` | 12 |
| [WeChat Articles Search API](https://socialtoai.app/wechat-search-api.md) | Find articles by keyword: text, author, likes and publish time. | `wechat.search` | 12 |
| [WeChat mini program search API](https://socialtoai.app/wechat-miniprogram-search-api.md) | Find WeChat mini programs for search terms through WeChat Search, the first page (about 25). | `wechat.miniprogram_search` | 60 |
| [WeChat Articles Detail API](https://socialtoai.app/wechat-detail-api.md) | One article by link: text, author and publish time. | `wechat.detail` | 12 |
| [WeChat Articles Comments API](https://socialtoai.app/wechat-comments-api.md) | The comments under one article: text, likes, reply count and time. | `wechat.comments` | 12 |
| [WeChat Articles User Profile API](https://socialtoai.app/wechat-user-profile-api.md) | One account: name. | `wechat.user_profile` | 12 |
| [WeChat Index API](https://socialtoai.app/wechat-keyword-history-api.md) | Get a keyword's WeChat Index over the last 30 days, one figure a day. | `wechat.keyword_history` | 60 |
| [WeChat Search suggestions API](https://socialtoai.app/wechat-keyword-related-api.md) | Get the suggestions WeChat Search lists in its search box for a keyword, in the order it lists them, about 10 at a time. | `wechat.keyword_related` | 60 |
| [WeChat Official Account name search API](https://socialtoai.app/wechat-account-estimates-api.md) | Find WeChat Official Accounts by name or keyword, closest first. | `wechat.account_estimates` | 102 |

## Read next

- [WeChat Articles official API: access, prices and limits](https://socialtoai.app/does-wechat-have-an-api.md): What its own API allows, who can use it and what it costs, with sources.
- [How to let AI read WeChat Official Account articles](https://socialtoai.app/how-to/let-ai-read-wechat-articles.md): let your AI read WeChat Official Account articles
- [Turn WeChat Official Account articles into RSS, or push them to Feishu and WeCom](https://socialtoai.app/how-to/wechat-official-account-to-rss-feishu-wecom.md): turn WeChat Official Account articles into a private RSS feed, or push them to Feishu and WeCom
- [WeChat Articles MCP server](https://socialtoai.app/mcp/wechat.md): Let your AI read WeChat Articles.

## WeChat Official Account article stats API: questions

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

**What does one call cost in dollars?**

12 credits: $0.04 at 300 credits per dollar (purchases from $10), $0.024 at 500 per dollar (from $200). Credits never expire and there is no subscription. 100 free credits on sign-up, no card.

**Am I charged when a call fails or finds nothing?**

A failed call costs 0 credits and is never retried on its own.

**How much does one call return?**

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

**Is there a rate limit?**

5 calls a second per key, 20 a second after your first purchase. A request over the limit is told how long to wait and is not charged.

**How do I use it from Claude, ChatGPT or Cursor?**

Yes. In Claude or ChatGPT, add the MCP address https://socialtoai.app/mcp as a custom connector, sign in with the code we email you and press Allow; there is no key to paste. In Claude Code, run one command, type /mcp, pick socialtoai and sign in; Codex and Cursor sign in too, with their steps on the connect page. Then ask in plain words and your AI calls call for you.
