# WeChat Official Account Scraper - Profile, IDs & QR (`parseforge/wechat-official-account-scraper`) Actor

Look up WeChat Official Accounts by name, WeChat ID, topic or article link: WeChat ID, gh\_ ID, biz, AppID, avatar, QR code. Export CSV, Excel, JSON or XML.

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

## Pricing

from $4.25 / 1,000 result items

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?

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

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)

## 💬 WeChat Official Account Scraper

> 🚀 **Export WeChat Official Account profiles in seconds.** 20 fields per account: WeChat ID, gh\_ original ID, biz, AppID, signature, avatar, QR code, plus up to 100 of the account's articles from Sogou's WeChat index.

WeChat Official Accounts (微信公众号) are where Chinese brands, media, universities and government bodies publish, but the account profile only opens inside the WeChat app. This Actor finds an account by its name, its WeChat ID, a topic it writes about or one of its article links, opens one of its public articles and reads the account block every article carries: name, custom WeChat ID, original gh\_ ID, the biz key used in every article link, the account AppID, its description, square and HD avatars, and a working follow QR code.

Coverage comes from Sogou's WeChat index, which serves 10 result pages of 10 articles per query. In our tests the account lookup found 36氪 with 24 indexed articles, 丁香医生 with 19 and 新华社 with 12 from the first three pages, and a single topic search for 人工智能 returned 10 different publishing accounts with fresh articles from the same day. Every row in a 10 account run carried the original ID, biz, AppID, signature, avatars and QR code; the WeChat ID was present on 8 of 10, because some accounts never set one.

| 🎯 Target Audience | 💡 Primary Use Cases |
| --- | --- |
| 📣 Marketing and PR teams | Build a list of the Official Accounts that write about your category |
| 🧑‍💼 KOL and partnership managers | Collect WeChat IDs and QR codes of media and creator accounts to contact |
| 🕵️ Competitive intelligence | Map a competitor's accounts and the articles Sogou indexes for them |
| 🛠 Developers | Resolve an account name to its biz, gh\_ ID and AppID for your own tools |
| 🎓 Researchers | Study who publishes on a topic across Chinese media and institutions |
| 🗂 Data teams | Enrich a list of account names with stable IDs for deduplication |

### 📋 What the WeChat Official Account Scraper does

Give it account names, WeChat IDs, topics or article links, in any mix. It writes one row per Official Account.

- 🔎 **Account names.** Type the account's name exactly as WeChat shows it (36氪, 丁香医生, 新华社). The Actor finds the account's own articles in Sogou's index and reads the profile from the newest one.
- 🆔 **WeChat IDs.** Type a WeChat ID such as wow36kr and the Actor checks the accounts behind the search results until one carries that ID.
- 🧭 **Topic discovery.** Type a keyword and get one row per account publishing on it, a replacement for Sogou's account search, which no longer returns results.
- 🔗 **Article links.** Paste an mp.weixin.qq.com link and get the account that published it.
- 📱 **QR codes.** Every row has a follow QR image built from the account's original ID.
- 📚 **Indexed articles.** Title, publish time, snippet, cover image and link for each article of the account found in the scanned pages, newest first.

> 💡 **Why it matters:** the biz key and the gh\_ original ID are how every WeChat tool, analytics platform and API identifies an account, and they are hard to find by hand. One row per account with those IDs, the QR code and a sample of its articles turns a list of names into something you can actually work with.

### 🎬 Full Demo (🚧 Coming soon)

A walkthrough video is on the way. Until then, the sample records below are real rows from a live run.

### 📊 Output

| Field | What it holds |
| --- | --- |
| 🖼 `imageUrl` | Account avatar |
| 📌 `accountName` | Account name (nickname) |
| 🆔 `wechatId` | Custom WeChat ID, or Not Disclosed when the account never set one |
| 🔑 `originalId` | Original ID (gh\_..., older accounts use wxid\_...) |
| 🏷 `biz` | The account's biz key, used in every article link |
| 🔗 `url` | Account home link (opens inside WeChat) |
| 📝 `signature` | Account description (功能介绍) |
| 🧩 `appId` | Official Account AppID |
| 🖼 `avatarHdUrl` | High resolution avatar |
| 📱 `qrCodeUrl` | Follow QR code image |
| 🎯 `matchType` | Account name, WeChat ID, Topic search or Article URL |
| 🔎 `query` | The input that produced the row |
| 📰 `sourceArticleTitle` | Article the profile was read from |
| 🔗 `sourceArticleUrl` | Link to that article |
| 📅 `sourceArticlePublishedAt` | Its publish time |
| 🔢 `indexedArticleCount` | Articles by the account found in the scanned Sogou pages |
| 📅 `latestIndexedArticleAt` | Newest of those articles |
| 📚 `indexedArticles` | Title, publishedAt, snippet, coverUrl and url of each, newest first |
| 🕒 `scrapedAt` | When the row was collected |
| ❌ `error` | Error message, null on success |

