SocialToAIStart freeConsole

What is a WeChat Official Account's gh_ ID, and how do I get it?

A `gh_` ID is a WeChat Official Account's original ID, such as `gh_13c97ab93ce8`. It is what you need to list an account's articles, because the name does not work. The easy way is to give any one article from the account to the detail call, 12 credits, and read `author.id`. If you have only the name, search for its articles first.

Three ways to get it

You haveDo thisIt costs
One article's linkRead the article; its author.id is the ID12 credits
Only the account's nameSearch its articles by the name, and take author.id from a result that is really from it12 credits
The account's own back officeIf it is your account: Settings, then the account's details, shows the original IDFree

What it is for

List the account's articles with its article list, 12 credits a page, or make a daily watch and a private RSS address.

One real request

cURL
curl https://api.socialtoai.com/v1/user_posts \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "platform": "wechat",    "id": "gh_13c97ab93ce8"  }'
A recorded answer (names and text removed)
{  "request_id": "req_00000000-0000-4000-8000-000000000001",  "schema_version": "v1",  "fetched_at": "2026-10-12T19:02:58.000Z",  "action": "user_posts",  "platform": "wechat",  "status": "ok",  "items": [    {      "platform": "wechat",      "id": "…",      "ref": "…",      "approx": [],      "type": "content",      "url": "https://example.com/…",      "format": "article",      "title": "…",      "text": null,      "published_at": "2026-10-12T13:35:48.000Z",      "author": {        "id": "…",        "username": null,        "name": null,        "verified": null,        "followers": null      },      "metrics": {        "likes": null,        "comments": null,        "shares": null,        "collects": null,        "views": null,        "reposts": null      },      "images": null,      "hashtags": null,      "is_pinned": null    }  ],  "unavailable": ["author.username", "author.name", "author.verified", "author.followers", "metrics.likes", "metrics.comments", "metrics.shares", "metrics.collects", "metrics.views", "metrics.reposts", "images", "hashtags", "is_pinned"],  "page": {    "has_more": true,    "cursor": "cur_…",    "cursor_expires_at": "2026-10-12T19:32:58.000Z"  },  "warnings": [],  "applied_params": {    "id": "gh_13c97ab93ce8"  },  "cost_credits": 12,  "billing": {    "cost_credits": 12,    "balance_credits": 88,    "today_spend_credits": 12,    "daily_limit_credits": null,    "daily_remaining_credits": null,    "display": "This call: 12 credits (≈ $0.04). Balance: 88 credits (≈ $0.29)."  },  "replayed": false}

FAQ

Is the gh_ ID the same as the WeChat ID on the account's page?

No. The WeChat ID is a handle its owner chooses, and some accounts have none. Every account has an original ID.

What is __biz in an article's link?

Another code for the account, which only appears in links. The article list here does not take it, so give the article to the detail call and read author.id.

Do I need a WeChat account?

No. It uses no account of yours, so it cannot affect your account.

Published: Last updated: