Social media5 min readBy Purrkey teamUpdated

How to fetch a WeChat Official Account profile by username

Fetch a WeChat Official Account profile by username and turn subscription counts and aggregate likes into a vetting table

On this page

You have 12 candidate WeChat Official Account usernames taken from article links and need a vetting table before a partner outreach review. Fetch each profile once with tikhub.wechat_mp.v2.fetch_account_profile and use the returned subscription count, original-article count and aggregate like and love totals to decide which accounts move to manual review

The worksheet is the deliverable: one row per username, a name field, two counts, two aggregate totals and a review decision. Values in the design table are placeholders showing the shape, not a batch result

Build the vetting worksheet

Keep the 12 usernames in the first column and fill the rest from one profile call per row. The contract fields for the table are baseInfo.nickNameWhenSubscribe, baseInfo.friendSubscribeCount, baseInfo.originalArticleCount, statInfo.totalLike and statInfo.totalLove; they appear under data in the observed response

usernamebaseInfo.nickNameWhenSubscribebaseInfo.friendSubscribeCountbaseInfo.originalArticleCountstatInfo.totalLikestatInfo.totalLoveReview decision
Example: gh_363b924965e9(text or empty)(integer)(integer)(integer)(integer)review or skip
12th candidate username(text or empty)(integer)(integer)(integer)(integer)review or skip

Example input: gh_363b924965e9. Replace it with your own candidate usernames. The worksheet needs 12 rows, so add the other 11 before the batch

Send one username to the tool

body.username is required. It can come from an article detail response, and the contract lists three supported forms: gh_..., gh_...@app for mini-program-linked accounts, and custom WeChat IDs such as nikejdi. The contract gives the field a maximum length of 80 characters

body.raw is optional and defaults to true. True returns the raw response; false returns the simplified parsed structure. Check the current input schema on the tool card before you run, since the field list in this guide is not a promise about the live form

Agents call it through POST /v1/runs with toolId tikhub.wechat_mp.v2.fetch_account_profile. The output is the supplier's raw JSON, preserved as is, with no fixed schema, so field names can vary by account. Read the field names from the first response page before you map the other rows. That is the limit to place next to this step: a field present on one account may be absent on another

Read the fields that drive review

Under data, the display name is baseInfo.nickNameWhenSubscribe. The subscription count is baseInfo.friendSubscribeCount, and the content count is baseInfo.originalArticleCount. The aggregate totals are statInfo.totalLike and statInfo.totalLove. Keep the field names in the header of the worksheet so the reviewer can see where each number came from

Use those numbers to sort the 12 rows before the partner outreach review. Set your own review rule from the returned counts and totals. An account with a missing field cannot be compared on that field; mark it for manual review or fetch it again if your process allows a second call

What one real call returned

One call was made on 2026-11-13. The input sent was {"body": {"username": "gh_363b924965e9", "raw": true}}. Billing status was SETTLED, with 0.01 USD charged against a ceiling of 0.01 USD

Top-level keys of data included gender, msgList, preLoad, setting, timeNow, audioTab, baseInfo, debug_id, funcFlag, liveInfo, nameCard, statInfo, brandInfo, ipwording, topicList, videoList, aiChatInfo, articleTab, debug_info, liveInfoV2, loveStatus, pictextTab, accountInfo, bindPoiInfo, hideMsgList, liveExtInfo, serviceInfo, baseResponse, recommendTab and shortMsgList. data.liveInfo was an array with 0 items. data.funcFlagWording was an array with 1 item; the first item had keys jumpUrl, wording, funcFlag and pbRequestMsgInfo

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch WeChat Official Account profiles for the 12 candidate usernames I provide. Check the current inputs and price of tikhub.wechat_mp.v2.fetch_account_profile before running anything. Call the tool once per username with body.username set to that username and body.raw set to true. Read the field names from the first response page before mapping the rest. Return a table with username, baseInfo.nickNameWhenSubscribe, baseInfo.friendSubscribeCount, baseInfo.originalArticleCount, statInfo.totalLike, statInfo.totalLove and a review decision. Leave a cell empty when the field is absent. Do not invent values.

Example input: gh_363b924965e9

Replace the example username with your candidate list before the batch

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges. The rule text is "Fixed per-call price; successful empty results are charged"

StepFormulaUnit pricePlanned quantityTotal
Single profile lookupcalls x max price$0.01 per call1$0.01
Vet 12 accountscalls x max price$0.01 per call12$0.12

Model fees for the agent are not counted

Open the tool page

Start with one profile at WeChat Official Account profile, then use the current price and input schema there for the 12-account batch

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with WeChat Official Accounts.
Explore WeChat Official Accounts tools and pricing

FAQ

How do I fetch a WeChat Official Account profile by username?

Call tikhub.wechat_mp.v2.fetch_account_profile with body.username set to the account username. The required field accepts gh_..., gh_...@app and custom WeChat IDs.

What username formats does the tool accept?

The three supported forms are gh_..., gh_...@app for mini-program-linked accounts, and custom WeChat IDs such as nikejdi. The username can come from $.data.content.user_name in an article detail response.

What does body.raw do?

It is optional and defaults to true. True returns the raw response; false returns the simplified parsed structure.

Which output fields should I use for vetting?

Under data, use baseInfo.nickNameWhenSubscribe, baseInfo.friendSubscribeCount, baseInfo.originalArticleCount, statInfo.totalLike and statInfo.totalLove in the worksheet. The observed response has a data object with baseInfo and statInfo.

How much does it cost to vet 12 accounts?

At $0.01 per call, 12 calls have a ceiling of $0.12, and a single profile lookup has a ceiling of $0.01. Successful empty results are charged, and agent model fees are not counted.

What did the real call on 2026-11-13 return?

The call sent gh_363b924965e9 with raw set to true, settled at $0.01 against a $0.01 ceiling, and returned a data object with top-level keys including baseInfo, statInfo and msgList. data.liveInfo was an array with 0 items, and data.funcFlagWording was an array with 1 item.

Can I use the example username without changing it?

The example input gh_363b924965e9 is the username used in the real call reported in this article. Replace it with your candidate usernames before the 12-account batch.

Next step

Try this with WeChat Official Accounts

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See WeChat Official Accounts tools

Share this article