Three real records (the article lists are cut to two entries here):

```json
[
  {
    "imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/QicyPhNHD5vae5iaz2AnhGezX4ecJkRqemSibPbIeH8jLoGqT2HqU0Bp4MtOfcfdVNhHzibONSk2JINYQMnV1RiaK8g/0?wx_fmt=png",
    "accountName": "36氪",
    "wechatId": "wow36kr",
    "originalId": "gh_240fbf8b33e4",
    "biz": "MzI2NDk5NzA0Mw==",
    "url": "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzI2NDk5NzA0Mw%3D%3D#wechat_redirect",
    "signature": "36氪是服务中国新经济参与者的卓越品牌和开创性平台，提供新锐深度的商业报道，强调趋势和价值，我们的slogan是：让一部分人先看到未来。",
    "appId": "wx0467c2ab89488d55",
    "avatarHdUrl": "https://wx.qlogo.cn/mmhead/DxncLlErbRGPmUIpYFjrz665bzmeiaWX3RskoZy2urrOHmEPXUtpB1BBvxfnkoNPVXXpZP9nicl2o/0",
    "qrCodeUrl": "https://open.weixin.qq.com/qr/code?username=gh_240fbf8b33e4",
    "matchType": "Account name",
    "query": "36氪",
    "sourceArticleTitle": "36氪全球智能创业家项目启动招生，欢迎垂询",
    "sourceArticleUrl": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295163&ver=6987&signature=1abZgu2OMBFw77RSNoPS6Y3XQ*A491JeRVvuIku3401jqwGVsV8xtLnAvu1CvBbZ1IwP3dqn2ATeZGx4hpCPRuyLmpmnpz1DRdKP5zSSh08D0RnZrykmy5sel7*MmWpj&new=1",
    "sourceArticlePublishedAt": "2024-01-20T09:11:19.000Z",
    "indexedArticleCount": 24,
    "latestIndexedArticleAt": "2024-01-20T09:11:20.000Z",
    "indexedArticles": [
      {
        "title": "36氪全球智能创业家项目启动招生,欢迎垂询",
        "publishedAt": "2024-01-20T09:11:20.000Z",
        "snippet": "36氪联合北大、清华、斯坦福、伯克利等海内外大学、百度、苹果、微软等诸多知名企业,人工智能领域专家、企业家、投资人等隆重...",
        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/QicyPhNHD5vbt9bUtRhqal46TJhOKeMYI5n0IROlabu7zZCfzqBpvclxTs55d70kutZyu3iaMNLUcWL1icQicoJ4XA/0?wx_fmt=jpeg",
        "url": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295163&ver=6987&signature=1abZgu2OMBFw77RSNoPS6Y3XQ*A491JeRVvuIku3401jqwGVsV8xtLnAvu1CvBbZ1IwP3dqn2ATeZGx4hpCPRuyLmpmnpz1DRdKP5zSSh08D0RnZrykmy5sel7*MmWpj&new=1"
      },
      {
        "title": "36氪暗涌·2023产业未来大会圆满举办:和命运的齿轮一起转动",
        "publishedAt": "2023-09-22T13:31:26.000Z",
        "snippet": "9月22日,36氪暗涌·2023产业未来大会圆满落幕.本次大会,36氪不仅充分利用在产业项目和投资机构两端的卓越影响力及丰富的资...",
        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/QicyPhNHD5vZdaRaIWialXWficiaZZL3zN3E6oib2mOYsCZYTLSwSQBicNIr2mz3TXicBu6kzFTczl8B4fOrztN4XN9rA/0?wx_fmt=jpeg",
        "url": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295163&ver=6987&signature=1abZgu2OMBFw77RSNoPS6Y3XQ*A491JeRVvuIku3403jcw24ZZ*mW-f3Z0RdXa9HFN9HUmKvWnMVRYXweW3hqlDr0-EqmpYFuzUjFJpMFShsm3UnOkL9W0nhDN41JVT-&new=1"
      }
    ],
    "scrapedAt": "2026-09-25T00:12:53.932Z",
    "error": null
  },
  {
    "imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/azXQmS1HA7lUbOh6fqpzyseAmRpR1PryBaaCUxAuyqJO4sKj9hQO814kKgXARvMAqMtF3icxhy1lhbCT2ktyf2Q/0?wx_fmt=png",
    "accountName": "新华社",
    "wechatId": "xinhuashefabu1",
    "originalId": "gh_6651e07e4b2d",
    "biz": "MzA4NDI3NjcyNA==",
    "url": "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzA4NDI3NjcyNA%3D%3D#wechat_redirect",
    "signature": "新华通讯社官方账号。硬新闻、暖故事、好朋友。",
    "appId": "wx5ec3d35069383211",
    "avatarHdUrl": "https://wx.qlogo.cn/mmhead/Q3auHgzwzM6CRL0IbOnOf9n66mYHko2JKkv3662EoCZHd9K3rhVia1Q/0",
    "qrCodeUrl": "https://open.weixin.qq.com/qr/code?username=gh_6651e07e4b2d",
    "matchType": "Account name",
    "query": "新华社",
    "sourceArticleTitle": "新华社新媒体正在招人！",
    "sourceArticleUrl": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295189&ver=6987&signature=BxHgujz4doH3Wz1NJ0NNKpk6i*98PZvwUkc0fUJzlRZCvsoZSFRikHR3cdA5Nz9GwKWSitjccjm1Ec5SV1sJRWnk9-FuzkCx8BIPc7n*aFrAGwUuD67N2AqQYPuUBzZK&new=1",
    "sourceArticlePublishedAt": "2023-11-13T04:20:28.000Z",
    "indexedArticleCount": 10,
    "latestIndexedArticleAt": "2023-11-13T04:20:28.000Z",
    "indexedArticles": [
      {
        "title": "新华社新媒体正在招人!",
        "publishedAt": "2023-11-13T04:20:28.000Z",
        "snippet": "有人为你留门有人为你留灯而我们在国家通讯社为你留了一个工位新华社客户端、微博、微信、抖音、快手视频号、B站“在场”“在...",
        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/azXQmS1HA7l9h3vZia3TEqnCX0LbxCn6fzk5JoSPg0SKKbBNmCltSI81CBysYvfrQffQbiah1ibkRuAxBeJZdtIzQ/0?wx_fmt=jpeg",
        "url": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295189&ver=6987&signature=BxHgujz4doH3Wz1NJ0NNKpk6i*98PZvwUkc0fUJzlRZCvsoZSFRikHR3cdA5Nz9GwKWSitjccjm1Ec5SV1sJRWnk9-FuzkCx8BIPc7n*aFrAGwUuD67N2AqQYPuUBzZK&new=1"
      },
      {
        "title": "新华社记者在医院见到了她",
        "publishedAt": "2022-02-23T11:26:36.000Z",
        "snippet": "连日来,新华社记者在江苏丰县展开调查.2月13日,记者在医院见到了小花梅(杨某侠)及其大儿子.据医生介绍,通过治疗,小花...",
        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/azXQmS1HA7lXmTCexDcWibhjyRJiczMUJUNZDMduNS3l6rgY1AFrU6ud8NmTPCGKF8hvWUX0nCGeIvr972NrsJgg/0?wx_fmt=jpeg",
        "url": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295189&ver=6987&signature=BxHgujz4doH3Wz1NJ0NNKpk6i*98PZvwUkc0fUJzlRbZsWg0ldgn997FACoYTA*OQKYsHETh7UQu8kDsvHucq9cheJA2ZQA2OFKF8*DnRrSRdQWd7-GNUHukP508EzHg&new=1"
      }
    ],
    "scrapedAt": "2026-09-25T00:13:20.434Z",
    "error": null
  },
  {
    "imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/SWIYdiadJibreFayMpRS5wanibO6a9sb342XRSVDIgoHJhQMhia7MLO0jEOicNOPdic4vfib3TWf8OEibLkhIbng6gc5RA/0?wx_fmt=png",
    "accountName": "司法部",
    "wechatId": "sfb_sifabu",
    "originalId": "gh_8c22a02b0e6c",
    "biz": "MzUyMzA0NzkzNA==",
    "url": "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzUyMzA0NzkzNA%3D%3D#wechat_redirect",
    "signature": "司法部新闻宣传、服务群众的平台，及时发布司法行政权威信息，解读重大政策，回应公众关切，提供政务服务等。",
    "appId": "wx3efb71ace18c3e14",
    "avatarHdUrl": "https://wx.qlogo.cn/mmhead/Q3auHgzwzM6kGibHwBYW4sAt9TP4YSpKhOKKGl7DicBOZcReHoNNMn8w/0",
    "qrCodeUrl": "https://open.weixin.qq.com/qr/code?username=gh_8c22a02b0e6c",
    "matchType": "Topic search",
    "query": "人工智能",
    "sourceArticleTitle": "辽宁省首届律师应用人工智能创新法律服务优秀产品展演活动举行",
    "sourceArticleUrl": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295203&ver=6987&signature=upLEGOy8PNzY-qAdZJp6GhyW9W7FK6vGOYUuyKJ5V3WOacE9kA-KnRYX82duyVFQ8ySdtHm7Lt5Q4AThXORJz6vgoCErLJ0Mv5AACfUb9cTxDZ8DvR2bBKnsQ8z5Lfpc&new=1",
    "sourceArticlePublishedAt": "2026-09-24T16:01:46.000Z",
    "indexedArticleCount": 1,
    "latestIndexedArticleAt": "2026-09-24T16:05:44.000Z",
    "indexedArticles": [
      {
        "title": "辽宁省首届律师应用人工智能创新法律服务优秀产品展演活动举行",
        "publishedAt": "2026-09-24T16:05:44.000Z",
        "snippet": "近日,辽宁省首届律师应用人工智能创新法律服务优秀产品展演活动在沈阳举行.活动以“提升律师执业技能,赋能行业发展”为核心...",
        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/tCMpPaTkhoia9ASe5IYfzibZWmhfjib3DcgkdLc24fr5KTibiaQVCrwmC1gWTvLuV919XFw6LO3EP3pZbYU03IQI2Gp0ZPtgDOOWR2smVczicXUzo/0?wx_fmt=jpeg",
        "url": "https://mp.weixin.qq.com/s?src=11&timestamp=1790295203&ver=6987&signature=upLEGOy8PNzY-qAdZJp6GhyW9W7FK6vGOYUuyKJ5V3WOacE9kA-KnRYX82duyVFQ8ySdtHm7Lt5Q4AThXORJz6vgoCErLJ0Mv5AACfUb9cTxDZ8DvR2bBKnsQ8z5Lfpc&new=1"
      }
    ],
    "scrapedAt": "2026-09-25T00:14:09.722Z",
    "error": null
  }
]
```

