DataNavoAPI / APIS / WECHAT

WeChat Official Account article stats

WeChat Official Account article stats: inspect inputs, post fields, pagination and limits, then run a local simulated request.

LOCAL SIMULATIONAll displayed records are fictional fixtures. Live APIs, payments and external email are disabled.中文版 ↗
01

What this capability does

WeChat Official Account article stats uses /v1/wechat_mp/articles/metrics; GET returns data.item with post objects.

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

  • Capability: wechat_mp.articles.metrics
  • Pagination: no cursor pagination; do not repeatedly request another page.
02

Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

  • Only send fields defined for this method; unknown fields are rejected before execution.
MethodFieldTypeRequirementMeaningEnum or boundExample
GETurlstringRequiredThe article's long link, with __biz, mid, idx and sn—"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
GETviewstringOptional / conditionalHow much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`).["compact","standard","full"]—
GETfieldsarrayOptional / conditionalReturn only these fields of each item, by path (`author.name`).maxItems: 64—
03

Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

json
{
  "capability": "wechat_mp.articles.metrics",
  "method": "GET",
  "params": {
    "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
  }
}
04

Output fields and interpretation

The post object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

FieldTypeMeaningSource scope
idstring | nullID; pass it unchanged to the get endpointWeChat Official Accounts
urlstring | nullLink that opens the postWeChat Official Accounts
typestring | nullContent formatWeChat Official Accounts
titlestring | nullTitleWeChat Official Accounts
textstring | nullBody textWeChat Official Accounts
langstring | nullLanguage of the text (standard view and up)WeChat Official Accounts
published_atstring | nullWhen it was publishedWeChat Official Accounts
authorobject | nullAuthorWeChat Official Accounts
author.idstring | nullAuthor's account IDWeChat Official Accounts
author.usernamestring | nullAuthor's handleWeChat Official Accounts
author.namestring | nullAuthor's display nameWeChat Official Accounts
author.avatar_urlstring | nullAuthor's avatar (standard view and up)WeChat Official Accounts
author.verifiedboolean | nullWhether the author is verified (standard view and up)WeChat Official Accounts
author.followersinteger | nullAuthor's follower count (standard view and up)WeChat Official Accounts
metricsobject | nullEngagement countsWeChat Official Accounts
metrics.likesinteger | nullLikesWeChat Official Accounts
metrics.commentsinteger | nullCommentsWeChat Official Accounts
metrics.sharesinteger | nullSharesWeChat Official Accounts
metrics.favoritesinteger | nullSavesWeChat Official Accounts
metrics.viewsinteger | nullViewsWeChat Official Accounts
metrics.repostsinteger | nullRepostsWeChat Official Accounts
imagesarray | nullImage addresses (standard view and up)WeChat Official Accounts
hashtagsarray | nullHashtags, without the # (standard view and up)WeChat Official Accounts
mentionsarray | nullAccounts mentioned in the text (standard view and up)WeChat Official Accounts
mentions[].idstring | nullAccount ID (standard view and up)WeChat Official Accounts
mentions[].usernamestring | nullHandle (standard view and up)WeChat Official Accounts
mentions[].namestring | nullDisplay name (standard view and up)WeChat Official Accounts
is_pinnedboolean | nullWhether the author pinned it (standard view and up)WeChat Official Accounts
post_idstring | nullID of the thread's root post when this is a reply; otherwise nullWeChat Official Accounts
parent_idstring | nullID of the item it replies to directly; otherwise nullWeChat Official Accounts
root_idstring | nullID of the first-level reply its thread hangs underWeChat Official Accounts
approximatearray | nullWhich numbers of this item are approximate or lower bounds; absent when all are exactWeChat Official Accounts
approximate[].fieldstring | nullPath of the field, such as metrics.viewsWeChat Official Accounts
approximate[].kindstring | nullApproximate, or a lower boundWeChat Official Accounts
extobjectThe platform's own fields (full view).WeChat Official Accounts
ext.cover_urlstring | nullAddress of the cover image (full view)WeChat Official Accounts
ext.ip_locationstring | nullIP location as the platform shows it (full view)WeChat Official Accounts
ext.recommendsinteger | nullRecommends (formerly "wow") (full view)WeChat Official Accounts
ext.positioninteger | nullIts place in the push it went out in: 1 is the lead article, 2 and on the ones below it (full view)WeChat Official Accounts
ext.content_typestring | nullThe account's own content format: article (text and pictures), video, audio, images (a picture post), text (words only) or repost (full view)WeChat Official Accounts
ext.digeststring | nullThe digest its author wrote for the article; null where none was written (full view)WeChat Official Accounts
ext.bylinestring | nullThe author the article is signed by (not the account); null where it is unsigned (full view)WeChat Official Accounts
ext.source_urlstring | nullThe link of the article's "read the original" at its end; null where there is none (full view)WeChat Official Accounts
05

Unavailable fields

These published contract notes describe the capability boundary; fixtures do not establish live availability.

FieldReason
urlcapability
typecapability
titlecapability
textcapability
langcapability
published_atcapability
authorcapability
metrics.repostsplatform
imagescapability
hashtagscapability
mentionscapability
is_pinnedcapability
post_idplatform
parent_idplatform
root_idplatform
06

Limits and checks

A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.

Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.

  • Verify media URLs, counts and optional fields individually.
TRY THE CONTRACT

Clear inputs. Inspectable output.

Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.

Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.

Download contract example (no execution) ↗

For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