WeChat Mini Programs Client API

Client-side JavaScript API exposed inside the WeChat runtime to Mini Programs and Mini Games. Covers network (wx.request, wx.downloadFile, wx.uploadFile), storage, UI / navigation, media (audio, video, camera, image), location, device (Bluetooth, NFC, Wi-Fi, sensors), file system, canvas, payment invocation (wx.requestPayment), login (wx.login), and the WeChat-provided UI components. Apps are built with WXML / WXSS / JS and packaged via the WeChat Developer Tools.

WeChat Mini Programs Client API is one of 13 APIs that WeChat publishes on the APIs.io network.

Tagged areas include Mini Programs, Mini Games, Client SDK, JavaScript, and Devices. The published artifact set on APIs.io includes an API reference, API documentation, and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: wechat:wechat-mini-programs-client-api
name: WeChat Mini Programs Client API
description: Client-side JavaScript API exposed inside the WeChat runtime to Mini Programs and Mini Games.
  Covers network (wx.request, wx.downloadFile, wx.uploadFile), storage, UI / navigation, media (audio,
  video, camera, image), location, device (Bluetooth, NFC, Wi-Fi, sensors), file system, canvas, payment
  invocation (wx.requestPayment), login (wx.login), and the WeChat-provided UI components. Apps are built
  with WXML / WXSS / JS and packaged via the WeChat Developer Tools.
humanURL: https://developers.weixin.qq.com/miniprogram/en/dev/api/
tags:
- Mini Programs
- Mini Games
- Client SDK
- JavaScript
- Devices
properties:
- url: https://developers.weixin.qq.com/miniprogram/en/dev/api/
  type: APIReference
- url: https://developers.weixin.qq.com/miniprogram/en/dev/framework/
  type: Documentation
- url: https://developers.weixin.qq.com/miniprogram/dev/devtools/devtools.html
  type: IDESupport
- url: https://github.com/wechat-miniprogram/api-typings
  type: SDK