# WeChat Article Stats Scraper - 公众号 Read & Like Counts (`seemuapps/wechat-article-stats-scraper`) Actor

Get read counts, likes, 在看 (wow), shares, favorites and comments for WeChat Official Account (公众号) articles by URL or for any account's latest posts.

- **URL**: https://apify.com/seemuapps/wechat-article-stats-scraper.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $65.00 / 1,000 articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## WeChat Article Stats Scraper - 公众号 Read & Like Counts

Get the real engagement numbers behind any WeChat Official Account (微信公众号) article: **read count (阅读量), likes (点赞), 在看 ("wow"), shares, favorites and comment count**. Paste article links, or enter an official account name and get the stats for its latest posts. Comments, commenter locations and replies are available too. No WeChat login and no account needed.

### What you get

**Article rows** (`rowType: "article"`):

- **Engagement**: read count, likes, 在看 / wow count, shares, favorites (收藏), stars and comment count
- **Article**: title, summary (摘要), author, publish time, cover image, short and long URL, original-content flag, content type and the publisher's IP location (IP 属地)
- **Account**: official account name, WeChat ID and gh\_ account ID
- **Full text** (optional): the plain-text body of the article

**Account rows** (`rowType: "account"`, when you look up accounts):

- Account name, WeChat ID, gh\_ account ID, description, avatar, number of original articles and the verified company or organisation behind the account

**Comment rows** (`rowType: "comment"`, optional):

- Comment text, commenter nickname, likes, post time, commenter province (IP 属地), pinned flag, reply count and the first replies

### Use cases

- **KOL and influencer vetting**: check real read and engagement numbers before paying for a WeChat placement
- **Campaign reporting**: track reads, likes and shares on sponsored or branded articles
- **Competitor analysis**: compare how rival brands' official accounts perform post by post
- **Content strategy**: find which topics and headlines get the most reads, shares and 在看 on an account
- **PR and media monitoring**: measure the reach of press coverage and see what readers say in the comments

### How to use

1. Paste WeChat article links into **Article URLs** (`https://mp.weixin.qq.com/s/…` short links or long `__biz` links), and/or
2. Enter official accounts in **Official accounts**: the account name (e.g. 人民日报), its WeChat ID (e.g. rmrbwx) or its gh\_ ID
3. For accounts, set **Max articles per account** and optionally **Only articles published after** (a date like `2026-10-01` or a period like `7 days`)
4. Turn on **Include comments** if you want the comment rows
5. Run the actor and export the results from the **Dataset** tab as JSON, CSV or Excel. The **Articles**, **Accounts** and **Comments** views show each row type. Add a **Schedule** to track how an account's numbers grow over time

### Output example

```json
{
  "rowType": "article",
  "input": "独立开发日记",
  "url": "https://mp.weixin.qq.com/s?__biz=MzI2MDk1NjE5Mw==&mid=2247487311&idx=1&sn=f2002919b8e5b8e059b6bcf24ccb7946",
  "shortUrl": "https://mp.weixin.qq.com/s/arXCEP73L2EBHEoLJeqprQ",
  "title": "独立开发周记 194：给你一张过去的CD",
  "accountName": "独立开发日记",
  "accountId": "gh_57bbdcde9820",
  "wechatId": "IndieDevDiary",
  "author": "道哥vulgur",
  "publishedAt": "2026-11-02T07:26:43.000Z",
  "readCount": 915,
  "readCountIsCapped": false,
  "likeCount": 2,
  "wowCount": 24,
  "shareCount": 17,
  "commentCount": 25,
  "favoriteCount": 5,
  "starCount": 2,
  "summary": "这周可是库库工作，推进了五个项目，两个网站，三个 App。",
  "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/.../0?wx_fmt=jpeg",
  "originalSourceUrl": null,
  "isOriginal": true,
  "contentType": "article",
  "ipLocation": "中国 辽宁",
  "scrapedAt": "2026-11-10T01:34:22.993Z"
}
```

