REST API
Use our REST API to generate barcodes on platforms we don't offer support for, or to build custom integrations.
Note that rate limits may apply for these endpoints. Abuse of these endpoints may result in traffic being blocked, and in extreme cases license keys being revoked
Barcodes
Generate QR codes and have the image returned to you in the format you specify.
Generate Barcode
GET
https://qrcodegenerator.api.littleappy.co/barcode
Creates and returns a barcode in the specified file format.
Query Parameters
Name | Type | Description |
---|---|---|
Content* | String | The URL encoded content to be embedded within the generated barcode, such as an SKU or text. This is what is displayed/used by barcode readers. |
License* | String | License key, required to avoid watermark and use paid license features. |
Type* | String | One of the following symbologies, used to generate the barcode: UPC-A, UPC-E, UPC Supplemental 2 Digit, UPC Supplemental 5 Digit, EAN-13, EAN8, Interleaved2Of5, Interleaved 2 Of 5 Mod 10, Standard 2 Of 5, Standard 2 Of 5 Mod 10, Industrial 2 Of 5, Industrial2Of5Mod10, Code 39, Code 39 Extended, Code 39 Mod43, Codabar, PostNet, Bookland, ISBN, JAN-13, MSI Mod 10, MSI 2 Mod10, MSI Mod 11, MSI Mod 11 Mod 10, ModifiedPlessey, Code11, USD-8, UCC 12, UCC 13, Logmars, Code 128, Code 128A, Code 128B, Code 128C, ITF 14, Code 93, Telepen, Fim and Pharmacode |
ForegroundColor | String | Default value: #000 The colour of the code pattern. Must be a valid HEX code. |
BackgroundColor | String | Default value: #FFF The colour of the code background. Must be a valid HEX code. |
IncludeLabel | Bool | Default value: false If true, show a human-readable label below the barcode, containing the value encoded within the barcode |
Format | String | Default value: JPG File format that the generated barcode will be in. Must be one of JPG, BMP, PNG, GIF, TIFF |
Width | Int | Specify an explicit width of the barcode. Otherwise a width is set based on the barcode content. Note that if the width specified is too small for the type of barcode symbology selected, you will receive an error |
Height | Int | Specify an explicit height of the barcode. Otherwise a height is set based on the barcode content. Note that if the height specified is too small for the type of barcode symbology selected, you will receive an error |
Last updated