How do I find a WeChat Official Account's original ID (gh_...)?
Open any article from the account in a desktop browser, view the page source and search for user_name: the article HTML carries a line like var user_name = "gh_xxxxxxxxxxxx";, which is the account's original ID. The same page has var biz, the account's __biz. With the gh_ ID (or the account's WeChat ID, such as rmrbwx) XTikAPI's wechat_mp.posts.list returns the account's articles, $0.02 a page.
Updated 2026-11-24
Three ways to get it
Article source
What you do: Open an article URL (mp.weixin.qq.com/s/...), view source, find var user_name = "gh_..."
Notes: Ignore other gh_ IDs inside biz_info blocks: those belong to cards embedded in the article
Account profile in WeChat
What you do: Profile → ··· → account details
Notes: Shows the WeChat ID when the account set one; it also works as id
Tools that search by name
What you do: we-mp-rss and similar self-hosted tools look the account up after you log in to your own Official Account
Notes: In we-mp-rss issue 6 (June 2025) users found search only worked after scanning to authorize; one release had a search bug fixed a day later
We checked the first way on a live article in November 2026: the page source had var user_name = "gh_..." next to var biz and the account nickname.
Then pull the articles
wechat_mp.posts.listwithid= the gh_ ID or WeChat ID; passcursorfor older pages (about 10 pushes a page).wechat_mp.posts.detailwithurlfor full text.wechat_mp.posts.metricswithurlfor reads and likes.
No QR login on your side and no public account of your own needed. Cost: 20 accounts checked daily = 600 calls a month × $0.02 = $12.
Why XTikAPI
- XTikAPI reads WeChat Official Accounts with 7 endpoints from $0.02 a call, and a failed call is not charged.
- Fewer tokens for AI: across 4 recorded live WeChat Official Accounts calls (2026-11-18), raw platform JSON is ~64k tokens vs ~2k via XTikAPI REST (96.4% fewer) and ~2k via MCP (96.3% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (5 of 7 for WeChat Official Accounts).
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
- WeChat Official Accounts article list API$0.02 a callArticles published by one WeChat Official Account.
- WeChat Official Accounts article details API$0.02 a callOne WeChat Official Account article by link.
- WeChat Official Accounts article read count API$0.02 a callRead count, likes, shares, comments and saves of a WeChat Official Account article.
- WeChat Official Accounts account details API$0.02 a callA WeChat Official Account profile.
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-24.
More about WeChat Official Accounts
Questions
Is the gh_ ID the same as __biz?
No. __biz is a base64 string (`var biz` in the article source); gh_ is the original ID (`var user_name`). Both identify the account.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free