Barcode API API Reference
Barcode APIs let you generate barcode images, and recognize values from images of barcodes.
Swagger OpenAPI Specification | .NET Framework Client | .NET Core Client | Java Client | Node.JS Client | Python Client | Drupal Client
API Endpoint
https://api.cloudmersive.com
Schemes: https
Version: v1
Authentication
Apikey
API Key Authentication
BarcodeLookup
Lookup EAN barcode value, return product data
Lookup an input EAN barcode and return key details about the product
Barcode value
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
"Successful": "boolean",
"Matches": [
{
"EAN": "string",
"Title": "string"
}
]
}
BarcodeScan
Scan and recognize an image of a barcode
Scan an image or photo of a barcode and return the result. Supported barcode types include AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMB
Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
Code Example:
OK
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
"Successful": "boolean",
"BarcodeType": "string",
"RawText": "string"
}
GenerateBarcode
Generate a QR code barcode as PNG file
Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
QR code text to convert into the QR code barcode
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"
Generate a UPC-A code barcode as PNG file
Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
UPC-A barcode value to generate from
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"
Generate a UPC-E code barcode as PNG file
Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
UPC-E barcode value to generate from
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"
Generate a EAN-13 code barcode as PNG file
Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
Barcode value to generate from
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"
Generate a EAN-8 code barcode as PNG file
Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
Barcode value to generate from
Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
OK
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"
Schema Definitions
BarcodeLookupResponse: object
Result of performing a barcode lookup
- Successful: boolean
-
True if operation was successful, false otherwise
- Matches: ProductMatch
-
Resulting product matches for the input barcode
-
ProductMatch
Example
{
"Successful": "boolean",
"Matches": [
{
"EAN": "string",
"Title": "string"
}
]
}
ProductMatch: object
Matching product for the input barcode
- EAN: string
-
EAN code for the product
- Title: string
-
Title of the product
Example
{
"EAN": "string",
"Title": "string"
}
BarcodeScanResult: object
Result of the barcode scan
- Successful: boolean
-
True if the operation was successful, false otherwise
- BarcodeType: string
-
The type of the barcode; possible values are AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMB
- RawText: string
-
The barcode text
Example
{
"Successful": "boolean",
"BarcodeType": "string",
"RawText": "string"
}