WeChat Official Account article stats
WeChat Official Account article stats: inspect inputs, post fields, pagination and limits, then run a local simulated request.
Copy the agent prompt manually
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.
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.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | url | string | Required | The article's long link, with __biz, mid, idx and sn | — | "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" |
| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
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.
{
"capability": "wechat_mp.articles.metrics",
"method": "GET",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
}
}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.
| Field | Type | Meaning | Source scope |
|---|---|---|---|
| id | string | null | ID; pass it unchanged to the get endpoint | WeChat Official Accounts |
| url | string | null | Link that opens the post | WeChat Official Accounts |
| type | string | null | Content format | WeChat Official Accounts |
| title | string | null | Title | WeChat Official Accounts |
| text | string | null | Body text | WeChat Official Accounts |
| lang | string | null | Language of the text (standard view and up) | WeChat Official Accounts |
| published_at | string | null | When it was published | WeChat Official Accounts |
| author | object | null | Author | WeChat Official Accounts |
| author.id | string | null | Author's account ID | WeChat Official Accounts |
| author.username | string | null | Author's handle | WeChat Official Accounts |
| author.name | string | null | Author's display name | WeChat Official Accounts |
| author.avatar_url | string | null | Author's avatar (standard view and up) | WeChat Official Accounts |
| author.verified | boolean | null | Whether the author is verified (standard view and up) | WeChat Official Accounts |
| author.followers | integer | null | Author's follower count (standard view and up) | WeChat Official Accounts |
| metrics | object | null | Engagement counts | WeChat Official Accounts |
| metrics.likes | integer | null | Likes | WeChat Official Accounts |
| metrics.comments | integer | null | Comments | WeChat Official Accounts |
| metrics.shares | integer | null | Shares | WeChat Official Accounts |
| metrics.favorites | integer | null | Saves | WeChat Official Accounts |
| metrics.views | integer | null | Views | WeChat Official Accounts |
| metrics.reposts | integer | null | Reposts | WeChat Official Accounts |
| images | array | null | Image addresses (standard view and up) | WeChat Official Accounts |
| hashtags | array | null | Hashtags, without the # (standard view and up) | WeChat Official Accounts |
| mentions | array | null | Accounts mentioned in the text (standard view and up) | WeChat Official Accounts |
| mentions[].id | string | null | Account ID (standard view and up) | WeChat Official Accounts |
| mentions[].username | string | null | Handle (standard view and up) | WeChat Official Accounts |
| mentions[].name | string | null | Display name (standard view and up) | WeChat Official Accounts |
| is_pinned | boolean | null | Whether the author pinned it (standard view and up) | WeChat Official Accounts |
| post_id | string | null | ID of the thread's root post when this is a reply; otherwise null | WeChat Official Accounts |
| parent_id | string | null | ID of the item it replies to directly; otherwise null | WeChat Official Accounts |
| root_id | string | null | ID of the first-level reply its thread hangs under | WeChat Official Accounts |
| approximate | array | null | Which numbers of this item are approximate or lower bounds; absent when all are exact | WeChat Official Accounts |
| approximate[].field | string | null | Path of the field, such as metrics.views | WeChat Official Accounts |
| approximate[].kind | string | null | Approximate, or a lower bound | WeChat Official Accounts |
| ext | object | The platform's own fields (full view). | WeChat Official Accounts |
| ext.cover_url | string | null | Address of the cover image (full view) | WeChat Official Accounts |
| ext.ip_location | string | null | IP location as the platform shows it (full view) | WeChat Official Accounts |
| ext.recommends | integer | null | Recommends (formerly "wow") (full view) | WeChat Official Accounts |
| ext.position | integer | null | Its 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_type | string | null | The 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.digest | string | null | The digest its author wrote for the article; null where none was written (full view) | WeChat Official Accounts |
| ext.byline | string | null | The author the article is signed by (not the account); null where it is unsigned (full view) | WeChat Official Accounts |
| ext.source_url | string | null | The link of the article's "read the original" at its end; null where there is none (full view) | WeChat Official Accounts |
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.
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 ↗