# WeChat MP Article Comments API

> Get top-level comments for a WeChat Official Account article by URL, with an optional buffer cursor for pagination. Use it to review reader discussion or continue through comment pages for a known article.

Source: https://www.sandbase.ai/model/wechat-mp/article-comment
API reference: https://www.sandbase.ai/model/wechat-mp/article-comment/docs

## Facts

- Provider: WeChat MP
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/wechat-mp/article-comment`
- Price: $0.04 per call
- Capabilities: api, wechat mp, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/wechat-mp/article-comment` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `articleUrl` | string | yes |  |
| `buffer` | string | no |  |

## FAQ

### How do I use the WeChat MP Article Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/article-comment 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 Article Comments API cost?

$0.04 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the WeChat MP Article Comments API accept?

Required: articleUrl (string). Optional: buffer (string). The Parameters table and the Playground on this page list every field.

### What does the WeChat MP Article Comments 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 Article Comments 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.

## README

### WeChat MP Article Comments API

Get top-level comments for a WeChat Official Account article by URL, with an optional buffer cursor for pagination. Use it to review reader discussion or continue through comment pages for a known article.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "wechat-mp/article-comment", "articleUrl": "http://mp.weixin.qq.com/s?__biz=MjM5NzI3NDg4MA==&mid=2659064933&idx=1&sn=c536f78d7358bc2dfe90cde700e21d55&chksm=bc881cb3f28a27f35e0711803b28d8110305cfc1b8beb651674e1aa7870ddf963c658f4dc19a&scene=7#rd"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `articleUrl` | string | Yes | WeChat Official Account article URL used to fetch top-level article comments. |
| `buffer` | string | No | Comment pagination buffer returned by the previous response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
