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.

Open in ChatGPTOpen in Claude

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

Each with its price; every page has the parameters, the fields and a recorded response.

Sources

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

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free