Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

WeChat MP Account Basic Info

Documentazione 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.

Prezzo
$0.142857USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
WeChat Official Account name used to fetch basic profile information.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README 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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
WeChat MP$0.142857 per chiamataJSON
WeChat MP$0.042857 per chiamataJSON
WeChat MP$0.028571 per chiamataJSON
WeChat MP$0.021429 per chiamataJSON
WeChat MP$0.021429 per chiamataJSON
WeChat MP$0.014286 per chiamataJSON

Guide:Best WeChat MP API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API WeChat MP Account Basic Info?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API WeChat MP Account Basic Info?

$0.142857 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API WeChat MP Account Basic Info?

Richiesti: name (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API WeChat MP Account Basic Info?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API WeChat MP?

No. WeChat MP Account Basic Info funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API WeChat MP.