Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

WeChat MP Account Basic Info

Documentación de la 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.

Precio
$0.142857USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
WeChat Official Account name used to fetch basic profile information.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
WeChat MP$0.142857 por llamadaJSON
WeChat MP$0.042857 por llamadaJSON
WeChat MP$0.028571 por llamadaJSON
WeChat MP$0.021429 por llamadaJSON
WeChat MP$0.021429 por llamadaJSON
WeChat MP$0.014286 por llamadaJSON

Guías:Best WeChat MP API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de WeChat MP Account Basic Info?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de WeChat MP Account Basic Info?

$0.142857 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de WeChat MP Account Basic Info?

Requeridos: name (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de WeChat MP Account Basic Info?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de WeChat MP?

No. WeChat MP Account Basic Info funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de WeChat MP por separado.