How to fetch WeChat Official Accounts comment replies
Get a page of replies under a WeChat Official Accounts article comment, including author, text, likes, and paging metadata
On this page
You have one public WeChat Official Accounts article URL and need two reply pages from its first comment thread to see which reader objections recur. The deliverable is a worksheet with reply text, likes and elected status, plus a topic column you fill after reading the thread. The table below is a design. Values here are placeholders showing the shape
| nick_name | content | reply_like_num | create_time | reply_is_elected | topic |
|---|---|---|---|---|---|
| Placeholder author | Placeholder reply text | 0 | 0 | 0 | Placeholder topic |
The reader-added topic column is where you tag a recurring objection or a missing explanation
The worksheet and the input
The tool is tikhub.wechat_mp.v2.fetch_comment_replies. Its request body needs a public article URL in url. The contract pattern starts with https://mp.weixin.qq.com/s/ or the http form. Example input, to be replaced with your own public article URL: http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rd
The contract lists these body fields. The prompt tells the agent to check the current inputs before running
| Field | Required | Contract notes |
|---|---|---|
url | yes | Public WeChat MP article URL matching the pattern in the contract |
content_id | no | Numeric string for the target first-level comment; omit to default to the first comment that has replies |
comment_id | no | Numeric string from article detail; performance shortcut |
offset | no | Defaults to 0; pass next_offset from the previous response for later pages |
raw | no | Defaults to true |
At the reply-fetch step, omitting comment_id makes upstream fetch and parse the whole article HTML to obtain it, which accounts for about half of this endpoint's latency per the contract. If you already have comment_id from article detail, pass it to reduce that wait
Reading the reply fields
The output is the supplier's raw JSON with no fixed schema. Read the field names from the first page before you map the worksheet
Each item in data.replies carries nick_name, content, reply_like_num, create_time and reply_is_elected, along with other keys seen on the run. Use nick_name as the author, content as the text, reply_like_num as the like count, create_time as the timestamp and reply_is_elected as the elected flag
Paging lives outside the reply items. data.has_more says whether another page exists, data.next_offset is the offset to send, data.reply_total is the parent comment's reply total and data.offset echoes the requested offset. data.parent_nick names the parent comment and data.content_id is the numeric comment id used by the target first-level comment
For the decision, read reply_like_num as the like count, content for the objection and reply_is_elected as the elected flag. Fill the topic column with a short label when the same objection appears across the two pages
What one real call returned
On 2026-11-13, one call sent this body: {"body": {"url": "http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rd"}}. Billing status was SETTLED, charged 0.01 USD against a ceiling of 0.01 USD
The response had data.count = 10, data.offset = 0, and data.replies as an array with 10 items. data.has_more = true, data.next_offset = 10, data.reply_total = 14, data.content_id = "12109128638545265979", data.parent_nick = "静思" and data.debug_id = "f59f6711"
Top-level keys of data were count, offset, replies, debug_id, has_more, content_id, debug_info, next_offset, parent_nick, reply_total. The first reply item keys were openid, content, from_ai, is_from, logo_url, reply_id, can_share, is_reward, nick_name, multi_info, create_time, rich_content, identity_name, identity_type, is_from_friend, reply_like_num, reply_is_elected, reply_like_status, to_reply_del_flag, author_like_status, bizattr_servicetype, reply_dislike_status
The agent prompt
The prompt uses the example URL. Replace it with your public article URL before running
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch two reply pages from the first comment thread on the WeChat Official Accounts article URL below. Check the current inputs and price of tikhub.wechat_mp.v2.fetch_comment_replies before running anything.
Example URL: http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rd
Call the tool with url and offset 0. Read the field names from the first page. If has_more is true and you still need a second page, call again with offset set to next_offset. Do not guess content_id or comment_id. Return a table with nick_name, content, reply_like_num, create_time, reply_is_elected and topic. Leave topic empty for me to fill. Do not summarize individual replies as findings.The first call uses offset 0. A second call uses next_offset when has_more is true. The prompt asks for field names from the first page before mapping the table
Estimated tool cost
Prices come from the Purrkey price block read on November 13, 2026. The unit is a call at $0.01 per call, and the listing uses max_call for the ceiling: "Maximum per call. Successful runs settle at the actual AnyAPI charge." Agents call it through POST /v1/runs with toolId tikhub.wechat_mp.v2.fetch_comment_replies. The price rule says: "Fixed per-call price; successful empty results are charged." The totals below are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| First reply page | calls x max price | $0.01 per call | 1 | $0.01 |
| First page plus one next_offset page | calls x max price | $0.01 per call | 2 | $0.02 |
Model fees for the agent are not counted. A first page plus one next_offset page is two calls at most $0.02. An empty successful response is still charged
Next action
Open the tool page to run the first reply page
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with WeChat Official Accounts.FAQ
How do I fetch replies under a WeChat Official Accounts article comment?
Send the public article URL to tikhub.wechat_mp.v2.fetch_comment_replies. The tool defaults to the first comment that has replies unless you pass a numeric content_id.
What inputs does tikhub.wechat_mp.v2.fetch_comment_replies take?
The body takes a required url plus optional content_id, comment_id, offset and raw fields. content_id and comment_id are numeric strings, offset defaults to 0 and raw defaults to true.
What does the response contain?
The response is supplier JSON, and the observed shape includes data.count, data.offset, data.replies, data.has_more, data.next_offset, data.reply_total, data.content_id and data.parent_nick.
How do I get the second page of comment replies?
Read data.has_more. When it is true, send the next request with offset set to the previous response's data.next_offset.
How much does it cost to fetch two reply pages?
At the fixed $0.01 per call, the first reply page is at most $0.01 for 1 call and the first page plus one next_offset page is at most $0.02 for 2 calls.
Why pass comment_id?
The contract says omitting comment_id makes upstream fetch and parse the whole article HTML to obtain it, which accounts for about half of this endpoint's latency. If you already have the value from article detail, pass it.
Are empty reply results charged?
Yes. The price rule says the price is fixed per call and successful empty results are charged.
Next step
Try this with WeChat Official Accounts
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.