# Getting Mini Program Code

The Mini Program code for any of the Mini Program's screens can be obtained via backend APIs. Scan the Mini Program code to directly enter the corresponding screen of the Mini Program. All generated Mini Program codes are permanently effective. We recommend generating and using a Mini Program code as it is highly recognizable and comes with advanced capabilities such as displaying "Component for Following Official Account". The generated Mini Program code is as follows:

The generated QR code can be debugged via the QR code compiling feature in the Weixin DevTools 1.02.1803130 and later.

Two APIs are provided for developers to address different needs and scenarios.

The Mini Program code for any of the Mini Program's screens can be obtained via a backend API. The generated Mini Program QR code is as follows:

# Notes

  1. APIs can only be used to generate QR codes of released Mini Programs.
  2. The total number of codes generated via API A and API C cannot exceed 100,000.
  3. The number of calls to API B per minute is limited to 5000. If a large number of Mini Program codes are required, pre-generation is suggested.
点击咨询小助手