```json
{
  "rowType": "comment",
  "articleUrl": "https://mp.weixin.qq.com/s?__biz=MzI2MDk1NjE5Mw==&mid=2247487311&idx=1&sn=f2002919b8e5b8e059b6bcf24ccb7946",
  "articleTitle": "独立开发周记 194：给你一张过去的CD",
  "accountName": "独立开发日记",
  "commentId": "1667011648075857949",
  "rank": 1,
  "author": "小鹏Casper🚀",
  "text": "道哥，Google Play是用的个人号还是国内公司注册的？",
  "likeCount": 0,
  "postedAt": "2026-11-02T07:40:48.000Z",
  "ipLocation": "中国 广东",
  "isPinned": false,
  "replyCount": 3,
  "replies": [
    { "author": "独立开发日记", "text": "个人号", "postedAt": "2026-11-02T07:44:32.000Z", "ipLocation": null }
  ],
  "scrapedAt": "2026-11-10T01:34:33.516Z"
}
```

### Pricing

This actor uses pay-per-event pricing, so you only pay for the data you get:

- **Article**: each article row with its stats
- **Account**: once per official account looked up (includes its first 10 articles' listing)
- **Article list page**: once per further page of 10 articles from an account, charged with that page's first article
- **Comments page**: once per page of comments loaded, charged with that page's first comment (articles with no comments cost nothing extra)
- **Comment**: each comment row
- **Stats retry**: only when an article's stats need a second lookup, which is rare

### Notes

- WeChat shows **10万+** for any article with more than 100,000 reads and doesn't reveal the exact number. Those articles come back with `readCount: 100001` and `readCountIsCapped: true`.
- Stats are live at the time of the run. Schedule the actor to build a history of how an article's reads grow.
- WeChat only shows the comments the account owner has made public (精选留言), so comment rows cover those. `commentCount` on the article counts replies too, so it can be higher than the number of comment rows.
- Each comment row includes up to the first two replies; `replyCount` has the full reply total.
- Deleted, blocked or paid-only articles are skipped and reported in the run log.
- Looking up an account by name picks the closest-matching official account. Use the WeChat ID or gh\_ ID for an exact match.

# Actor input Schema

## `articleUrls` (type: `array`):

WeChat Official Account article links, one per line. Both short links (https://mp.weixin.qq.com/s/…) and long links (https://mp.weixin.qq.com/s?\_\_biz=…\&mid=…) work.

## `accounts` (type: `array`):

WeChat Official Accounts (公众号) to pull the latest articles and their stats for, one per line. Use the account name (e.g. 人民日报), its WeChat ID (e.g. rmrbwx) or its gh\_ account ID.

## `maxArticlesPerAccount` (type: `integer`):

How many of each account's most recent articles to return, newest first. Used for 'Official accounts'.

## `publishedAfter` (type: `string`):

Optional. Only return account articles published after this date (e.g. 2026-10-01) or within a relative period (e.g. '7 days', '2 weeks', '3 months'). Used for 'Official accounts'.

## `includeComments` (type: `boolean`):

Also return each article's public (featured) comments as extra rows, with like counts, commenter location and the first replies.

## `maxCommentsPerArticle` (type: `integer`):

How many comments to return for each article when 'Include comments' is on.

## `includeContent` (type: `boolean`):

Add the full plain-text body of each article (contentText field). Costs nothing extra but makes rows much larger.

## Actor input object example

```json
{
  "articleUrls": [
    "https://mp.weixin.qq.com/s/arXCEP73L2EBHEoLJeqprQ"
  ],
  "accounts": [
    "人民日报"
  ],
  "maxArticlesPerAccount": 10,
  "includeComments": false,
  "maxCommentsPerArticle": 20,
  "includeContent": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per article (rowType 'article'), one per official account looked up (rowType 'account') and, when requested, one per comment (rowType 'comment').

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "articleUrls": [
        "https://mp.weixin.qq.com/s/arXCEP73L2EBHEoLJeqprQ"
    ],
    "accounts": [
        "人民日报"
    ],
    "maxArticlesPerAccount": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/wechat-article-stats-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "articleUrls": ["https://mp.weixin.qq.com/s/arXCEP73L2EBHEoLJeqprQ"],
    "accounts": ["人民日报"],
    "maxArticlesPerAccount": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/wechat-article-stats-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "articleUrls": [
    "https://mp.weixin.qq.com/s/arXCEP73L2EBHEoLJeqprQ"
  ],
  "accounts": [
    "人民日报"
  ],
  "maxArticlesPerAccount": 10
}' |
apify call seemuapps/wechat-article-stats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/wechat-article-stats-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/62l7BdfFud40oI0Bx/builds/odQYhXVpFpbE0qGDB/openapi.json
