WeChat MP Article Stats

API docs
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats

Get the engagement metrics of a WeChat official account article from its URL: reads, likes, "wow" count, shares, favorites and comments.

Price
$0.01USD / call
Method
POST
Response
JSON
Parameters
1 required · 1 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
WeChat MP article URL (`https://mp.weixin.qq.com/s/…`). E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw`
Optional, default True. True=full raw stats object (with `show_*` visibility flags); False=simplified counts only.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

WeChat Article Stats API

Pass a WeChat MP article URL and get its interaction counts: reads, likes, wows, shares, favorites and comments.

Use cases

  • Measure the performance of articles you publish or sponsor.
  • Benchmark competitor content.
  • Track how an article spreads over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw", "raw": false}'

Parameters

NameTypeRequiredDescription
urlstringYesWeChat MP article URL (https://mp.weixin.qq.com/s/…).
rawbooleanNoOptional, default True.

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "collect_count": 34,
  "comment_count": 28,
  "like_count": 22,
  "old_like_count": 111,
  "read_num": 28522,
  "share_count": 978,
  "star_num": 0
}

Notes

  • Set raw to false for simplified counts.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
WeChat MP$0.01 per callJSON
WeChat MP$0.01 per callJSON
WeChat MP$0.01 per callJSON
WeChat MP$0.01 per callJSON
WeChat MP$0.01 per callJSON
WeChat MP$0.01 per callJSON

Questions

FAQ

How do I use the WeChat MP Article Stats API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats 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 Stats 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 Article Stats API accept?

Required: url (string). Optional: raw (boolean). The Parameters table and the Playground on this page list every field.

What does the WeChat MP Article Stats API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

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

No. WeChat MP Article Stats 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.