WeChat Article Scraper: Official Account (公众号) Full Text avatar

WeChat Article Scraper: Official Account (公众号) Full Text

Pricing

$4.00 / 1,000 articles

Go to Apify Store
WeChat Article Scraper: Official Account (公众号) Full Text

WeChat Article Scraper: Official Account (公众号) Full Text

Search WeChat Official Account (微信公众号) articles by keyword, or paste article links, and get title, account, author, publish time, images and full text (文章全文). No login. Pay only for articles returned with status ok; deleted and failed posts are free.

Pricing

$4.00 / 1,000 articles

Rating

0.0

(0)

Developer

Vanja V

Vanja V

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Search WeChat Official Account (微信公众号) articles by keyword, or paste article links you already have, and get one row per article: title, account, author, publish time, cover and images, and the full article text (文章全文).

You pay $0.004 per article returned with status ok. There is no start fee, and proxy and compute costs are included. Deleted posts, moved accounts, broken links and articles that showed a verification page come back with the reason in their row and cost nothing.

You need no WeChat account, no login and no cookies.

Output rows from a real run: keyword, title, account, publish date, status, layout, text length, article text, and the reason a row was not charged

What people use it for

  • WeChat article scraper. Collect 公众号 articles on a topic, with full text, for research, media monitoring or a Chinese-language dataset.
  • Track what accounts publish on a subject. Search a keyword with timeRange set to the past day or week.
  • Get the text of links you already have. Paste mp.weixin.qq.com links and get title, account, date and text for each.

What you pay for

$0.004 per article ($4 per 1,000), whatever its length, with or without full text.

outcomestatuscharged
the article was readokyes, once per article
deleted by the publisher or blocked for everyonedeletedno
the account moved to a new account (该公众号已迁移)migratedno
the link is broken or made up (参数错误)not_foundno
WeChat or the search showed a verification pageblockedno
any other page the Actor could not readfailedno

Rows that fail after the search keep what the search returned (title, account, publish time, summary, link), so you still see which article it was. Every row that is not ok has an error field with the reason. If you set a maximum cost per run, the Actor stops charging at that limit.

Measured results

On a platform run of 20 Chinese keywords at 10 articles each plus 5 known links (205 rows, about 8 minutes):

  • 166 of 191 articles found by search came back ok with text (86.9%).
  • 25 rows (12%) were blocked because WeChat showed a verification page for the article. The Actor does not retry or charge these rows, and they keep their search fields.
  • 3 rows were deleted, 6 migrated, 1 not_found (the made-up link) and 1 failed.
  • The median article had 2,484 characters of text.

What you get

One dataset row per article:

{
"keyword": "半导体",
"rank": 4,
"title": "半导体芯片遭遇“厕纸时刻”?",
"summary": "西班牙《经济学家报》网站7月19日刊登题为《半导体芯片的“厕纸时刻”…",
"accountName": "参考消息",
"accountId": "gh_2837b93c1976",
"accountBiz": "MjM5MzA0MTg2MA==",
"author": "参考消息",
"publishedAt": "2022-07-25T02:46:37.000Z",
"publishedTs": 1658717197,
"url": "https://mp.weixin.qq.com/s?src=11&timestamp=…",
"permanentUrl": null,
"coverImage": "https://mmbiz.qpic.cn/mmbiz_jpg/…",
"images": ["https://mmbiz.qpic.cn/mmbiz_gif/…"],
"isOriginal": true,
"layout": "article",
"text": "西班牙《经济学家报》网站7月19日刊登题为…",
"textChars": 1278,
"status": "ok",
"error": null
}
  • layout is article, image_post, text_post or video_post. Image posts and text posts get their caption in text.
  • accountId is the account's WeChat id (usually gh_…) and accountBiz its __biz id, both read from the article page.
  • isOriginal is true when WeChat marks the post as original content (原创).
  • url is the link the search returned. permanentUrl is filled for links you give the Actor, and for a migrated post it holds the post's new address.
  • publishedAt is ISO 8601 in UTC; publishedTs is the same moment as a Unix timestamp.

The run opens on an Articles table (status, keyword, rank, title, account, author, published, link, text length, original, layout). The full JSON has everything.

Input

fieldwhat it does
keywordsSearch words, in Chinese or English. Each keyword is searched on its own.
maxResultsPerKeywordUp to 25 per keyword (default 20). For more on a topic, add related keywords.
timeRangeany, day, week, month or year. Checked on every result page before any article is opened.
publishedAfterKeep only articles published on or after this date (China time).
articleUrlsArticle links you already have: mp.weixin.qq.com/s/… or mp.weixin.qq.com/s?__biz=…. One row each.
includeFullTextOn (default): open each article for text, images, author and account id. Off: the search row only. Same price.
proxyConfigurationProxy for the search pages (residential by default).

Articles that appear twice in one run (same account and title) are returned and charged once.

How it works

The keyword search runs on Sogou's WeChat search (weixin.sogou.com), which indexes public 公众号 articles. Each article is then opened on mp.weixin.qq.com and read from the page. When the search shows its verification page, the Actor stops that keyword and keeps the rows it already found; the other keywords carry on. The run's SUMMARY record says which keywords stopped early.

Use it from Make

The Actor works with the Apify modules in Make: run it, then read the dataset with "Get Dataset Items". Every field has a fixed type (rank and publishedTs are numbers, publishedAt a date, images an array, isOriginal a boolean), so you can map them directly.

What this cannot do

  • No read counts, likes or comments. WeChat shows those only to a signed-in reader.
  • At most 25 articles per keyword. The search gives a limited number of results per visitor.
  • No account or album (合集) listing in this version: search by keyword, or paste links.
  • Articles behind a verification page come back blocked and are not retried.

Pricing

per article (ok row)$0.004
per 1,000 articles$4.00
start feenone
proxy and computeincluded
rows that are not okfree

FAQ

Do I need a WeChat account? No. The Actor reads public pages without signing in.

Can I search in English? Yes, but most 公众号 articles are in Chinese, so Chinese keywords find far more.

Why are some rows blocked? WeChat sometimes shows a verification page instead of the article. In our test run that happened to 12% of rows. Those rows are free and keep the title, account and date from the search.

How do I get more than 25 articles on a topic? Add related keywords. Each keyword returns up to 25 articles, and duplicates across keywords are removed.