QRCode API
You can create a QR code on the fly with a URL GET request.
Syntax
Root URL: https://kissapi-qrcode.vercel.app/api/qrcode?
QR code requests support the following URL query parameters after the ? in the root URL:
Parameter | Required or Optional | Description |
---|---|---|
cht=qr | Required | Specifies a QR code. |
chs=<width>x<height> | Required | Image size. |
chl=<data> | Required | The data to encode. Data can be digits (0-9), alphanumeric characters, binary bytes of data, or Kanji. You cannot mix data types within a QR code. The data must be UTF-8 URL-encoded. Note that URLs have a 2K maximum length, so if you want to encode more than 2K bytes (minus the other URL characters), you will have to send your data using POST. |
choe=<output_encoding> | Optional | How to encode the data in the QR code. Here are the available values:
|
chld=<error_correction_level>|<margin> | Optional |
|
Example
cht=qr
chl=Hello+world
choe=UTF-8
About
- Origin API is provided by Google Chart API
- Github Repo: https://github.com/doseeing/kissapi-qrcode