Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

WeChat MP Account Basic Info

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

Harga
$0.142857USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

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

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
WeChat MP$0.142857 per panggilanJSON
WeChat MP$0.042857 per panggilanJSON
WeChat MP$0.028571 per panggilanJSON
WeChat MP$0.021429 per panggilanJSON
WeChat MP$0.021429 per panggilanJSON
WeChat MP$0.014286 per panggilanJSON

Panduan:Best WeChat MP API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API WeChat MP Account Basic Info?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/wechat-mp/account-basic-info dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API WeChat MP Account Basic Info?

$0.142857 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API WeChat MP Account Basic Info?

Wajib: name (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API WeChat MP Account Basic Info?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API WeChat MP?

Tidak. WeChat MP Account Basic Info berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API WeChat MP secara terpisah.