WeChat MP Article Stats (H5)

Docs ↗
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats-h5

Get WeChat MP Article Stats (H5) on WeChat MP. Returns the platform data as structured JSON.

Price
$0.01USD / call
Method
POST
Response
JSON
Parameters
1 required · 2 optional

Playground

Input
/mp.weixin.qq.com/s/WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz)
True=raw response; False=simplified parsed structure
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.

API README

WeChat MP Article Stats (H5) API

Get WeChat MP Article Stats (H5) on WeChat MP. Returns the platform data as structured JSON.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYes/mp.weixin.qq.com/s/WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz)
comment_idstringNoArticle 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
rawbooleanNoTrue=raw response; False=simplified parsed structure

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 (H5) API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats-h5 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 (H5) API cost?

$0.01 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 Stats (H5) API accept?

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

What does the WeChat MP Article Stats (H5) 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 Stats (H5) 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.