top of page

API Documentation

Create several Static QR Codes easily and add them to your Application.

Editable QR Code

Plug & Play

Encode data such as URLs, Text, vCards, WiFi, Phone Numbers, Email Addresses, and SMS in Static QR Codes.

Unlimited Storage

Bulk Generation

You can make as many as 10,000 QR Codes every day using the API. We have set limits on API requests.

Trackable QR Code

Tailor-Made

You can build QR Codes on your own system by writing scripts and making requests to the REST API.

Unique Dashboard

Multiple Formats

Produce high-resolution QR Codes in PNG, JPG, and SVG formats that are suited for use in print or online.

QR Code-pana.png
Custom QR Code

Custom Colors

Choose between the black-and-white format or get creative by printing QR Codes in your brand's colors.

https://www.qrcode-monkey.com/

Static QR Code API

Get Started On Your 14-Day Free Trial!

Please note that the Static QR Code API is exclusively available to subscribers of our Professional Plan.
If you're on our Free Plan and wish to use our Static QR Code API, you'll need to upgrade.
Please get in touch with us if you need further information.

Note: Static QR Code API access is only for our Professional Plan subscribers.

Anchor

Get started With Our Static QR Code API

To get a QR code graphic as a JPEG, PNG, or SVG image, send our system a GET request using the following:
https://www.api.live-qr.com/_functions/
qrFormat/qrSize/qrForegroundColor/qrBackgroundColor/qrContent(base64Encoded)

Request the following URL to test it out straight in your browser:
https://www.api.live-qr.com/_functions/png/200/000/fff/RXhhbXBsZQ==

As you can see, it's easy to embed a QR code in your (X)HTML documents by using the <img> tag. 
<img src="https://www.api.live-qr.com/_functions/png/200/000/fff/RXhhbXBsZQ=="/>
produces/shows the following QR code image with data: "Example"

RXhhbXBsZQ==.png

Example Code (JavaScript):

$w.onReady(function () {
    $w('#generateButton').onClick(() => {

        const qrFormat = $w('#qrFormat').value;

        const qrSize = $w('#qrSize').value;

        const qrForegroundColor = $w('#qrForegroundColor').value;
        const qrBackgroundColor = $w('#qrBackgroundColor').value;

        const qrContent = btoa(encodeURIComponent($w('#qrContent').value));
        $w('#qrImage').src = `https://www.api.live-qr.com/_functions/${qrFormat}/${qrSize}/${qrForegroundColor}/${qrBackgroundColor}/${qrContent}`;
    });
});

Parameters:

qrContent parameter:

The text to store within the QR code (base64 encoded).

Example:

data without base64Encoded: EARTH

data with base64Encoded: RUFSVEg=

Minimal charcount:
1


Maximal charcount:
1000


Best practice:
The shorter the better. We suggest using URL shorteners for very long URLs.

qrSize parameter:

Specifies the size of the QR code image you want to generate (in px for raster graphic formats like jpeg, png); as a logical unit for vector graphics (svg).

 

Format:
[integer]


Minimum value:
100 (if format=jpeg|png|svg)


Maximal value:
1000 (if format=jpeg|png|svg)


Valid examples:
100
200


Invalid examples:
90 (smaller than minimal scale)

2000 (greater than maximal scale)

qrForegroundColor parameter:
Color of the data modules as HEX value.

Format:
HEX value in short format (e.g. 000 for black) or long format (00000 for black).

 

Valid examples:
f00 (red),
ff0000 (red),
0f0 (green),
00ff00 (green),
00f (blue),
0000ff (blue),

 

Invalid examples:

255-0-0 (red),

0-255-0 (green),

0-0-255 (blue),
ffaab (hex value neither in short nor long format (3 respectively 6 letters)),

 

Best practice:
000 (black). Otherwise, a much darker color than the background color to get a good contrast. A helpful color may be found by looking for web colors.

qrBackgroundColor parameter:

Color of the data modules as HEX value.

Format:
HEX value in short format (e.g. fff for white) or long format (ffffff for white).


Valid examples:
f00 (red),
ff0000 (red),
0f0 (green),
00ff00 (green),
00f (blue),
0000ff (blue),


Invalid examples:

255-0-0 (red),

0-255-0 (green),

0-0-255 (blue),
ffaab (hex value neither in short nor long format (3 respectively 6 letters)),


Best practice:
fff (white). Otherwise, a much darker color than the background color to get a good contrast. A helpful color may be found by looking for web colors.

qrFormat parameter:
It is possible to create the QR code picture using different raster graphic formats, available are JPEG, PNG, and the vector graphic format SVG (for professional printing).

Possible values:

jpeg
png
svg


Invalid examples:
JPEG (wrong notation, everything uppercase instead of lowercase)
Png (wrong notation, first char is uppercase instead of lowercase)


Best practice:
For websites: png. JPEG was developed for natural pictures, its results are worse than PNG for line drawings and comparable contents.
For professional print usage: svg because vector-based graphics can be scaled by any amount without degrading quality.

bottom of page