Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

WeChat MP Article Stats

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

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
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.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON

Przewodniki:Best WeChat MP API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API WeChat MP Article Stats?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/wechat-mp/v2/article-stats z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API WeChat MP Article Stats?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API WeChat MP Article Stats?

Wymagane: url (string). Opcjonalne: raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API WeChat MP Article Stats?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego WeChat MP lub klucza API?

Nie. WeChat MP Article Stats działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API WeChat MP.