# Get the Mini Program
Through the background interface, you can obtain the Mini Program code of any page of the Mini Program, scan the Mini Program code can directly enter the corresponding page of the Mini Program, and all the generated Mini Program code is permanently valid and can be used with confidence. We recommend generating and using Mini Programs that are more recognizable and have the ability to demonstrate"Official Account message template"Other advanced capabilities. The generated Mini Program looks like this:
Developer tools can be used 1.02.1803130 And later versions through Toolbar - Custom compilation conditions - Compilation by QR code Function to debug the obtained Mini Program code
To meet different needs and scenarios, two interfaces are provided here, and developers can choose the interface that suits them.
- [interface A: For business scenarios that require a small number of codes](https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link /qr-code/getQRCode .html)
- Generate small code, acceptable path Parameters are long, the number of generated is limited, and the number limit is shown in Note, please use caution.
- [interface B: Suitable for business scenarios where a large number of codes are required](https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link /qr-code/getUnlimitedQRCode.html)
- Generate Mini Program code, acceptable page parameters are short, the number of generation is not limited.
# Get the mini program QR code (not recommended)
Through the background interface, you can get the Mini Program two-dimensional code of any page of the Mini Program, and the generated Mini Program two-dimensional code is as follows:
- [interface C: Suitable for business scenarios that require a small number of codes](https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link /qr-code/createQRCode.html)
- Generate QR code, acceptable path Parameters are long, the number of generated is limited, and the number limit is shown in Note。
# Get the Mini Program code (one thing one code)
WeChat one thing one code Support to generate small code. WeChat through the "one thing one code" interface issued two-dimensional code than ordinary link two-dimensional code more secure, support a smaller printing area, support to jump to the designated Mini Program page, and no limit on the number.
# Note
- Interface can only generate QR codes for published Mini Programs
- interface A Plus interface C, the total number of generated codes is limited to $100,000, please use caution.
- interface B Call minute frequency limit(5000 times/minute), if you need a lot of small code, it is recommended to pre-generate.