WeChatAPI Labs

WeChat API overview: Official Accounts, Mini Programs, Pay, Open Platform and WeCom

The five official WeChat API families on one page: who can apply, what each does and doesn't do, and what overseas companies need to know.

Updated: 2026-11-26

Short answer: In this WeChat API overview: "WeChat API" isn't one API. Tencent offers five official API families by account type: Official Accounts, Mini Programs, WeChat Pay, Open Platform and WeCom. Personal WeChat accounts have no official API.

The five official APIs and personal accounts

PlatformWho can applyMain APIsCan't doOfficial docs
Official Account (Service / Subscription)Companies or individuals; advanced APIs need a verified Service AccountCustom menus, template messages, web OAuth, customer service messages, JS-SDKLimited proactive messaging; no personal accountsdevelopers.weixin.qq.com/doc/offiaccount
Mini ProgramCompanies or individualswx.login and code2session, phone number, subscription messages, QR codesSubscription messages need per-message user consentdevelopers.weixin.qq.com/miniprogram
WeChat PayMerchant account for companies; cross-border options for overseas merchantsJSAPI, Native, H5 and in-app payments, refunds, statementsMerchant review requiredpay.weixin.qq.com
Open PlatformCompanies with developer verificationWebsite QR login, in-app WeChat login, UnionIDLogin and sharing only, no messagingopen.weixin.qq.com
WeCom (WeChat Work)CompaniesDirectory, app messages, customer contact, group bot webhook, Conversation ArchiveExternal group bots are push-only; archive is paid and needs consentdeveloper.work.weixin.qq.com
Personal WeChatNot offeredNo official APIOnly via third-party protocols or hosting—

Which one do you need?

  • Serve users and send notifications inside WeChat: an Official Account (Service Account) or a Mini Program.
  • Take payments: WeChat Pay, using JSAPI on web and Mini Program payments in Mini Programs.
  • Let users sign in with WeChat on your site or app: Open Platform.
  • Manage staff, reach customers or push alerts to internal groups: WeCom. The simplest alert channel is the group bot webhook.
  • Automate a personal WeChat account or manage WeChat groups: there's no official option; see Is there a personal WeChat API?

The common foundation: access_token

Official Account, Mini Program and WeCom server APIs all start by exchanging AppID and AppSecret (corpid and secret in WeCom) for an access_token valid for 7,200 seconds. Common pitfalls:

  • Fetching a new token on every call hits rate limits. Cache it server-side and refresh before expiry.
  • Several servers refreshing independently invalidates older tokens and returns 40001. Refresh from one central service.
  • Server IPs missing from the Official Account IP whitelist return 40164.

Can overseas companies use the WeChat API?

Official Accounts and Mini Programs accept some overseas entities, with a different process and documents; WeChat Pay has cross-border payment programs for overseas merchants; WeCom requires company verification. Requirements change often, so check Tencent's latest guidance. The docs are mostly in Chinese, and field names in the English docs don't always match, so keep the Chinese docs open alongside.

FAQ

Is the WeChat API free?

The Official Account, Mini Program, Open Platform and WeCom APIs are free to call, but verification carries an annual fee; WeChat Pay charges a transaction rate; some WeCom features such as Conversation Archive are paid.

Do personal WeChat accounts have an official API?

No. Tencent offers no official API for personal WeChat accounts.

Do I need a Chinese business license?

It depends on the product. Some products accept overseas entities; others, such as domestic WeChat Pay merchant accounts, require a Chinese entity.

Official APIs can't do what you need? See the personal WeChat and WeCom API.

Related: WeCom webhook bot: how to send group messages · Is there a personal WeChat API? Limits and options