Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

WeChat MP Article Metrics

Documentazione 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.

Prezzo
$0.021429USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

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

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
WeChat MP$0.021429 per chiamataJSON
WeChat MP$0.142857 per chiamataJSON
WeChat MP$0.042857 per chiamataJSON
WeChat MP$0.028571 per chiamataJSON
WeChat MP$0.021429 per chiamataJSON
WeChat MP$0.014286 per chiamataJSON

Guide:Best WeChat MP API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API WeChat MP Article Metrics?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/wechat-mp/article-metrics con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API WeChat MP Article Metrics?

$0.021429 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API WeChat MP Article Metrics?

Richiesti: articleUrl (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API WeChat MP Article Metrics?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API WeChat MP?

No. WeChat MP Article Metrics funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API WeChat MP.