获取公众号资料页/Get WeChat MP Account Profile
WeChat MPapi
About
获取公众号资料页/Get WeChat MP Account Profile
Documentation
获取公众号资料页/Get WeChat MP Account Profile
[中文]
用途:
- 传
gh_username,返回公众号资料页:名称 / 头像 / 简介 / 认证主体类型等。 - 部分账号(如示例号)字段稀疏,
nick_name/signature/head_url可能为null。 - 价格:0.01$/次
- ⏱️ 由于微信服务器原因,本接口响应较慢,请将客户端请求超时(timeout)设置为 30 秒;timeout 设置过小会造成已扣费但收不到响应的情况。
参数:
- username: 公众号
gh_username(gh_…)。来源:文章详情content.user_name、或微信搜索 V2fetch_search(business_type=account)结果的jumpInfo.userName。示例gh_363b924965e9 - raw: 可选,默认 True。True=原始;False=精简解析。
返回:
- 公众号资料页信息
响应结构与 JSON Path:
raw=false(精简解析,snake_case):
- 公众号 username(
gh_…):$.data.user_name - 昵称(可能为 null):
$.data.nick_name - 用户角色:
$.data.user_role - 服务类型(订阅号 / 服务号代码):
$.data.service_type - 签名 / 简介(可能为 null):
$.data.signature - 头像(可能为 null):
$.data.head_url - 封禁类型(0=正常):
$.data.ban_type
raw=true(原始,本接口默认):
data为完整原始响应(几十个顶层字段),精简版字段对应其中嵌套位置:- 基础信息块:
$.data.baseInfo(昵称 / 头像 / 简介等原始来源) - 账号信息:
$.data.accountInfo(含userName等) - 统计信息:
$.data.statInfo - 关联视频号:
$.data.videoFinderInfo - 服务信息(自定义菜单原始来源):
$.data.serviceInfo - 文章 Tab / 消息列表:
$.data.articleTab/$.data.msgList - IP 属地:
$.data.ipwording - 其余:
liveInfo/nameCard/gender/setting/funcFlag等
- 基础信息块:
[English]
Purpose:
- Pass a
gh_usernameto get the official account profile: name / avatar / description / verification entity type, etc. - Some accounts (like the example) have sparse fields;
nick_name/signature/head_urlmay benull. - Price: $0.01 per request
- ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.
Parameters:
- username: Official account
gh_username(gh_…). Sources:content.user_namefrom article detail, orjumpInfo.userNamefrom WeChat Search V2fetch_search(business_type=account) results. E.g.gh_363b924965e9 - raw: Optional, default True. True=raw; False=simplified parsing.
Return:
- Official account profile info
Response structure & JSON Path:
raw=false (simplified, snake_case):
- Account username (
gh_…):$.data.user_name - Nickname (may be null):
$.data.nick_name - User role:
$.data.user_role - Service type (subscription / service account code):
$.data.service_type - Signature / description (may be null):
$.data.signature - Avatar (may be null):
$.data.head_url - Ban type (0=normal):
$.data.ban_type
raw=true (raw, default for this endpoint):
datais the full raw response (dozens of top-level fields); simplified fields map to nested locations:- Base info block:
$.data.baseInfo(raw source of nickname / avatar / description) - Account info:
$.data.accountInfo(withuserNameetc.) - Stats info:
$.data.statInfo - Linked Channels account:
$.data.videoFinderInfo - Service info (raw source of custom menu):
$.data.serviceInfo - Article tab / message list:
$.data.articleTab/$.data.msgList - IP region:
$.data.ipwording - Others:
liveInfo/nameCard/gender/setting/funcFlagetc.
- Base info block:
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取公众号资料页/Get WeChat MP Account Profile
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
获取公众号文章列表/Get WeChat MP Account ArticlesWeChat MPapi获取公众号服务/自定义菜单/Get WeChat MP Account Services & Custom MenuWeChat MPapi获取公众号文章广告/Get WeChat MP Article AdsWeChat MPapi获取公众号文章评论/Get WeChat MP Article CommentsWeChat MPapi获取公众号文章详情/Get WeChat MP Article DetailWeChat MPapi获取公众号文章互动数据/Get WeChat MP Article StatsWeChat MPapi获取公众号评论的二级回复/Get WeChat MP Comment RepliesWeChat MPapi获取公众号关联文章/Get WeChat MP Related ArticlesWeChat MPapi