### ✨ Why choose this Actor

- 🔑 **The IDs that matter.** biz, gh\_ original ID and AppID on every row, the keys other WeChat tools ask for.
- 🧭 **Account discovery that still works.** Sogou's account search tab returns nothing today; topic discovery through article search gives you the publishing accounts instead.
- 📱 **Ready-to-use QR codes.** A follow QR image URL on every row.
- 🛡️ **Built for Sogou's limits.** Sogou blocks an IP after about 20 requests, so every result page runs on its own proxy session and retries on a fresh one.
- 🔁 **One row per account.** Accounts are deduplicated by biz across all inputs, so you never pay twice for the same account.
- 🙅 **No login.** No WeChat account, no cookies, no QR scanning.

### 📈 How it compares to alternatives

| | This Actor | Logged-in WeChat tools | Manual lookup |
| --- | --- | --- | --- |
| WeChat login or cookies | ❌ Not needed | ✅ Needed, accounts get restricted | ✅ Phone app |
| WeChat ID, gh\_ ID, biz, AppID | ✅ | ✅ | Partly, by hand |
| Follow QR code | ✅ | Varies | ✅ Screenshot |
| Find accounts by topic | ✅ From Sogou article search | ✅ | Slow |
| Follower count, verified company, IP region | ❌ Not public | Varies | ✅ In the app |
| Full article history | ❌ Sogou's indexed sample, up to 100 per query | ✅ | ✅ Scrolling |

