PeumeAPI

Social media data · WeChat

Get WeChat MP Article Stats (H5)

Get WeChat MP Article Stats (H5)

$0.015 per call

Call it

curl https://api.peume.com/v1/call/get-wechat-mp-article-stats-h5 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "raw": true,
    "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-wechat-mp-article-stats-h5.

Parameters

rawboolean

True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure

Example: true

comment_idstring

文章的评论 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

urlRequiredstring

公众号文章链接( 或带 __biz 的长链)/WeChat MP article URL ( or long URL with __biz)

Example: https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.