# Getting Mini Program Code

The Mini Program code of any Mini Program page can be obtained via the backend API. Scan the Mini Program code to directly enter the corresponding page 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 DevTools 1.02.1803130 and later.

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

The Mini Program QR code of any Mini Program page can be obtained via the backend API. The generated Mini Program QR code is as follows:

# Notes

  1. APIs can only be used to generate the QR codes of published Mini Programs.
  2. The total number of codes generated via API A and API C is 100,000.
  3. The number of calls to the API B per minute is limited to 5000. If a large number of Mini Program codes are required, pre-generation is suggested.