Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

WeChat MP Account Basic Info

Docs da 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.

Preço
$0.142857USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
WeChat Official Account name used to fetch basic profile information.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

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

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
WeChat MP$0.142857 por chamadaJSON
WeChat MP$0.042857 por chamadaJSON
WeChat MP$0.028571 por chamadaJSON
WeChat MP$0.021429 por chamadaJSON
WeChat MP$0.021429 por chamadaJSON
WeChat MP$0.014286 por chamadaJSON

Guias:Best WeChat MP API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API WeChat MP Account Basic Info?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API WeChat MP Account Basic Info?

$0.142857 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API WeChat MP Account Basic Info aceita?

Obrigatórios: name (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API WeChat MP Account Basic Info retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor WeChat MP ou de uma chave de API?

Não. WeChat MP Account Basic Info funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do WeChat MP separadamente.