WeChat Official Account API
Scrape WeChat and Weixin Official Accounts (微信公众号): search articles by keyword, list an account's articles, get full article text with images and account IP location, read, like and share counts, and search WeChat Channels (视频号) videos. No login or cookies needed.
WeChat Official Account API in one table
| Official public API for people outside China | No. This tool collects the publicly visible data instead. |
|---|---|
| What you send | A keyword, a link or an ID, depending on the request type |
| What you get back | JSON rows with English field names; 17 request types |
| Login, cookies, Chinese phone number | None needed |
| Output formats | JSON, CSV, Excel, or the Apify API |
| Price | $0.005 per result on the Bronze tier, no subscription |
| Last verified with a real run | 2026-11-09 |
17 kinds of WeChat Official Account request
WeChat (微信, Weixin) is a Chinese messaging app. Official Accounts (公众号) are publishing pages run by media outlets, brands, organisations and individuals; they post articles that followers read inside WeChat. WeChat Channels (视频号) is the short-video feature of the same app. This Actor is an independent tool and is not affiliated with WeChat.
- Search articles by keyword
- Account's articles
- Article full text
- Article read and like counts
- Search Channels videos by keyword
- Article comments
- Channels account's videos
- Channels account profile
- Channels account's collections
- Channels video details
- Channels video comments
- Search mini programs by keyword
- Account's registered company
- Channels collection's videos
- Channels account's live replays
- Official Account's custom menu
- Channels hot videos (monthly ranking)
A real run, 9 fields per record
Run on 2026-10-26 with input {"mode": "search", "keyword": "咖啡", "sort": "hot", "maxResults": 3}. Personal fields of ordinary users are masked here.
| title | accountName | summary | publishedAt | readCount |
|---|---|---|---|---|
| 每天喝咖啡是“提神”还是“伤身”? | 新华网 | 咖啡之所以可以提神,核心成分是咖啡因,它可以通过血脑屏障,阻断腺苷与受体结合。腺苷是人体产生疲劳和睡意的重要信号,... | 2026-10-13T13:57:11Z | 100000 |
| 真的建议,这8类人少喝咖啡! | 央视新闻 | 咖啡中含有较高的咖啡因,具有一定的提神效果。因此,很多上班族都依靠咖啡来打起精神,努力工作。有研究显示:咖啡因在人... | 2026-08-31T12:54:12Z | 100000 |
All 9 fields in one record
typearticlearticleIdMzA4MjQxNjQzMA==_2769089227_1urlhttps://mp.weixin.qq.com/s?__biz=MzA4MjQxNjQzMA==&mid=276...title每天喝咖啡是“提神”还是“伤身”?summary咖啡之所以可以提神,核心成分是咖啡因,它可以通过血脑屏障,阻断腺苷与受体结合。腺苷是人体产生疲劳和睡意的重要信号,...accountName新华网publishedAt2026-10-13T13:57:11ZcoverUrlhttps://mmbiz.qpic.cn/mmbiz_jpg/7042Vtt599XJIrap8Vd5a6wcr...readCount100000
Call the WeChat Official Account API
Every run is one HTTP call: send the input as JSON, get the rows back. The same works from Make, Zapier or n8n.
Pay per result
Bronze tier prices from the tool's listing; higher Apify tiers pay less. Free Apify users get two trial runs with their own input.
Full price table and worked examples
The Actor uses pay-per-event pricing: a small fee for each run start, a fee per article, video or comment returned in a list, and a higher fee for each full article, each counts lookup, each Channels profile and each Channels video detail, because each needs its own lookup, and separate fees for mini programs, comments and account subjects.
| Event | When it is charged | Paid plans |
|---|---|---|
run-start |
Once per run, when the first request succeeds, even if that request returns nothing (a page from the search's fallback is charged even when it brings nothing or times out, see below). It is not charged when the run fails from the start or rejects the IDs, or when the spending limit cannot cover it. In account, articleComments, channelVideos, channelCollections and channelComments modes, also once for each account, article, channel or video after the first, charged before its first request and kept even if it then fails or returns nothing. An article link given instead of an account ID, or a share link or export ID given instead of a channel username or video object ID, adds one more start fee, charged when it is reached. channelProfile pays no start fee per channel (each profile's detail fee covers its request); only a share link's lookup adds one start fee for each channel after the first. miniProgram charges 10 run-starts (10 × $0.015 = $0.15) for each keyword, in advance, because every keyword is a whole search page; the first keyword's ten are charged at the start of the run. principal charges one run-start per run, not per account. channelCollectionVideos, channelLives, accountMenu and hotVideos charge it only together with the first item they return, never for an empty run, and pay no start fee per collection, channel or account. |
$0.015 |
result |
Each article, video, collection, live replay or video comment returned in a list (search, account, videoSearch, channelVideos, channelCollections, channelCollectionVideos, channelLives, channelComments), and each ranked video (hotVideos) |
$0.005 |
comment |
Each article comment (articleComments mode) |
$0.003 |
miniprogram |
Each mini program returned (miniProgram mode) |
$0.014 |
principal |
Each account whose subject record is returned (principal mode), personal accounts included. Accounts that are not found are not charged. |
$0.45 |
detail |
Each full article (article mode), each Channels profile (channelProfile), each Channels video detail (channelVideoDetails) and each Official Account menu (accountMenu) |
Bronze $0.0184, Silver $0.0166, Gold, Platinum and Diamond $0.015 |
stats |
Each article counts lookup (stats mode) |
Bronze $0.0184, Silver $0.0166, Gold, Platinum and Diamond $0.015 |
Worked examples:
- 100 search results on a paid plan: $0.015 + 100 × $0.005 = $0.515.
- 100 full articles on the Bronze plan: $0.015 + 100 × $0.0184 = $1.855. On Gold: $0.015 + 100 × $0.015 = $1.515.
- 100 comments of one video: $0.015 + 100 × $0.005 = $0.515.
- 100 comments under one article: $0.015 + 100 × $0.003 = $0.315.
- One keyword, 25 mini programs: 10 × $0.015 + 25 × $0.014 = $0.50. A second keyword adds another $0.15 plus $0.014 per result.
- 3 accounts' registered companies: $0.015 + 3 × $0.45 = $1.365.
- One Channels profile on Gold and above: $0.015 + $0.015 = $0.03. Each further profile adds only $0.015.
- 40 videos of a collection (two pages): $0.015 + 40 × $0.005 = $0.215.
- One account's custom menu on Gold and above: $0.015 + $0.015 = $0.03. Each further account adds only $0.015.
- 3 accounts, 30 articles in total: 3 × $0.015 + 30 × $0.005 = $0.195, if all three accounts are reached.
A collection, channel or account that returns nothing (not found, no live replays, no custom menu, or the request did not complete) is not charged. If three such inputs in a row come back empty after a request that could have been billed to us, or those requests add up to about $0.10 in one run, the run stops with the remaining inputs reported as ended early. An account the source rejects without any charge (for example an account ID that does not exist) is skipped and does not count toward the three, except that once a run has had more than a handful of such rejections each further one counts like an empty one. A run whose very first request fails ends with a message to retry later and charges nothing. After a restart, an account menu already delivered is not asked again; a collection or channel already delivered may be asked again but is not charged twice and does not count.
Nothing is charged once maxResults is reached, and you never pay for more than maxResults items.
When article search uses its fallback
If the usual article search cannot answer before any result is delivered, search mode switches to a fallback search on its own, page by page until maxResults is reached or no more results come (up to about 40 articles per page). The fallback is billed for every page it answers, whatever is on it, so every fallback page you get costs at least about $0.16. The extra start fees are worked out from the prices of your own run, so the page total stays about the same if the run-start price changes (at a lower start price, more start fees make up the same amount). At today's prices:
| Articles you take from a fallback page | You pay for that page |
|---|---|
| 0 (nothing found, or the page request failed after it was sent, e.g. timed out) | $0.165 (11 start fees) |
| 1 to about 30 | $0.16 to $0.17: the result fees plus extra run-start fees that make up the difference |
| about 30 or more | only the result fees ($0.005 each); the first page also pays the run's own start fee |
For example, maxResults 20 costs $0.015 + 3 × $0.015 + 20 × $0.005 = $0.16 instead of $0.115. A fallback page is only requested when your spending limit can pay for its dearest outcome (the message gives the amount); if it cannot, the run stops with a message saying so and nothing charged. If the usual search was billed for failed attempts first, the first fallback page also covers those, with a few more start fees (up to about $0.06). A second page is only requested after a full first page, and the search stops at the first page with no new article. The fallback has no time filter: with publishTime set it returns the newest articles and drops the older ones, and only the articles kept count as results. Fallback results may lack readCount. The run log says when the fallback was used. When the usual search works, the fallback is never used.
On the free Apify plan you get 2 free trial runs of this Actor with your own input, up to 10 results each, and nothing is charged; after that, runs return a stored sample dataset (a real result of the prefilled input). Use any paid Apify plan for full runs.
WeChat Official Account API questions
Do I need a WeChat account, login or cookies?
No. You don't need a login, cookies, proxies or a Chinese phone number.
Is it legal to scrape WeChat Official Accounts?
The Actor returns only public data: published articles, their public counts, the publishing account's public profile, public comments and public Channels video information. It does not read private data such as messages. You are responsible for how you use the data and for following the laws that apply to you.
How fresh is the data?
The data is collected live during each run. Numbers such as reads and likes are what WeChat shows at the time of the run.
Why are some fields empty?
Some fields are not available in every mode. Search results have no `accountId`, `lookCount` or `position`. In `account` mode, `accountName` is empty when you give an account ID or WeChat ID. `sourceLink` is empty when an article has no original-source link. Some accounts hide their counts, which then come back as `null`.
How many results can I get?
Set `maxResults` from 1 to 5,000 items per run.
Can I get comments?
Yes. `articleComments` returns the selected comments under an article (billed as `comment` events) and `channelComments` the top-level comments of a Channels video. Replies are counted (`replyCount`); set `includeReplies` to list them too (see the input table). `stats` mode returns the comment count (`commentCount`) of each article.