# WeChat Official Accounts MP article comments

Get WeChat MP article comments (single page, buffer cursor pagination); returns one page of featured comments. Needs url. Served by TikHub.

Purpose:
- Get WeChat MP article comments (single page, `buffer` cursor pagination); returns one page of featured comments.
- **Pagination**: leave `buffer` empty for the first page → take `buffer` from the response → pass it back in the next request; `has_more` false means the last page.
- For second-level replies of a specific comment, use `fetch_comment_replies` (pass the comment's `content_id`).
- ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.
- ⚠️ Large-integer ID precision: IDs such as `content_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.
Parameters:
- url: WeChat MP article URL (`https://mp.weixin.qq.com/s/…`). E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw`
- buffer: Optional, default empty. Pagination cursor; leave empty for the first page, pass `buffer` from the previous response for the next page.
- raw: Optional, default True. True=full raw comment objects; False=simplified comment view.
Return:
- One page of comments with pagination cursor

Response structure & JSON Path:
`raw=false` (simplified view):
- `data` outer level is the page summary; `comments[]` are simplified comments:


- Tool ID: `tikhub/wechat-mp-v2-fetch-article-comments`
- Name in the catalog: Wechat_mp, Get WeChat MP Article Comments
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [WeChat comments](/tools/wechat/comments.md)
- Price: $0.01 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.01
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.01; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "pattern": "^https?://mp\\.weixin\\.qq\\.com/s([/?].+)?$",
      "title": "Url",
      "description": "公众号文章链接（https://mp.weixin.qq.com/s/…）/WeChat MP article URL (https://mp.weixin.qq.com/s/…)"
    },
    "buffer": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 8192
        },
        {
          "type": "null"
        }
      ],
      "title": "Buffer",
      "description": "翻页游标，首页留空；翻页传上一页响应的 buffer/Pagination cursor, leave empty for first page; pass buffer from the previous response",
      "default": ""
    },
    "comment_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "pattern": "^[0-9]*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Comment Id",
      "description": "文章的评论 id（可选，**性能捷径**）：不传时上游要先抓并解析整篇文章 HTML 才能拿到它，约占本接口耗时的一半；已有该值时传进来可显著加快。取自 /fetch_article_detail 或 /fetch_article_detail_h5 响应的 `$.data.content.comment_id`/Article comment id (optional, performance shortcut): when omitted, upstream must fetch and parse the whole article HTML to obtain it, which accounts for about half of this endpoint's latency"
    },
    "raw": {
      "type": "boolean",
      "title": "Raw",
      "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
      "default": true
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/wechat-mp-v2-fetch-article-comments",
  "input": {
    "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw",
    "buffer": "",
    "raw": true
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/WeChat-Media-Platform-V2-API/fetch_article_comments_api_v1_wechat_mp_v2_fetch_article_comments_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/wechat-mp-v2-fetch-article-comments) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/wechat-mp-v2-fetch-article-comments) · [Agent index](/llms.txt)
