QR Code Generator API Documentation

Overview

The QR Code Generator API provides a simple way to generate QR codes with a high error correction level, ensuring high accuracy and readability even if the code is partially damaged or obscured.

Base URL

https://qr.clipurl.app/

Endpoint

/api.php?data=your_data_here&errorLevel=L&size=5

Usage

To generate a QR code, replace your_data_here with the data you want to encode in the QR code. The data can be any string, such as a URL, text message, or numerical code. Additionally, you can specify the error correction level and size using the errorLevel and size parameters respectively. If no errorLevel and size parameters are provided, the default values are 'H' for error correction level and 20 for size. The errorLevel parameter can be set to 'L', 'M', 'Q', or 'H', where 'L' has lower error correction and 'H' has the highest.

Example

To generate a QR code for the text "Hello World" with error correction level 'L' and size 5, use the following URL:

https://qr.clipurl.app/api.php?data=Hello%20World&errorLevel=L&size=5

To generate a QR code for the text "Hello World" with default settings (error correction level 'H' and size 20), use the following URL:

https://qr.clipurl.app/api.php?data=Hello%20World

Response

The response will be a QR code image corresponding to the provided data.

Encoding Data

Ensure that the data is properly URL-encoded to avoid errors. For example, spaces should be replaced with %20.

Limitations

The API is designed for simple QR code generation and may not support complex encoding options or large amounts of data.

Support

For any issues or questions regarding the API, please contact the API support team at support@teran.lk.