WeChat Official Accounts Search Miniprogram
Search for WeChat mini programs related to a brand, service, topic, or product. Provide the required keyword. Optional pagination inputs are currentPage (starting at 1), offset (0 for the first page), and cookies_buffer (empty for the first page). For later pages of the same search, advance the page number and reuse the offset and opaque pagination state from the previous response when provided. Returns a JSON response with status code, search payload in data, message, and recordTime metadata. The fields within data are not specified, so result details and pagination state depend on the actual response. Searches mini programs rather than official accounts or articles; it does not open or run them.
Pricing
| Condition | Charge |
|---|---|
| Each call | 139.7 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
offset | integer | No | 上一次响应返回的搜索结果偏移量。第一页使用0。 | 0 |
keyword | string | Yes | 微信小程序网页搜索的搜索关键词。 | — |
currentPage | integer | No | 微信网页搜索分页的当前页码,从1开始。 | 1 |
cookies_buffer | string | No | 由上一个微信网页搜索响应返回的不透明分页状态。第一页请留空。对于此 POST 接口,请以 application/x-www-form-urlencoded 表单体形式发送。 | "" |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_wechat_official_accounts_search_miniprogram' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"keyword": "xxx"
}
}'No response example available yet.


