Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

WeChat MP Article Metrics

API दस्तावेज़
https://api.sandbase.ai/v1/api/wechat-mp/article-metrics

Get basic interaction metrics for a WeChat Official Account article URL that ends with #rd or #wechat_redirect. Use it to perform a lightweight popularity check for a known article.

मूल्य
$0.021429USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
WeChat Official Account article URL used to fetch basic interaction metrics such as reads and likes. It must end with #rd or #wechat_redirect.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

WeChat MP Article Metrics API

This API returns basic interaction counts for one WeChat Official Account article. It needs the article URL in articleUrl, and the URL must end with #rd or #wechat_redirect.

Use cases

  • Check how many reads a known article has reached.
  • Compare like counts across a short list of article URLs.
  • Add read and like numbers to a content report for a specific article.
  • Run a quick popularity check before you fetch the full article text.

Request

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

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

Parameters

NameTypeRequiredDescription
articleUrlstringYesWeChat Official Account article URL used to fetch basic interaction metrics such as reads and likes. It must end with #rd or #wechat_redirect.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "looking": 188,
    "read": 73413,
    "zan": 440
  }
}

Response fields

FieldMeaning
data.readNumber of reads for the article. The sample article shows 73413.
data.zanNumber of likes (zan) for the article. The sample article shows 440.
data.lookingCount of the article's looking (在看) reactions. The sample article shows 188.

Notes

Pricing

$0.021429 per successful call. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
WeChat MP$0.021429 प्रति कॉलJSON
WeChat MP$0.142857 प्रति कॉलJSON
WeChat MP$0.042857 प्रति कॉलJSON
WeChat MP$0.028571 प्रति कॉलJSON
WeChat MP$0.021429 प्रति कॉलJSON
WeChat MP$0.014286 प्रति कॉलJSON

गाइड्स:Best WeChat MP API in 2026: Pricing Compared

प्रश्न

FAQ

WeChat MP Article Metrics API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/wechat-mp/article-metrics पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

WeChat MP Article Metrics API की लागत कितनी है?

$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

WeChat MP Article Metrics API कौन-से parameters स्वीकार करती है?

आवश्यक: articleUrl (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

WeChat MP Article Metrics API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक WeChat MP developer account या API key चाहिए?

नहीं। WeChat MP Article Metrics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से WeChat MP API access के लिए आवेदन करने की आवश्यकता नहीं है।