WeChat MP Comment Replies

https://api.sandbase.ai/v1/api/wechat-mp/v2/comment-replies

Returns second-level replies under a specific WeChat MP article comment using the article url and comment identifiers. Supports pagination offset and raw output formats.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 4 optional
Production route

Try the model

Playground

Open playground
Input
Optional (numeric). `content_id` of the target first-level comment, from `$.data.comments[N].content_id` of the `fetch_article_comments` response; **defaults to the first comment that has replies when omitted**. E.g. `12109128638545265979`
Optional, default 0 (>=0). Reply pagination offset; 0 for the first page, pass `next_offset` from the previous response when `has_more=true`. Ignored when `all_pages=true`. Minimum: 0.
Optional, default True. True=full raw reply objects; False=simplified replies.
WeChat MP article URL (`https://mp.weixin.qq.com/s/…`). E.g. `http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rd`
文章的评论 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
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

url
string · required
content_id
any · optional
offset
integer · optional
raw
boolean · optional
comment_id
any · optional

Access

Provider
WeChat MP
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/wechat-mp/v2/comment-replies
Authentication
Bearer API key

API README

WeChat MP Comment Replies API

Fetch second-level comment replies for a WeChat MP article by providing the article url. Specify content_id to target a specific comment thread.

Use cases

  • Retrieve nested reply threads under top-level article comments.
  • Paginate through reader responses on popular WeChat MP posts.
  • Speed up reply retrieval by supplying a pre-fetched comment_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<url>"}'

Parameters

NameTypeRequiredDescription
urlstringYesWeChat MP article URL (https://mp.weixin.qq.com/s/…).
rawbooleanNoOptional, default True.
offsetintegerNoOptional, default 0 (>=0).
comment_idstringNo文章的评论 id(可选,性能捷径):不传时上游要先抓并解析整篇文章 HTML 才能拿到它,约占本接口耗时的一半;已有该值时传进来可显著加快。取自 /fetch_article_detail 或 /fetch_article_detail_h5 响应的 $.data.content.comment_id/Artic…
content_idstringNoOptional (numeric).

Notes

  • Pass comment_id from article detail responses to avoid upstream HTML parsing and improve response latency.
  • Target a specific comment thread by passing content_id obtained from comment listing endpoints; defaults to the first comment with replies when omitted.
  • Page through replies by passing next_offset into offset when more results are available.

Related APIs

  • WeChat MP Account Articles: Get the published articles of a WeChat official account by its gh_ username: titles, links, covers and post dates, one page at a time, including video and audi…
  • WeChat MP Account Profile: Retrieves the profile details of an official WeChat account, including name, avatar, signature, and verification entity type using its official account ID.
  • WeChat MP Article Ads: Returns embedded ad slot information for a specified WeChat MP article URL.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/wechat-mp/v2/comment-replies
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the WeChat MP Comment Replies API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/v2/comment-replies with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the WeChat MP Comment Replies API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the WeChat MP Comment Replies API accept?

Required: url (string). Optional: content_id (any), offset (integer), raw (boolean) and comment_id (any). The Parameters table and the Playground on this page list every field.

What does the WeChat MP Comment Replies API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a WeChat MP developer account or API key?

No. WeChat MP Comment Replies runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for WeChat MP API access separately.