# WeChat Official Account Scraper - Articles & Content Search (`webdata_labs/wechat-official-account-scraper`) Actor

Search WeChat Official Account (公众号) articles by keyword and extract full article text, account name, publish date, and cover image. No login, no API key - built on WeChat's own open search index.

- **URL**: https://apify.com/webdata\_labs/wechat-official-account-scraper.md
- **Developed by:** [WebData Labs](https://apify.com/webdata_labs) (community)
- **Categories:** Social media, News, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 article scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

Search WeChat Official Account (公众号) articles by keyword and get the full article back - title, complete text, cover image, publish date, and the account's own name and wxid - without a WeChat login, an API key, or a browser. Try it free on the [Apify Store](https://apify.com/webdata_labs/wechat-official-account-scraper) or paste your own article links straight in.

### What does WeChat Official Account Scraper do?

WeChat itself requires a login for everything, but its Official Account ecosystem - the platform China's brands, media outlets, and independent writers publish on - has one open door: [Sogou's own index](https://weixin.sogou.com/) of that content. This Actor searches it by keyword and follows every result through to the article's real page for the full text.

For each article you get:

- The full article title and body text (not a truncated snippet)
- The publishing account's display name, wxid, and internal biz ID
- The cover image and an exact publish timestamp
- The canonical `mp.weixin.qq.com` article URL

No account, no API key, no browser fingerprinting to maintain - just keywords in, structured articles out. Run it once, on a schedule, or wire it into your own pipeline through the [Apify API](https://docs.apify.com/api/v2) or [MCP](#use-this-actor-with-ai-agents-via-mcp).

### Why use this WeChat scraper?

WeChat Official Accounts are where Chinese brands, state media, and industry writers actually publish long-form content - press coverage, product launches, KOL commentary, policy explainers. If your work touches China market research, brand monitoring, or competitive intelligence, this is a source you cannot get from Google.

- **China market research** - track how a brand, product, or policy topic is being covered across the Official Account ecosystem.
- **KOL and media monitoring** - see who is writing about a topic, how often, and what they are saying, without a WeChat account of your own.
- **Content and SEO teams** - source raw Chinese-language material for translation, trend spotting, or LLM training/RAG data.
- **Competitive intelligence** - pull a competitor's press mentions and sponsored placements across the accounts that cover their category.

### How to use WeChat Official Account Scraper

1. Click **Try for free** on the [Actor page](https://apify.com/webdata_labs/wechat-official-account-scraper).
2. Enter one or more search keywords (Chinese or English) under **Search queries** - or paste article links you already have under **Direct article URLs**.
3. Set **Maximum articles per query** (WeChat's public search index serves at most 100 results per query).
4. Click **Start** and download your results as JSON, CSV, Excel, or query them through the API.

The default input runs out of the box - no configuration required for a first test.

### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array of strings | Keywords, brands, or topics to search across Official Account articles. |
| `articleUrls` | array of URLs | `mp.weixin.qq.com` links you already have - scraped directly, skipping search. |
| `maxArticlesPerQuery` | integer | Caps articles returned per query. Default 20, maximum 100. |
| `fetchFullContent` | boolean | Follow through to each article's own page for the full text, cover image, and account IDs. Turn off for a faster, cheaper search-snippet-only run. Default `true`. |

See the [Input tab](https://apify.com/webdata_labs/wechat-official-account-scraper/input-schema) for the live form.

### Output

Every row is one article. Example with `fetchFullContent` on:

```json
{
  "query": "人工智能",
  "title": "前所未有的人工智能失控事件：更多内幕曝光",
  "accountName": "参考消息",
  "accountWxid": "gh_2837b93c1976",
  "accountBiz": "MjM5MzA0MTg2MA==",
  "summary": "据路透社9月11日报道，研究人员称，在对...",
  "content": "据路透社9月11日报道，研究人员称，在对“抱抱脸”公司作出黑客攻击的两个月前...",
  "coverImageUrl": "https://mmbiz.qpic.cn/.../0?wx_fmt=jpeg",
  "publishedAt": "2026-09-12T13:00:00Z",
  "url": "https://mp.weixin.qq.com/s?...",
  "fullContentFetched": true,
  "scrapedAt": "2026-09-12T19:50:45Z"
}
```

Download the dataset as JSON, CSV, Excel, XML, or RSS from the Apify Console, or read it through the [Dataset API](https://docs.apify.com/api/v2#/reference/datasets).

#### Output fields

| Field | Description |
|---|---|
| `query` | The search keyword that found this article, or `null` for a direct URL. |
| `title` | Article headline. |
| `accountName` | The Official Account's display name. |
| `accountWxid` | The account's WeChat ID (only from a full-content fetch). |
| `accountBiz` | The account's internal biz ID (only from a full-content fetch). |
| `summary` | The search-result digest Sogou serves for this article. |
| `content` | Full article text, `null` when `fetchFullContent` is off. |
| `coverImageUrl` | The article's cover/share image. |
| `publishedAt` | ISO 8601 publish timestamp. |
| `url` | The canonical `mp.weixin.qq.com` article URL. |
| `fullContentFetched` | Whether this row's full text was actually fetched. |
| `scrapedAt` | When this Actor collected the row. |

### Pricing

Pay only for what you receive - no subscription, no start fee.

- **Article found** - a search-result row (title, digest, account, link). For buyers who only need a monitoring feed.
- **Article scraped** - a full-content row (everything above, including the complete article text). This is the default.

See the [Pricing tab](https://apify.com/webdata_labs/wechat-official-account-scraper/pricing) for the current per-tier rate table - pricing improves automatically as your Apify plan tier goes up, with no code changes needed.

### Tips for faster, cheaper runs

- Turn **Fetch full article text** off if you only need headlines and digests for a monitoring dashboard - it skips the second request per article entirely.
- Narrower keywords return more relevant results per page than broad ones, so you spend fewer of your `maxArticlesPerQuery` slots on off-topic hits.
- Already have article links from another tool? Paste them into **Direct article URLs** and skip search altogether.

### Limits and caveats

Read this before assuming a result is missing due to a bug:

- **Read counts and like counts are not available.** WeChat fills those in with an authenticated AJAX call from inside the WeChat app itself - there is no public equivalent, so this Actor does not fabricate a fake `0` for them; it leaves them out entirely.
- **Sogou's public search index caps at 100 results (10 pages) per keyword.** This is WeChat's own limit on the anonymous search surface, not something this Actor can page past. Split a broad topic into several narrower keywords to cover more ground.
- **Official Account *bio/account* search is not supported.** Sogou's account-lookup endpoint is a stricter, separate surface that soft-blocks even well-known account names; this Actor only searches articles, which is the open and reliable surface.

### Is it legal to scrape WeChat Official Account articles?

Scraping publicly accessible pages that do not require a login is generally permitted, but you are responsible for how you use the data. Do not scrape personal data or use this Actor to violate WeChat's Terms of Service. Read the Apify [legal analysis of web scraping](https://www.apify.com/legal/is-web-scraping-legal) for more information.

### FAQ

#### Do I need a WeChat account or API key?

No. This Actor uses WeChat Official Account content's open, publicly indexed surface. No login, cookies, or credentials are ever requested.

#### Can I search in English?

Yes, but results will be sparse - Official Account content is overwhelmingly Chinese-language. For best coverage, search the Chinese term (a brand's Chinese name, a translated topic, etc.).

#### Why did a query return fewer than my "Maximum articles" setting?

WeChat's public search index caps at 100 results per keyword, and some queries genuinely have fewer than that many matching articles. The run's summary output reports exactly why each query stopped.

#### Can I monitor a topic on a schedule?

Yes - use [Apify's Scheduler](https://docs.apify.com/platform/schedules) to run this Actor daily or weekly against a saved list of keywords.

### Example tasks

Ready-to-run configurations for common searches:

- [WeChat AI News Monitor](https://apify.com/webdata_labs/wechat-official-account-scraper/examples/wechat-ai-news-scraper) - AI and tech coverage across Official Accounts.
- [WeChat New Energy Vehicle Coverage](https://apify.com/webdata_labs/wechat-official-account-scraper/examples/wechat-new-energy-vehicle-news-scraper) - EV and auto-industry articles.
- [WeChat Health and Wellness Content](https://apify.com/webdata_labs/wechat-official-account-scraper/examples/wechat-health-wellness-content-scraper) - health, fitness, and wellness content.
- [WeChat Livestream E-Commerce News](https://apify.com/webdata_labs/wechat-official-account-scraper/examples/wechat-livestream-ecommerce-news-scraper) - livestream-selling and social-commerce coverage.
- [WeChat Article Full-Text Extractor](https://apify.com/webdata_labs/wechat-official-account-scraper/examples/wechat-article-url-scraper) - paste your own article links and skip search entirely.

### Use this Actor with AI agents via MCP

This Actor is available over the [Apify MCP Server](https://mcp.apify.com/), so Claude Code, Claude Desktop, Cursor, and other MCP-compatible agents can call it directly as a tool - just add `webdata_labs/wechat-official-account-scraper` to your agent's Apify MCP tool list and ask it to search a topic.

### Use this Actor in n8n

Add the [Apify node](https://www.npmjs.com/package/n8n-nodes-apify) to your n8n workflow, select this Actor, and map your search keywords from an upstream node - no code required.

### Related Actors

- [Weibo Scraper](https://apify.com/webdata_labs/weibo-scraper) - search public Weibo posts and comments.
- [1688 Wholesale Scraper](https://apify.com/webdata_labs/1688-scraper) - B2B product and supplier data from 1688.com.
- [TikTok Shop Scraper](https://apify.com/webdata_labs/tiktok-shop-scraper) - product listings across TikTok Shop markets.
- [RedNote (Xiaohongshu) & Douyin Scraper](https://apify.com/webdata_labs/rednote-xiaohongshu-douyin-scraper) - product trend signals across China's short-video and lifestyle platforms.
- [Idealista Scraper](https://apify.com/webdata_labs/idealista-scraper) - property data for Spain, Italy, and Portugal.

### Changelog

**2026-09-12** - Initial release: keyword article search, direct article URL mode, and optional full-content fetch.

### Support

Found a bug or have a feature request? Open an issue on the [Issues tab](https://apify.com/webdata_labs/wechat-official-account-scraper/issues) of this Actor, or reach out for a custom China-data solution.

# Actor input Schema

## `searchQueries` (type: `array`):

Chinese or English keywords, brands, or topics to search across WeChat Official Account (公众号) articles.

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

Optional mp.weixin.qq.com article links you already have. These are scraped directly, skipping search.

## `maxArticlesPerQuery` (type: `integer`):

Caps returned articles for each search query. WeChat's public search index serves at most 100 results (10 pages) per query.

## `fetchFullContent` (type: `boolean`):

Follow through to each article's own page for the full text, cover image, and account ID. Turn off to return only the search-result snippet (title, digest, account name, link) at a lower price.

## Actor input object example

```json
{
  "searchQueries": [
    "人工智能"
  ],
  "articleUrls": [],
  "maxArticlesPerQuery": 20,
  "fetchFullContent": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `fullText` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "searchQueries": [
        "人工智能"
    ],
    "maxArticlesPerQuery": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdata_labs/wechat-official-account-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 = {
    "searchQueries": ["人工智能"],
    "maxArticlesPerQuery": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("webdata_labs/wechat-official-account-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 '{
  "searchQueries": [
    "人工智能"
  ],
  "maxArticlesPerQuery": 20
}' |
apify call webdata_labs/wechat-official-account-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webdata_labs/wechat-official-account-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/hOIdqXUfbFZpxPX5L/builds/i4Bs5bZQFiocZheqN/openapi.json