This Actor only uses what WeChat and Sogou publish to any visitor. Follower counts, the verified company name, the account's IP region and the complete article history are only shown inside the WeChat app, so they are not included. The indexed article list is Sogou's own sample of the account's articles: Sogou ranks by relevance, not by date, and for large accounts it often surfaces older articles (the newest 36氪 article in our test dated from 2024). Very large news accounts whose name appears in thousands of other articles, such as 人民日报, can be crowded out of the results entirely; paste one of their article links instead.

### 🚀 How to use

1. Create a free Apify account with $5 credit: [sign up here](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the WeChat Official Account Scraper and add account names, WeChat IDs, topics or article links.
3. Choose how many Sogou result pages to scan and how many indexed articles to keep per account.
4. Click Start. Three account lookups and a 7 account topic search took about 90 seconds in our test.
5. Download the dataset as CSV, Excel, JSON or XML, or pull it through the API.

A minimal run looks like this:

```json
{ "accountQueries": ["36氪", "wow36kr"], "searchTerms": ["新能源汽车"], "maxItems": 50 }
```

### 💼 Business use cases

#### 📣 Media lists for PR

Run your industry keywords as topics, keep the accounts whose signatures match your audience, and hand your PR team a list with WeChat IDs and QR codes.

#### 🤝 KOL outreach

Paste the names of the accounts you want to partner with and get their WeChat IDs, original IDs and QR codes in one sheet.

#### 🕵️ Competitor mapping

Look up your competitors' accounts, then compare the articles Sogou indexes for each of them.

#### 🛠 Tool integrations

Resolve account names to biz, gh\_ ID and AppID before loading them into an analytics platform or an internal monitoring tool.

### 🔌 Automating WeChat Official Account Scraper

- ⏰ **Schedules.** Run a topic every week to catch new publishing accounts.
- 🔗 **Make and Zapier.** Push new accounts to Google Sheets, Airtable or a CRM.
- 💬 **Slack.** Post a message when a new account appears for your keyword.
- 🔄 **Airbyte.** Load the dataset into your warehouse.
- 🐙 **GitHub Actions.** Trigger a run from your pipeline through the API.
- 📁 **Google Drive.** Export each run as a spreadsheet automatically.

### 🌟 Beyond business use cases

- 🎓 **Research.** Study which institutions and media publish on a topic in China.
- 🙋 **Personal.** Find the official account of a school, hospital or city service and save its QR code.
- 🤝 **Non-profit.** Build a directory of public-interest accounts in your field.
- 🧪 **Experimentation.** Create a dataset of account names, descriptions and avatars for a classifier.

### 🤖 Ask an AI assistant about this scraper

Paste this page into ChatGPT, Claude or Gemini and ask things like "Which input finds the accounts that write about electric vehicles?" or "How do I turn the qrCodeUrl column into images in Google Sheets?".

### ❓ Frequently Asked Questions

#### 🔑 Do I need a WeChat account?

No. The Actor reads public article pages and Sogou's public WeChat search. It never logs in and never asks for cookies.

#### 🔎 Why did my account name return an error row?

The Actor matches the account name exactly as WeChat shows it, including Chinese characters. If Sogou's first pages hold no article from an account with that exact name, you get a free error row. Check the spelling, raise the result pages, or paste one of the account's article links.

#### 📰 Why can't it find 人民日报?

Its name appears in thousands of other accounts' articles, so Sogou ranks those first and the account's own articles never reach the first 10 pages. Paste one of its article links into Article URLs and you get the full profile.

#### 🆔 What is the difference between wechatId, originalId and biz?

`wechatId` is the custom ID the owner chose (like wow36kr). `originalId` is the permanent gh\_ ID WeChat assigns (older accounts show wxid\_). `biz` is the account key that appears in every article link as `__biz`.

#### 📅 Are the indexed articles the latest ones?

Not always. Sogou ranks by relevance and offers no date filter, so the list is Sogou's sample of the account's articles, sorted newest first. Topic searches, on the other hand, usually surface articles from the last day or two.

#### 👥 Do I get the follower count or the verified company?

No. WeChat only shows those inside the app, and they are not on any public page.

#### 📱 Does the QR code work?

Yes. `qrCodeUrl` points to WeChat's own QR image for the account. Open it in a browser or scan it with the WeChat app to follow.

#### 🔗 How long do the article links last?

Links found through Sogou are signed by Sogou and expire after some hours. Rows from your own article links keep the link you pasted.

#### 🔒 Why did an article link return a captcha error?

WeChat asks for a captcha on bare links of the form `s?__biz=...&sn=...` without their share parameters. Paste the full share link (it carries a `chksm` parameter) or the short `https://mp.weixin.qq.com/s/...` form.

#### 🛡️ Why is the proxy on by default?

Sogou blocks an IP after about 20 requests. The Actor opens a fresh datacenter proxy session for every result page, which keeps runs clean.

#### 🧾 Am I charged for errors?

No. Error rows, such as an account that could not be found, are written to the dataset for transparency and never charged.

#### 🔁 What if two inputs point to the same account?

You get one row. Accounts are deduplicated by biz across account names, topics and article links.

### 🔌 Integrate with any app

Use the Apify API, the JavaScript and Python clients, webhooks, or ready-made integrations for Make, Zapier, Slack, Google Sheets, Airbyte and more to send WeChat account data wherever you need it.

### 🔗 Recommended Actors

- [WeChat Articles Scraper](https://apify.com/parseforge/wechat-articles-scraper) for the full text, images and author of WeChat articles.
- [Sogou WeChat Articles Search Scraper](https://apify.com/parseforge/sogou-wechat-search-articles-scraper) for article search results with resolved links.
- [Weibo Scraper](https://apify.com/parseforge/weibo-scraper) for posts and profiles from China's public microblog.
- [Bilibili Video Scraper](https://apify.com/parseforge/bilibili-video-scraper) for Chinese video data.

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more social media Actors.

**🆘 Need Help?** [Open our contact form](https://tally.so/r/BzdKgA)

> **⚠️ Disclaimer:** independent tool, not affiliated with WeChat, Tencent or Sogou; only publicly available data is collected.

# Actor input Schema

## `accountQueries` (type: `array`):

Official Account names exactly as they appear in WeChat (for example 36氪, 丁香医生), or a WeChat ID such as wow36kr. The Actor finds the account's articles in Sogou's WeChat index and reads the profile from one of them.

## `searchTerms` (type: `array`):

Keywords in any language. Returns one row per Official Account that publishes articles on the topic, newest articles first as Sogou ranks them.

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

Links to WeChat articles (https://mp.weixin.qq.com/s/... or full share links). Returns the Official Account that published each one.

## `maxItems` (type: `integer`):

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## `searchPages` (type: `integer`):

Sogou result pages scanned for each account name or topic (1 to 10). More pages find more indexed articles and more accounts, and take longer.

## `maxIndexedArticles` (type: `integer`):

How many of the account's articles found in Sogou's index to list on each row (0 to 100). With 0, article URL lookups skip the Sogou search entirely.

## `proxyConfiguration` (type: `object`):

Apify proxy settings. On by default (datacenter).

## Actor input object example

```json
{
  "accountQueries": [
    "36氪",
    "丁香医生",
    "新华社"
  ],
  "searchTerms": [
    "人工智能"
  ],
  "maxItems": 10,
  "searchPages": 3,
  "maxIndexedArticles": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Account identity, IDs, QR code and indexed article count

## `fullData` (type: `string`):

Complete dataset with all 20 fields, including the indexed article list

# 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 = {
    "accountQueries": [
        "36氪",
        "丁香医生",
        "新华社"
    ],
    "searchTerms": [
        "人工智能"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/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 = {
    "accountQueries": [
        "36氪",
        "丁香医生",
        "新华社",
    ],
    "searchTerms": ["人工智能"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/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 '{
  "accountQueries": [
    "36氪",
    "丁香医生",
    "新华社"
  ],
  "searchTerms": [
    "人工智能"
  ],
  "maxItems": 10
}' |
apify call parseforge/wechat-official-account-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/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/223Kav3q9Cy3MNtIc/builds/jVnwKFlItHgBqgqlr/openapi.json
