# What do mid, idx and sn mean in a WeChat article link?

Beside the account's __biz, a WeChat Official Account article's long link carries mid, the send the article went out in, idx, its place in that send, and sn, a check string. A link is only whole with all four. OneFeedAPI reads WeChat Official Accounts with 8 endpoints, from $0.0200 a call; a failed call is not charged, and the free trial covers up to 333 calls.

## Each parameter

`idx`: one send can carry several articles, and `idx` is the article's place. WeChat's own documents count it from 1 in the message push (`Idx`, which article of a multi-article message) and from 0 in the comment interface (`index`), so check which one a tool means.

`mid`: as public open-source tools describe it, the number of the send. WeChat's own interfaces call a send `msg_data_id`; that the link's `mid` is the same number is not in WeChat's documents. One open-source exporter calls it `appmsgid`, and the place in the send `itemidx`.

`sn`: a check parameter. As public open-source tools describe it, a link needs `__biz`, `mid`, `idx` and `sn` together before they will read an article's counts. In the links OneFeedAPI has recorded, `sn` is 32 hexadecimal characters, and WeChat does not open an article without it.

## What OneFeedAPI takes

`wechat_mp.articles.metrics` takes only the long link with all four, `https://mp.weixin.qq.com/s?__biz=<Base64>&mid=<digits>&idx=2&sn=<32 hex characters>` (placeholders: here the second article of a send). `wechat_mp.articles.get` and `wechat_mp.articles.comments.list` also take the short `/s/` link.

A long link cut before `sn`, or with an `sn` that is not 32 hexadecimal characters, is refused before anything is sent or charged. `wechat_mp.accounts.articles.list` returns long links, so its links go into the counts endpoint as they are.

## Why OneFeedAPI

- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 3.5 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 8 endpoints on WeChat Official Accounts, one recorded real response each, the platform's own JSON comes to 21k tokens and what an AI reads through OneFeedAPI's MCP server to 4,494, 79% fewer; the JSON of a direct API call is 70% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.onefeedapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [WeChat Official Account article stats](https://onefeedapi.com/apis/wechat_mp/articles/metrics/) ($0.0200 / a call): Get the current counts of a WeChat Official Account article by its long link: reads, likes, recommends, shares, saves, comments.
- [WeChat Official Account article detail](https://onefeedapi.com/apis/wechat_mp/articles/get/) ($0.0200 / a call): Get one WeChat Official Account article by its link: title, text, time published, the account's name and IDs. It also says whether it was the lead article or one below, its format, cover, digest, byline, "read the original" link and the IP location it was posted from.
- [WeChat Official Account article comments](https://onefeedapi.com/apis/wechat_mp/articles/comments/list/) ($0.0200 / a call): Get a page of the featured comments on a WeChat Official Account article by its link: text, commenter, likes, reply count, time posted, IP location, whether it is pinned.
- [WeChat Official Account articles](https://onefeedapi.com/apis/wechat_mp/accounts/articles/list/) ($0.0200 / a call): Get a page of the articles a WeChat Official Account published, newest first: title, digest, link, time published. Each also says whether it was the lead article or one below, its format and cover. The page's articles tab by default; its videos or pictures tab when asked.

## How-to guides

- [How to get WeChat Official Account article reads and likes](https://onefeedapi.com/guides/wechat-article-reads-and-likes/)

## Sources

What this page says of other services is from their own pages and documents, read on 2026-10-29.

- [WeChat developer documents: receiving messages (Idx)](https://developers.weixin.qq.com/doc/subscription/guide/product/message/Receiving_standard_messages.html)
- [WeChat developer documents: listing comments (index)](https://developers.weixin.qq.com/doc/subscription/api/leaving/api_listcomment.md)
- wechat-article-exporter (open-source project): article fields
- wechat_articles_spider (open-source project): link check

## More about WeChat Official Accounts

- [WeChat Official Accounts API](https://onefeedapi.com/apis/wechat_mp/)
- [Is there an API for WeChat Official Account articles?](https://onefeedapi.com/answers/is-there-an-api-for-wechat-official-account-articles/)
- [How do I get WeChat Channels data?](https://onefeedapi.com/answers/how-to-get-wechat-channels-data/)
- [What is __biz in a WeChat article link?](https://onefeedapi.com/answers/wechat-official-account-biz/)
- [What is a WeChat Official Account's original ID (gh_)?](https://onefeedapi.com/answers/wechat-official-account-original-id/)
- [What is a WeChat Channels account ID (…@finder), and what is an export ID?](https://onefeedapi.com/answers/wechat-channels-finder-id/)
- [WeChat returns ret=200013 freq control when listing an account's articles: what now? (2026)](https://onefeedapi.com/answers/wechat-ret-200013-freq-control/)
- [wechat-article-exporter has stopped: what else exports WeChat articles in bulk? (2026)](https://onefeedapi.com/answers/wechat-article-exporter-alternative/)
- [wewe-rss has stopped working: what now? (2026)](https://onefeedapi.com/answers/wewe-rss-not-working/)
- [How to list a WeChat Official Account's past articles](https://onefeedapi.com/guides/wechat-official-account-articles/)
- [How to get WeChat Channels video comments](https://onefeedapi.com/guides/wechat-channels-video-comments/)
- [How to list a WeChat Channels account's videos](https://onefeedapi.com/guides/wechat-channels-user-videos/)
- [How to get WeChat Search results by keyword](https://onefeedapi.com/guides/wechat-search-posts/)
- [WeChat Official Account articles API in Python: history and reads (third-party, 2026)](https://onefeedapi.com/guides/wechat-official-account-api-python/)
- [WeChat Channels API in Python: account videos and comments (2026)](https://onefeedapi.com/guides/wechat-channels-api-python/)
- [WeChat Official Account data APIs: how to choose (2026)](https://onefeedapi.com/compare/wechat-official-account-data-apis/)
- [RedFox alternative for Chinese social media data](https://onefeedapi.com/compare/redfox-alternative/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/wechat-article-link-mid-idx-sn/)
