How do I search only WeChat articles and collect ideas from the past week?
Search with wechat_search.v2.fetch_search and set business_type:"article" to get Official Account articles only, without Channels videos mixed into the results. Add publish_time:"week" for the past week and sort:"latest" for newest first. For example, for a hiring research task, search a recruitment keyword, review the result cards and select the articles worth reading before you retrieve any article text.
Define the collection you need
For an assistant already connected to BeatAPI, a useful instruction is:
Search WeChat for recruitment articles from the past week, newest first. Review at most three result pages. Select articles about product manager jobs in Shanghai, keep verifiable source links and tell me which ones need full-text reading.
“Product manager jobs in Shanghai” is your relevance judgement, not a search setting. Search a few narrower keyword combinations, then check each result’s location, role and application deadline. Read the full text of articles that are relevant or whose details are incomplete.
Run an article search
Request example for data:wechat_search.v2.fetch_search:
Choose settings for the task:
publish_time also supports half_year and all. sort:"hot" finds candidates ranked by likes; an industry readership ranking needs its own data and comparison rules. Account search uses business_type:"account"; video search uses "video".
Continue to the next page
- Request the first page with
offset:0. - For the next page, keep the keyword,
publish_timeandsortunchanged and pass the returneddata.cursorunchanged into the next request. - Continue while
data.continue_flagsays more results exist.
Changing only offset to 20 returns the first page again.
With explicit raw:false, results are in data.items. data.count is the page count; data.total is the largest count reported by the search boxes, rather than a verified count of unique articles. For a three-page task, report the number of pages actually saved and the number of candidate observations collected.
Turn the results into a useful shortlist
- Review each result card and record the title, source, time and article link you can confirm.
- Add a short selection reason, such as “role and city match; read the article to check the deadline.”
- Move unrelated training offers and outdated reposts to an exclusions list.
- Retrieve the text of the selected articles only, with the text-reading workflow. To follow one account over time, continue with the account’s article list.
The search_archive.py helper below saves the raw result cards. search_archive.py does not extract article titles and URLs or hand them to body retrieval, because the mapping from a card to an article is not yet verified. Use the search_archive.py output to save and review search results, and edit the shortlist article by article yourself or with your assistant.
For example, a search for Shanghai frontend jobs returns the original listing and a repost. Save the verifiable original link and note which listing the repost points to. Check the role, city and deadline before handing over the candidate. If you have only the search snippet, mark the deadline as unconfirmed.
Optional search archive
Keep 1–3 pages of real requests and saved responses in one directory and create manifest.json:
Save the Python script below as search_archive.py and run python3 search_archive.py manifest.json search-run-01. search_archive.py writes items.jsonl, coverage.json and copies of the original responses locally, and records each item’s page, position, request ID and collection time. search_archive.py stops instead of replacing an existing output directory.
Read the stop reason and the actual page count in coverage.json, then review items.jsonl. A card that appears twice stays as two observations. search_archive.py does not accept the data.results structure returned with raw:true, and an account card’s jumpInfo.userName does not map an article to an account.
Search prices are on the current pricing page; body and statistics retrieval are separate requests. To edit the shortlist, review the saved responses instead of searching again.

