QR Code API- Developers Resource
Developers can integrate our QR Code API ( Application Programming Interface) into their web applications or mobile applications. Our QR Code API is free for personal or non-commercial use. For commercial use, the developers can contact us at www.upiqrcode.com/contact If you bave more than 5000 requests per day, please contact us, so we can assist you in making the service available without any interruption.
A Simple Request to QR Code API
Method : GET RequestParameter : qrtext
Value for Parameter : String
Minimum value for Parameter: 1
Maximum Size of Parameter : 500 Characters
Whether Mendatory: Yes
A simple request to the QR Code API can be made as:
https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!
The above request to our qr code api will generate a qr code without any customisation.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!" alt="" title=""/>
QR Code with Size Request to QR Code API
Note:Size in pixel, without px suffix, i.e. 200 , 300, 400 to maximum size 1000.Parameter : size
Value for Parameter : Number
Minimum Value:No size parameter for default size
Maximum Value:1000
Whether Mendatory: No
Sample request with QR Code Size
https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&size=150
The above request to our qr code api will generate a qr code with size.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&size=150" alt="" title=""/>
QR Code with Foreground Color Request to QR Code API
Note:Hex Color codes without # prefix i.e 922B21, 76448A, 6C3483, etcForeground Color Parameter
Parameter : front
Minimum Size : 6 Character Hex Code
Maximum Size : 6 Character Hex Code
Whether Mendatory: No
Sample request with Foreground Color
The above request to our qr code api will generate a qr code with specified foreground color code.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&front=922B21" alt="" title=""/>
QR Code with background Color Request to QR Code API
Note:Hex Color codes without # prefix i.e 922B21, 76448A, 6C3483, etcBackground Color Parameter
Parameter : back
Minimum Value for background Color : 6 Character Hex Code
Maximum Value for background Color : 6 Character Hex Code
Whether Mendatory: No
Sample request with Background Color
https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&back=922B21
The above request to our qr code api will generate a qr code with specified background color code.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&back=922B21" alt="" title=""/>
QR Code with background Color, Foreground Color & Size Request to QR Code API
Sample request with Background Color, Foreground Color & Sizehttps://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&back=922B21&front=76448A&size=150
The above request to our qr code api will generate a qr code with specified foreground color, background color code and size.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?qrtext=Hello%20World!&back=922B21&front=76448A&size=150" alt="" title=""/>
QR Code with Logo API
Sample request with Background Color, Foreground Color, Size & Logohttps://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&back=F5F111&front=6F2735&size=250&logo=https://www.upiqrcode.com/images/upi-qr-code.png
The above request to our qr code api will generate a qr code with specified foreground color, background color code and size.
You can embed the generated QR Code into you HTML page with
<img src="https://www.upiqrcode.com/qr-code-api/v10/?apikey=apikey&seckey=seckey&qrtext=Hello%20World!&back=F5F111&front=6F2735&size=250&logo=https://www.upiqrcode.com/images/upi-qr-code.png" alt="" title=""/>