Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

WeChat MP Article Metrics

API-Dokumentation
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.

Preis
$0.021429USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional

Playground

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

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
WeChat MP$0.021429 pro AufrufJSON
WeChat MP$0.142857 pro AufrufJSON
WeChat MP$0.042857 pro AufrufJSON
WeChat MP$0.028571 pro AufrufJSON
WeChat MP$0.021429 pro AufrufJSON
WeChat MP$0.014286 pro AufrufJSON

Anleitungen:Best WeChat MP API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die WeChat MP Article Metrics API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/wechat-mp/article-metrics mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die WeChat MP Article Metrics API?

$0.021429 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die WeChat MP Article Metrics API?

Erforderlich: articleUrl (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die WeChat MP Article Metrics API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein WeChat MP-Entwicklerkonto oder einen API-Schlüssel?

Nein. WeChat MP Article Metrics läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für WeChat MP API beantragen.