Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

WeChat MP Account Basic Info

Docs API
https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info

Get basic profile information for a WeChat Official Account by account name. Use it to identify or enrich a known account before article, ownership, or publishing research.

Prix
$0.142857USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
WeChat Official Account name used to fetch basic profile information.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

WeChat MP Account Basic Info API

Returns the basic public profile of a WeChat Official Account: its name, description, avatar, account type, WeChat ID and biz identifier. It needs one input, the account name in name.

Use cases

  • Confirm that an Official Account name maps to a real account and read its wxid before further research.
  • Collect the biz value of an account so you can match it against article links.
  • Fill in an account list with the avatar, description and account type for each name.
  • Check whether an account is a subscription account or another type before you plan article collection.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "人民日报"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
namestringYesWeChat Official Account name used to fetch basic profile information.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "avatar": "http://mmbiz.qpic.cn/mmbiz_png/xrFYciaHL08D1hiaVU0brP9YwQH1wFm9D9AG7oAVaNE8RzGia…",
    "biz": "MjM5MjAxNDM4MA==",
    "desc": "参与、沟通、记录时代。",
    "name": "人民日报",
    "type": "订阅号",
    "wxid": "rmrbwx"
  }
}

Response fields

FieldMeaning
data.nameThe display name of the Official Account.
data.wxidThe WeChat ID of the account, for example rmrbwx.
data.bizThe biz identifier of the account. The value looks like a Base64 string, for example MjM5MjAxNDM4MA==.
data.descThe account's profile description, as the account owner wrote it.
data.typeThe account type as a text label. The sample value 订阅号 means subscription account.
data.avatarURL of the account's avatar image.

Notes

Pricing

$0.142857 per successful call. Failed calls are not charged.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
WeChat MP$0.142857 par appelJSON
WeChat MP$0.042857 par appelJSON
WeChat MP$0.028571 par appelJSON
WeChat MP$0.021429 par appelJSON
WeChat MP$0.021429 par appelJSON
WeChat MP$0.014286 par appelJSON

Guides :Best WeChat MP API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API WeChat MP Account Basic Info ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API WeChat MP Account Basic Info ?

$0.142857 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API WeChat MP Account Basic Info accepte-t-elle ?

Obligatoire : name (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API WeChat MP Account Basic Info ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API WeChat MP ?

Non. WeChat MP Account Basic Info fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API WeChat MP séparément.