WeChat Official Accounts Search Articles By Category

139.7 credits/call
ae_wechat_official_accounts_search_articles_by_category

Search WeChat Official Account articles by keyword, optionally filtering by all results (ALL, default), followed accounts (FOLLOWED), latest (LATEST), recently read (RECENT_READ), or popular (HOT). Only keyword is required. For the first page, use currentPage=1, offset=0, and an empty cookies_buffer. To continue, advance the page number and reuse the offset and opaque pagination state returned by the previous search. The response includes search data in data, a code and message describing the outcome, and recordTime. The detailed structure of data is not specified, so article fields and pagination details depend on the actual response; full article text is not guaranteed.

Social
139.7 credits/call

Pricing

139.7 credits/call
ConditionCharge
Each call139.7 credits/call

The fixed fee per call is 139.7 credits.

The initial search and subsequent pagination requests are each billed per call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
offsetintegerNo上一次响应返回的搜索结果偏移量。第一页使用0。0
keywordstringYes分类微信公众号文章网页搜索的搜索关键词。—
currentPageintegerNo微信网页搜索分页的当前页码,从1开始。1
subSearchTypeenum (ALL | FOLLOWED | LATEST | RECENT_READ | HOT)No分类微信公众号文章网页搜索的子类别筛选。 可选值: - `ALL`: 全部 - `FOLLOWED`: 已关注 - `LATEST`: 最新 - `RECENT_READ`: 最近阅读 - `HOT`: 热门ALL
cookies_bufferstringNo由上一个微信网页搜索响应返回的不透明分页状态。第一页请留空。对于此 POST 接口,请以 application/x-www-form-urlencoded 表单体形式发送。""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_wechat_official_accounts_search_articles_by_category' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "cookies_buffer": "",
    "currentPage": 1,
    "keyword": "INMO",
    "offset": 0,
    "subSearchType": "LATEST"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 0,
  "data": {
    "data": [
      {
        "boxID": "0x2-0-14067865698950507868",
        "boxPos": 1,
        "boxPosMerge": 1,
        "count": 33,
        "items": [
          {
            "date": 1793953057,
            "desc": "<em class=\"highlight\">INMO影目</em>首家官方自营旗舰店落地完成门店整体以暗调高级质感为基底流动的弧形曲面墙体勾勒空间轮廓弱化硬朗边界营造充满未来感的氛围从一块玻璃、一面曲面墙",
            "docID": "14067865698950507868",
            "docType": 0,
            "doc_url": "http://mp.weixin.qq.com/s?__biz=MzI5OTkzNTE2NQ==&mid=2247488076&idx=1&sn=57a18c8770c50cf8d7b43adf51c0e7cf&chksm=eda7b72f50b238bbbdc68e3172848174555a81f1ebeec742b81b93d4e404e613f7230b3ce44b&scene=7#rd",
            "itemShowType": 0
          }
        ]
      }
    ]
  }
}

This example shows part of the response. Copied content is valid JSON.