WeChat Get Related Articles
Retrieve the related articles displayed at the bottom of a WeChat Official Account article. Inputs: - request_body (required): Object containing the article URL and optional response format. - request_body.url (required): A WeChat article link on mp.weixin.qq.com, such as https://mp.weixin.qq.com/s/..., or a long /s?... link with __biz. Maximum length: 2048 characters. - request_body.raw (optional, default true): true returns the original response; false returns a simplified result. Results: - With raw=false, data.articles is the related article list, data.count is the number of articles, and data.ret is the return code (0 means success). - With raw=true, data.list is the original related article list, data.article_size is the number of articles, and data.base_resp.ret is the return code. Additional original-response metadata may also be present. - Articles without the related-articles feature return an empty list. This is not a general article search or an article-body retrieval tool. Responses may be slow. Set your client request timeout to 30 seconds.
Pricing
| Condition | Charge |
|---|---|
| Each call | 20.65 credits/call |
20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 用于获取指定微信公众号文章底部关联文章的请求体对象。url 为必填的公众号文章链接;raw 为可选的返回格式开关,默认 true:true 返回完整原始响应,false 返回精简结果。/ Request body object for retrieving the related articles displayed beneath a specified WeChat Official Account article. url is the required article URL; raw optionally selects the response format and defaults to true: true returns the full raw response, while false returns a simplified result. | — |
request_body.raw | boolean | No | True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure | true |
request_body.url | string | Yes | 公众号文章链接(https://mp.weixin.qq.com/s/… 或带 __biz 的长链)/WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz) | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-KeyNo response example available yet.


